Lines Matching refs:skgpu
36 static skgpu::graphite::ContextOptions graphiteOptions() { in graphiteOptions()
37 skgpu::graphite::ContextOptions options; in graphiteOptions()
44 const skgpu::VulkanBackendContext& vulkanBackendContext) { in MakeVulkan_Graphite()
46 skgpu::graphite::ContextFactory::MakeVulkan(vulkanBackendContext, graphiteOptions())); in MakeVulkan_Graphite()
49 GraphiteGpuContext::GraphiteGpuContext(std::unique_ptr<skgpu::graphite::Context> context) in GraphiteGpuContext()
52 LOG_ALWAYS_FATAL_IF(mContext->backend() != skgpu::BackendApi::kVulkan, in GraphiteGpuContext()
56 static_cast<int>(skgpu::BackendApi::kVulkan)); in GraphiteGpuContext()
60 skgpu::graphite::RecorderOptions recorderOptions = skgpu::graphite::RecorderOptions(); in GraphiteGpuContext()
69 mContext->submit(skgpu::graphite::SyncToCpu::kYes); in ~GraphiteGpuContext()
81 std::shared_ptr<skgpu::graphite::Context> GraphiteGpuContext::graphiteContext() { in graphiteContext()
85 std::shared_ptr<skgpu::graphite::Recorder> GraphiteGpuContext::graphiteRecorder() { in graphiteRecorder()
96 return SkSurfaces::RenderTarget(mRecorder.get(), imageInfo, skgpu::Mipmapped::kNo, kProps); in createRenderTarget()