Home
last modified time | relevance | path

Searched refs:SkiaGPUContext (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_gpu_context.cpp67 SkiaGPUContext::SkiaGPUContext() : grContext_(nullptr), skiaPersistentCache_(nullptr) {} in SkiaGPUContext() function in OHOS::Rosen::Drawing::SkiaGPUContext
133 void SkiaGPUContext::Flush() in Flush()
142 void SkiaGPUContext::FlushAndSubmit(bool syncCpu) in FlushAndSubmit()
151 void SkiaGPUContext::Submit() in Submit()
196 void SkiaGPUContext::FreeGpuResources() in FreeGpuResources()
283 void SkiaGPUContext::ResetContext() in ResetContext()
369 void SkiaGPUContext::StoreVkPipelineCacheData() in StoreVkPipelineCacheData()
379 void SkiaGPUContext::BeginFrame() in BeginFrame()
388 void SkiaGPUContext::EndFrame() in EndFrame()
434 SkiaGPUContext::contextPostMap_ = {};
[all …]
H A Dskia_gpu_context.h44 class SkiaGPUContext : public GPUContextImpl {
48 SkiaGPUContext();
49 ~SkiaGPUContext() override = default;
H A Dskia_image.cpp65 auto func = SkiaGPUContext::GetPostFunc(sk_ref_sp(context)); in PostSkImgToTargetThread()
123 auto grContext = gpuContext.GetImpl<SkiaGPUContext>()->GetGrContext(); in MakeFromYUVAPixmaps()
146 grContext_ = gpuContext.GetImpl<SkiaGPUContext>()->GetGrContext(); in BuildFromBitmap()
184 grContext_ = gpuContext.GetImpl<SkiaGPUContext>()->GetGrContext(); in BuildSubset()
197 grContext_ = gpuContext.GetImpl<SkiaGPUContext>()->GetGrContext(); in BuildFromCompressed()
224 grContext_ = gpuContext.GetImpl<SkiaGPUContext>()->GetGrContext(); in BuildFromTexture()
290 grContext_ = gpuContext.GetImpl<SkiaGPUContext>()->GetGrContext(); in BuildFromSurface()
353 return skiaImage_->isValid(context->GetImpl<SkiaGPUContext>()->GetGrContext().get()); in IsValid()
H A Dskia_surface.cpp74 auto skctx = ctx->GetImpl<SkiaGPUContext>(); in PostSkSurfaceToTargetThread()
82 auto func = SkiaGPUContext::GetPostFunc(grctx); in PostSkSurfaceToTargetThread()
149 auto skiaContext = frameBuffer.gpuContext->GetImpl<SkiaGPUContext>(); in Bind()
187 auto skiaGpuContext = gpuContext->GetImpl<SkiaGPUContext>(); in MakeFromBackendRenderTarget()
225 auto skiaGpuContext = gpuContext->GetImpl<SkiaGPUContext>(); in MakeFromBackendTexture()
274 auto skiaGpuContext = gpuContext->GetImpl<SkiaGPUContext>(); in MakeRenderTarget()
H A Dskia_runtime_shader_builder.cpp61 grContext->GetImpl<SkiaGPUContext>()->GetGrContext().get(), in MakeImage()
H A Dskia_impl_factory.cpp79 return std::make_unique<SkiaGPUContext>(); in CreateGPUContext()
H A Dskia_canvas.cpp133 gpuContext->GetImpl<SkiaGPUContext>()->SetGrContext(sk_ref_sp(grContext)); in GetGPUContext()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_gpu_context_test.cpp49 auto gpuContext = std::make_shared<SkiaGPUContext>();
63 auto gpuContext = std::make_shared<SkiaGPUContext>();
80 auto gpuContext = std::make_shared<SkiaGPUContext>();
98 auto gpuContext = std::make_shared<SkiaGPUContext>();
111 auto gpuContext = std::make_shared<SkiaGPUContext>();
125 auto gpuContext = std::make_shared<SkiaGPUContext>();
141 auto gpuContext = std::make_shared<SkiaGPUContext>();
154 auto gpuContext = std::make_shared<SkiaGPUContext>();
171 auto gpuContext = std::make_shared<SkiaGPUContext>();
189 auto gpuContext = std::make_shared<SkiaGPUContext>();
[all …]
H A Dskia_surface_test.cpp64 context.GetImpl<SkiaGPUContext>()->SetGrContext(GrDirectContext::MakeMock(&options));
H A Dskia_image_test.cpp111 context.GetImpl<SkiaGPUContext>()->SetGrContext(GrDirectContext::MakeMock(&options));
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/create_pixelmap_surface/src/
H A Dpixel_map_from_surface.cpp329 auto skiaGpuContext = gpuContext->GetImpl<Drawing::SkiaGPUContext>(); in CreateForGL()