Home
last modified time | relevance | path

Searched refs:drGPUContext_ (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/
H A Drender_context.cpp101 : drGPUContext_(nullptr), in RenderContext()
129 drGPUContext_ = nullptr; in ~RenderContext()
285 if (drGPUContext_ != nullptr) { in SetUpGpuContext()
307 drGPUContext_ = std::move(drGPUContext); in SetUpGpuContext()
317 drGPUContext_ = std::move(drGPUContext); in SetUpGpuContext()
330 if (drGPUContext_ == nullptr) { in AbandonContext()
334 drGPUContext_->FlushAndSubmit(true); in AbandonContext()
335 drGPUContext_->PurgeUnlockAndSafeCacheGpuResources(); in AbandonContext()
374 bufferInfo.gpuContext = drGPUContext_; in AcquireSurface()
475 if (drGPUContext_ != nullptr) { in ClearRedundantResources()
[all …]
H A Drender_context.h49 return drGPUContext_.get(); in GetDrGPUContext()
54 return drGPUContext_; in GetSharedDrGPUContext()
147 std::shared_ptr<Drawing::GPUContext> drGPUContext_ = nullptr;
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/
H A Dgles_render_backend.cpp87 if (drGPUContext_ != nullptr) { in SetUpDrContext()
99 drGPUContext_ = std::move(drGPUContext); in SetUpDrContext()
222 bufferInfo.gpuContext = drGPUContext_; in AcquireDrCanvas()
H A Dgles_render_backend.h75 std::shared_ptr<Drawing::GPUContext> drGPUContext_ = nullptr; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/offscreen_render/
H A Drs_offscreen_render_thread_test.cpp103 thread->renderContext_->drGPUContext_ = nullptr;
108 thread->renderContext_->drGPUContext_ = drGPUContext;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/backend/
H A Drs_surface_frame_ohos_gl_test.cpp196 renderContextTest1.drGPUContext_ = drGPUContextTest1;
209 renderContextTest2.drGPUContext_ = drGPUContextTest2;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_uni_render_thread_test.cpp270 …instance.uniRenderEngine_->renderContext_->drGPUContext_ = std::make_shared<Drawing::GPUContext>();
352 …instance.uniRenderEngine_->renderContext_->drGPUContext_ = std::make_shared<Drawing::GPUContext>();
521 instance.GetRenderEngine()->GetRenderContext()->drGPUContext_ = nullptr;