/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/ |
H A D | render_context.cpp | 27 bool RenderContext::Create(RenderContext *sharedContext)
in Create() argument 36 context_ = eglCreateContext(display_, EGL_NO_CONFIG_KHR, sharedContext, attribList);
in Create()
|
H A D | render_context.h | 34 virtual bool Create(RenderContext *sharedContext);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_canvas_render_node_test.cpp | 249 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 D | rs_surface_render_node_two_test.cpp | 351 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 D | rs_display_render_node_test.cpp | 315 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 D | rs_canvas_drawing_render_node_test.cpp | 278 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 D | wgl_state.cpp | 424 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 D | egl_state.cpp | 587 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 D | rs_uni_ui_capture.cpp | 246 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 D | intf_device_gles.h | 52 EGLContext sharedContext { EGL_NO_CONTEXT }; 241 HGLRC sharedContext { nullptr };
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/ |
H A D | rs_canvas_drawing_render_node_drawable.cpp | 352 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 D | rs_ui_first_surface_render_node_drawable.cpp | 205 SharedTextureContext* sharedContext = new SharedTextureContext(completeImage); in GetCompletedImage() local 210 origin, info, nullptr, SKResourceManager::DeleteSharedTextureContext, sharedContext); in GetCompletedImage()
|
H A D | rs_render_node_drawable.cpp | 603 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 D | rs_magic_pointer_render_manager.cpp | 316 SharedTextureContext* sharedContext = new SharedTextureContext(image_); 319 SKResourceManager::DeleteSharedTextureContext, sharedContext);
|
/foundation/graphic/graphic_3d/3d_scene_adapter/src/ |
H A D | scene_adapter.cpp | 241 glExtra.sharedContext = EGL_NO_CONTEXT; in InitEngine()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ui_content_impl.cpp | 1214 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 D | ace_container.cpp | 3241 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 D | lume_common.cpp | 250 glesExtra.sharedContext = gfxContext; in CreateRenderContext()
|