/ohos5.0/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/ |
H A D | render_context.cpp | 28 bool RenderContext::Create(RenderContext *sharedContext) in Create() argument 38 context_ = eglCreateContext(display_, EGL_NO_CONFIG_KHR, sharedContext, attribList); in Create()
|
H A D | render_context.h | 34 virtual bool Create(RenderContext *sharedContext);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_canvas_render_node_test.cpp | 279 std::shared_ptr<RSContext> sharedContext(rsContext); 280 std::weak_ptr<RSRenderNode> parent = std::make_shared<RSRenderNode>(1, sharedContext); 304 auto sharedContext = std::make_shared<RSContext>(); variable 305 auto rSCanvasRenderNodeParent = std::make_shared<RSCanvasRenderNode>(nodeId + 1, sharedContext);
|
H A D | rs_surface_render_node_two_test.cpp | 319 std::shared_ptr<RSContext> sharedContext = std::make_shared<RSContext>(); variable 320 renderNode->context_ = sharedContext; 337 sharedContext = nullptr; 338 renderNode->context_ = sharedContext; 390 std::shared_ptr<RSContext> sharedContext = std::make_shared<RSContext>(); variable 392 parentNode->context_ = sharedContext; 509 std::shared_ptr<RSContext> sharedContext = std::make_shared<RSContext>(); variable 510 renderNode->context_ = sharedContext; 513 EXPECT_TRUE(sharedContext != nullptr);
|
H A D | rs_display_render_node_test.cpp | 315 std::shared_ptr<RSContext> sharedContext(rsContext); 316 std::shared_ptr<RSBaseRenderNode> node = std::make_shared<RSRenderNode>(1, sharedContext);
|
H A D | rs_canvas_drawing_render_node_test.cpp | 278 std::shared_ptr<RSContext> sharedContext = std::make_shared<RSContext>(); variable 279 std::weak_ptr<RSContext> context = sharedContext;
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
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.da… 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()
|
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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/ |
H A D | rs_canvas_drawing_render_node_drawable.cpp | 281 SharedTextureContext* sharedContext = new SharedTextureContext(image_); // last image in FlushForGL() local 285 info, nullptr, SKResourceManager::DeleteSharedTextureContext, sharedContext); in FlushForGL() 557 SharedTextureContext* sharedContext = new SharedTextureContext(image_); in DrawCaptureImage() local 560 nullptr, SKResourceManager::DeleteSharedTextureContext, sharedContext); in DrawCaptureImage() 768 SharedTextureContext* sharedContext = new SharedTextureContext(image_); // will move image in ResetSurfaceWithTexture() local 771 … origin, bitmapFormat, nullptr, SKResourceManager::DeleteSharedTextureContext, sharedContext)) { in ResetSurfaceWithTexture()
|
H A D | rs_ui_first_surface_render_node_drawable.cpp | 204 SharedTextureContext* sharedContext = new SharedTextureContext(completeImage); in GetCompletedImage() local 209 origin, info, nullptr, SKResourceManager::DeleteSharedTextureContext, sharedContext); in GetCompletedImage()
|
H A D | rs_render_node_drawable.cpp | 597 … SharedTextureContext* sharedContext = new SharedTextureContext(cachedImage_); // will move image in GetCachedImage() local 600 origin, info, nullptr, DeleteSharedTextureContext, sharedContext); in GetCachedImage()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_uni_ui_capture.cpp | 261 std::shared_ptr<Drawing::GPUContext> sharedContext = nullptr; in SetCanvas() local 263 … sharedContext = RSOffscreenRenderThread::Instance().GetRenderContext()->GetSharedDrGPUContext(); in SetCanvas() 265 …sharedContext = RSMainThread::Instance()->GetRenderEngine()->GetRenderContext()->GetSharedDrGPUCon… in SetCanvas() 267 canvas->SetGrRecordingContext(sharedContext); in SetCanvas()
|
/ohos5.0/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 };
|
/ohos5.0/base/print/print_fwk/frameworks/ohprint/src/ |
H A D | print_capi.cpp | 92 auto sharedContext = weakContext->lock(); in GetUIContent() local 94 … OHOS::AbilityRuntime::Context::ConvertTo<OHOS::AbilityRuntime::AbilityContext>(sharedContext); in GetUIContent() 100 … OHOS::AbilityRuntime::Context::ConvertTo<OHOS::AbilityRuntime::UIExtensionContext>(sharedContext); in GetUIContent()
|
/ohos5.0/docs/zh-cn/application-dev/faqs/ |
H A D | faqs-graphics.md | 130 可以使用sharedContext,实现EGL在子线程中操作。另外绘制操作可通过调用OpenGL实现。
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/pointer_render/ |
H A D | rs_pointer_render_manager.cpp | 318 SharedTextureContext* sharedContext = new SharedTextureContext(image_); in RunColorPickerTaskBackground() local 321 SKResourceManager::DeleteSharedTextureContext, sharedContext); in RunColorPickerTaskBackground()
|
/ohos5.0/foundation/graphic/graphic_3d/3d_scene_adapter/src/ |
H A D | scene_adapter.cpp | 241 glExtra.sharedContext = EGL_NO_CONTEXT; in InitEngine()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ui_content_impl.cpp | 1266 auto sharedContext = context.lock(); in CommonInitializeForm() local 1267 CHECK_NULL_VOID(sharedContext); in CommonInitializeForm() 1269 … OHOS::AbilityRuntime::Context::ConvertTo<OHOS::AbilityRuntime::AbilityContext>(sharedContext); in CommonInitializeForm() 1819 auto sharedContext = context.lock(); in CommonInitialize() local 1820 CHECK_NULL_VOID(sharedContext); in CommonInitialize() 1822 … OHOS::AbilityRuntime::Context::ConvertTo<OHOS::AbilityRuntime::AbilityContext>(sharedContext); in CommonInitialize() 1889 auto sharedContext = context.lock(); in CommonInitialize() local 1890 CHECK_NULL_VOID(sharedContext); in CommonInitialize() 1892 … OHOS::AbilityRuntime::Context::ConvertTo<OHOS::AbilityRuntime::AbilityContext>(sharedContext); in CommonInitialize()
|
H A D | ace_container.cpp | 3329 auto sharedContext = runtimeContext_.lock(); in TerminateUIExtension() local 3330 …ionContext = AbilityRuntime::Context::ConvertTo<AbilityRuntime::UIExtensionContext>(sharedContext); in TerminateUIExtension()
|
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/ |
H A D | lume_common.cpp | 250 glesExtra.sharedContext = gfxContext; in CreateRenderContext()
|