Home
last modified time | relevance | path

Searched refs:drGPUContext (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/offscreen_render/
H A Drs_offscreen_render_thread_test.cpp106 std::shared_ptr<Drawing::GPUContext> drGPUContext = std::make_shared<Drawing::GPUContext>(); variable
107 EXPECT_NE(drGPUContext, nullptr);
108 thread->renderContext_->drGPUContext_ = drGPUContext;
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/
H A Dgles_render_backend.cpp94 auto drGPUContext = std::make_shared<Drawing::GPUContext>(); in SetUpDrContext() local
95 if (!drGPUContext->BuildFromGL(options)) { in SetUpDrContext()
99 drGPUContext_ = std::move(drGPUContext); in SetUpDrContext()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_test_util.cpp55 auto drGPUContext = std::make_shared<Drawing::GPUContext>(); in CreateSurfaceNodeWithBuffer() local
56 rsSurfaceRenderNode->SetDrawingGPUContext(drGPUContext.get()); in CreateSurfaceNodeWithBuffer()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/
H A Drender_context.cpp302 auto drGPUContext = std::make_shared<Drawing::GPUContext>(); in SetUpGpuContext() local
303 if (!drGPUContext->BuildFromGL(options)) { in SetUpGpuContext()
307 drGPUContext_ = std::move(drGPUContext); in SetUpGpuContext()
316 std::shared_ptr<Drawing::GPUContext> drGPUContext(drawingContext); in SetUpGpuContext() local
317 drGPUContext_ = std::move(drGPUContext); in SetUpGpuContext()