Home
last modified time | relevance | path

Searched refs:sharedContext (Results 1 - 18 of 18) sorted by relevance

/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/
H A Drender_context.cpp27 bool RenderContext::Create(RenderContext *sharedContext) in Create() argument
36 context_ = eglCreateContext(display_, EGL_NO_CONFIG_KHR, sharedContext, attribList); in Create()
H A Drender_context.h34 virtual bool Create(RenderContext *sharedContext);
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_canvas_render_node_test.cpp249 std::shared_ptr<RSContext> sharedContext(rsContext); in HWTEST_F()
250 std::weak_ptr<RSRenderNode> parent = std::make_shared<RSRenderNode>(1, sharedContext); in HWTEST_F()
274 auto sharedContext = std::make_shared<RSContext>(); in HWTEST_F() local
275 auto rSCanvasRenderNodeParent = std::make_shared<RSCanvasRenderNode>(nodeId + 1, sharedContext); in HWTEST_F()
H A Drs_surface_render_node_two_test.cpp351 std::shared_ptr<RSContext> sharedContext = std::make_shared<RSContext>(); in HWTEST_F() local
352 renderNode->context_ = sharedContext; in HWTEST_F()
369 sharedContext = nullptr; in HWTEST_F()
370 renderNode->context_ = sharedContext; in HWTEST_F()
422 std::shared_ptr<RSContext> sharedContext = std::make_shared<RSContext>(); in HWTEST_F() local
424 parentNode->context_ = sharedContext; in HWTEST_F()
541 std::shared_ptr<RSContext> sharedContext = std::make_shared<RSContext>(); in HWTEST_F() local
542 renderNode->context_ = sharedContext; in HWTEST_F()
545 EXPECT_TRUE(sharedContext != nullptr); in HWTEST_F()
H A Drs_display_render_node_test.cpp315 std::shared_ptr<RSContext> sharedContext(rsContext); in HWTEST_F()
316 std::shared_ptr<RSBaseRenderNode> node = std::make_shared<RSRenderNode>(1, sharedContext); in HWTEST_F()
H A Drs_canvas_drawing_render_node_test.cpp278 std::shared_ptr<RSContext> sharedContext = std::make_shared<RSContext>(); in HWTEST_F() local
279 std::weak_ptr<RSContext> context = sharedContext; in HWTEST_F()
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dwgl_state.cpp424 HGLRC sharedContext = nullptr; in CreateContext() local
427 sharedContext = backendConfig->sharedContext; in CreateContext()
487 plat_.context = wglCreateContextAttribsARB(plat_.display, sharedContext, WGL_ATTRIBS); in CreateContext()
H A Degl_state.cpp587 EGLContext sharedContext = EGL_NO_CONTEXT; in CreateContext() local
589 sharedContext = backendConfig->sharedContext; in CreateContext()
591 plat_.context = eglCreateContext(plat_.display, plat_.config, sharedContext, context_attributes.data()); in CreateContext()
674 const EGLContext sharedContext = backendConfig ? backendConfig->sharedContext : EGL_NO_CONTEXT; in CreateContext() local
675 if (appContext == EGL_NO_CONTEXT && sharedContext == EGL_NO_CONTEXT) { in CreateContext()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_ui_capture.cpp246 std::shared_ptr<Drawing::GPUContext> sharedContext = nullptr; in SetCanvas() local
248 sharedContext = RSOffscreenRenderThread::Instance().GetRenderContext()->GetSharedDrGPUContext(); in SetCanvas()
250 sharedContext = RSMainThread::Instance()->GetRenderEngine()->GetRenderContext()->GetSharedDrGPUContext(); in SetCanvas()
252 canvas->SetGrRecordingContext(sharedContext); in SetCanvas()
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/gles/
H A Dintf_device_gles.h52 EGLContext sharedContext { EGL_NO_CONTEXT };
241 HGLRC sharedContext { nullptr };
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_canvas_drawing_render_node_drawable.cpp352 SharedTextureContext* sharedContext = new SharedTextureContext(image_); // last image in FlushForGL() local
356 info, nullptr, SKResourceManager::DeleteSharedTextureContext, sharedContext); in FlushForGL()
629 SharedTextureContext* sharedContext = new SharedTextureContext(image_); in DrawCaptureImage() local
632 nullptr, SKResourceManager::DeleteSharedTextureContext, sharedContext); in DrawCaptureImage()
985 SharedTextureContext* sharedContext = new SharedTextureContext(image_); // will move image in ResetSurfaceWithTexture() local
988 origin, bitmapFormat, nullptr, SKResourceManager::DeleteSharedTextureContext, sharedContext)) { in ResetSurfaceWithTexture()
H A Drs_ui_first_surface_render_node_drawable.cpp205 SharedTextureContext* sharedContext = new SharedTextureContext(completeImage); in GetCompletedImage() local
210 origin, info, nullptr, SKResourceManager::DeleteSharedTextureContext, sharedContext); in GetCompletedImage()
H A Drs_render_node_drawable.cpp603 SharedTextureContext* sharedContext = new SharedTextureContext(cachedImage_); // will move image in GetCachedImage() local
606 origin, info, nullptr, DeleteSharedTextureContext, sharedContext); in GetCachedImage()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/magic_pointer_render/
H A Drs_magic_pointer_render_manager.cpp316 SharedTextureContext* sharedContext = new SharedTextureContext(image_);
319 SKResourceManager::DeleteSharedTextureContext, sharedContext);
/foundation/graphic/graphic_3d/3d_scene_adapter/src/
H A Dscene_adapter.cpp241 glExtra.sharedContext = EGL_NO_CONTEXT; in InitEngine()
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dui_content_impl.cpp1214 auto sharedContext = context.lock(); in CommonInitializeForm()
1215 CHECK_NULL_VOID(sharedContext); in CommonInitializeForm()
1217 OHOS::AbilityRuntime::Context::ConvertTo<OHOS::AbilityRuntime::AbilityContext>(sharedContext); in CommonInitializeForm()
1767 auto sharedContext = context.lock(); in CommonInitialize()
1768 CHECK_NULL_VOID(sharedContext); in CommonInitialize()
1770 OHOS::AbilityRuntime::Context::ConvertTo<OHOS::AbilityRuntime::AbilityContext>(sharedContext); in CommonInitialize()
1836 auto sharedContext = context.lock(); in CommonInitialize()
1837 CHECK_NULL_VOID(sharedContext); in CommonInitialize()
1839 OHOS::AbilityRuntime::Context::ConvertTo<OHOS::AbilityRuntime::AbilityContext>(sharedContext); in CommonInitialize()
H A Dace_container.cpp3241 auto sharedContext = runtimeContext_.lock(); in TerminateUIExtension() local
3242 auto uiExtensionContext = AbilityRuntime::Context::ConvertTo<AbilityRuntime::UIExtensionContext>(sharedContext); in TerminateUIExtension()
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/
H A Dlume_common.cpp250 glesExtra.sharedContext = gfxContext; in CreateRenderContext()

Completed in 31 milliseconds