Home
last modified time | relevance | path

Searched refs:glInterface (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/
H A Dgles_render_backend.cpp55 sk_sp<const GrGLInterface> glInterface(GrGLCreateNativeInterface()); in SetUpGrContext() local
56 if (glInterface.get() == nullptr) { in SetUpGrContext()
68 sk_sp<GrDirectContext> grContext(GrDirectContext::MakeGL(std::move(glInterface), options)); in SetUpGrContext()
74 sk_sp<GrContext> grContext(GrContext::MakeGL(std::move(glInterface), options)); in SetUpGrContext()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/egl_image/src/
H A Drender_context.cpp130 sk_sp<const GrGLInterface> glInterface(GrGLCreateNativeInterface()); in InitGrContext() local
131 if (glInterface == nullptr) { in InitGrContext()
140 grContext_ = GrDirectContext::MakeGL(std::move(glInterface), options); in InitGrContext()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/skia_effectChain/src/
H A Dsk_image_chain.cpp128 sk_sp<const GrGLInterface> glInterface(GrGLCreateNativeInterface()); in CreateGPUCanvas() local
130 sk_sp<GrDirectContext> grContext(GrDirectContext::MakeGL(std::move(glInterface))); in CreateGPUCanvas()
132 sk_sp<GrContext> grContext(GrContext::MakeGL(std::move(glInterface))); in CreateGPUCanvas()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_gpu_context.cpp81 sk_sp<const GrGLInterface> glInterface(GrGLCreateNativeInterface()); in BuildFromGL() local
95 grContext_ = GrDirectContext::MakeGL(std::move(glInterface), grOptions); in BuildFromGL()