Home
last modified time | relevance | path

Searched refs:drContext_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/drawing_surface/
H A Dsurface_ohos_vulkan.cpp176 if (drContext_ == nullptr) { in NativeRequestFrame()
177 drContext_ = RsVulkanContext::GetSingleton().CreateDrawingContext(); in NativeRequestFrame()
179 if (!drContext_) { in NativeRequestFrame()
197 drContext_, nativeWindowBuffer, nativeSurface, width, height)) { in NativeRequestFrame()
264 if (!drContext_) { in NativeFlushFrame()
295 drContext_->Submit(); in NativeFlushFrame()
300 if (vkContext.GetHardWareGrContext().get() == drContext_.get()) { in NativeFlushFrame()
H A Dsurface_ohos_vulkan.h62 std::shared_ptr<Drawing::GPUContext> drContext_; variable