Home
last modified time | relevance | path

Searched defs:grContext (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/parallel_render/resource/
H A Drs_resource_helper_drawing.cpp33 auto grContext = instance.GetShareGrContext(); in UploadTextureWithDrawing() local
H A Drs_resource_helper_skia.cpp35 auto grContext = instance.GetShareGrContext().get(); in UploadTextureWithSkia() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/
H A Dgles_render_backend.cpp68 sk_sp<GrDirectContext> grContext(GrDirectContext::MakeGL(std::move(glInterface), options)); in SetUpGrContext() local
74 sk_sp<GrContext> grContext(GrContext::MakeGL(std::move(glInterface), options)); in SetUpGrContext() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/skia_effectChain/src/
H A Dsk_image_chain.cpp130 sk_sp<GrDirectContext> grContext(GrDirectContext::MakeGL(std::move(glInterface))); in CreateGPUCanvas() local
132 sk_sp<GrContext> grContext(GrContext::MakeGL(std::move(glInterface))); in CreateGPUCanvas() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/offscreen_render/
H A Drs_offscreen_render_thread.cpp110 auto grContext = renderContext_->GetDrGPUContext(); in CleanGrResource() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_surface.cpp113 auto grContext = skiaImageImpl->GetGrContext(); in Bind() local
185 sk_sp<GrDirectContext> grContext = nullptr; in MakeFromBackendRenderTarget() local
223 sk_sp<GrDirectContext> grContext = nullptr; in MakeFromBackendTexture() local
272 sk_sp<GrDirectContext> grContext = nullptr; in MakeRenderTarget() local
H A Dskia_gpu_context.cpp346 void SkiaGPUContext::SetGrContext(const sk_sp<GrDirectContext>& grContext) in SetGrContext()
444 …d(const std::function<void()>& task)> SkiaGPUContext::GetPostFunc(sk_sp<GrDirectContext> grContext) in GetPostFunc()
H A Dskia_runtime_shader_builder.cpp54 std::shared_ptr<Image> SkiaRuntimeShaderBuilder::MakeImage(GPUContext* grContext, const Matrix* loc… in MakeImage()
H A Dskia_image.cpp123 auto grContext = gpuContext.GetImpl<SkiaGPUContext>()->GetGrContext(); in MakeFromYUVAPixmaps() local
H A Dskia_canvas.cpp130 auto grContext = GrAsDirectContext(skCanvas_->recordingContext()); in GetGPUContext() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_ui_capture_task_parallel.cpp169 auto grContext = renderContext != nullptr ? renderContext->GetDrGPUContext() : nullptr; in Run() local
340 auto grContext = RSBackgroundThread::Instance().GetShareGPUContext(); in CreateSurfaceSyncCopyTask() local
H A Drs_uni_render_thread.cpp159 auto grContext = renderContext->GetDrGPUContext(); in InitGrContext() local
806 auto grContext = renderContext->GetDrGPUContext(); in PostClearMemoryTask() local
909 auto grContext = renderContext->GetDrGPUContext(); in PurgeCacheBetweenFrames() local
930 auto grContext = renderContext->GetDrGPUContext(); in FlushGpuMemoryInWaitQueueBetweenFrames() local
949 auto grContext = renderContext->GetDrGPUContext(); in SuppressGpuCacheBelowCertainRatioBetweenFrames() local
H A Drs_surface_capture_task.cpp87 …Drawing::GPUContext* grContext = renderContext != nullptr ? renderContext->GetDrGPUContext() : nul… in Run() local
H A Drs_surface_capture_task_parallel.cpp443 auto grContext = RSBackgroundThread::Instance().GetShareGPUContext(); in CreateSurfaceSyncCopyTask() local
H A Drs_uni_render_util.cpp1736 Drawing::GPUContext* const grContext, bool optFenceWait) in OptimizedFlushAndSubmit()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render_backend/
H A Ddrawing_context.cpp92 GrDirectContext* grContext = GetDrawingContext(); in AcquireSurfaceInGLES() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/render_context/
H A Drender_context_test.cpp92 bool grContext = renderContext.SetUpGpuContext(); variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_canvas_drawing_render_node_drawable.cpp406 Drawing::Bitmap RSCanvasDrawingRenderNodeDrawable::GetBitmap(Drawing::GPUContext* grContext) in GetBitmap()
461 std::shared_ptr<Drawing::GPUContext> grContext; in GetPixelmap() local
708 …DrawingRenderNodeDrawable::GetCurrentContextAndImage(std::shared_ptr<Drawing::GPUContext>& grConte… in GetCurrentContextAndImage()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/create_pixelmap_surface/src/
H A Dpixel_map_from_surface.cpp280 sk_sp<GrDirectContext> grContext, const OHOS::Media::Rect &srcRect) in CreatePixelMapForGL()
328 sk_sp<GrDirectContext> grContext = nullptr; in CreateForGL() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
H A Drs_surface_darwin.cpp171 auto grContext = std::make_shared<Drawing::GPUContext>(); in SetupGrContext() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/
H A Drs_surface_windows.cpp173 auto grContext = std::make_shared<Drawing::GPUContext>(); in SetupGrContext() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/
H A Drs_canvas_drawing_render_node_drawable_test.cpp368 Drawing::GPUContext* grContext = nullptr; variable
542 std::shared_ptr<Drawing::GPUContext> grContext; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/parallel_render/
H A Drs_sub_thread_test.cpp182 auto grContext = std::make_shared<Drawing::GPUContext>(); variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/memory/
H A Drs_memory_manager.cpp160 void MemoryManager::ReleaseUnlockGpuResource(Drawing::GPUContext* grContext, NodeId surfaceNodeId) in ReleaseUnlockGpuResource()
168 void MemoryManager::ReleaseUnlockGpuResource(Drawing::GPUContext* grContext, pid_t pid) in ReleaseUnlockGpuResource()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_surface_render_node.h915 void SetDrawingGPUContext(Drawing::GPUContext* grContext) in SetDrawingGPUContext()

12