Home
last modified time | relevance | path

Searched refs:EGLContext (Results 1 – 25 of 72) sorted by relevance

123

/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/fuzztest/eglwrapperdisplay_fuzzer/
H A Deglwrapperdisplay_fuzzer.cpp69 EGLContext ctx1 = GetData<EGLContext>(); in DoSomethingInterestingWithMyAPI()
76 EGLContext ctx2 = GetData<EGLContext>(); in DoSomethingInterestingWithMyAPI()
79 EGLContext shareList1 = GetData<EGLContext>(); in DoSomethingInterestingWithMyAPI()
84 EGLContext context1 = GetData<EGLContext>(); in DoSomethingInterestingWithMyAPI()
97 EGLContext ctx3 = GetData<EGLContext>(); in DoSomethingInterestingWithMyAPI()
115 EGLContext ctx4 = GetData<EGLContext>(); in DoSomethingInterestingWithMyAPI()
129 EGLContext ctx5 = GetData<EGLContext>(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/
H A Drender_context.h69 void MakeCurrent(EGLSurface surface, EGLContext context = EGL_NO_CONTEXT);
77 void ShareMakeCurrent(EGLContext shareContext);
78 void ShareMakeCurrentNoSurface(EGLContext shareContext);
79 void SetAndMakeCurrentShareContex(EGLContext shareContext);
86 EGLContext GetEGLContext() const in GetEGLContext()
137 EGLContext CreateShareContext();
142 static const EGLContext GetResourceContext();
153 EGLContext eglContext_ = EGL_NO_CONTEXT;
159 static EGLContext resourceContext;
H A Drender_context_egl_defines.h22 typedef void *EGLContext; typedef
36 #define EGL_NO_CONTEXT EGL_CAST(EGLContext, 0)
H A Drender_context.cpp201 void RenderContext::MakeCurrent(EGLSurface surface, EGLContext context) in MakeCurrent()
215 void RenderContext::SetAndMakeCurrentShareContex(EGLContext shareContext) in SetAndMakeCurrentShareContex()
221 void RenderContext::ShareMakeCurrent(EGLContext shareContext) in ShareMakeCurrent()
226 void RenderContext::ShareMakeCurrentNoSurface(EGLContext shareContext) in ShareMakeCurrentNoSurface()
236 EGLContext RenderContext::CreateShareContext() in CreateShareContext()
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/include/
H A Doffscreen_context_helper.h28 EGLContext c_ = EGL_NO_CONTEXT;
38 EGLContext CreateOffScreenContext(EGLContext eglContext);
39 EGLContext GetOffScreenContext();
45 EGLContext localThreadContext_ = EGL_NO_CONTEXT;
H A Dgraphics_manager_common.h51 EGLContext GetOrCreateOffScreenContext(EGLContext eglContext);
68 bool InitEngine(EGLContext eglContext, PlatformData data);
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/
H A Degl_wrapper_display.h35 EGLBoolean MakeCurrent(EGLSurface draw, EGLSurface read, EGLContext ctx);
37 EGLBoolean MakeCurrentAfterHook(EGLSurface draw, EGLSurface read, EGLContext ctx);
42 static bool ValidateEglContext(EGLContext ctx);
44 EGLContext CreateEglContext(EGLConfig config, EGLContext shareList, const EGLint *attribList);
46 EGLBoolean DestroyEglContext(EGLContext context);
84 EGLBoolean QueryContext(EGLContext ctx, EGLint attribute, EGLint *value);
92 EGLImage CreateImage(EGLContext ctx, EGLenum target,
102 EGLImageKHR CreateImageKHR(EGLContext ctx, EGLenum target,
H A Degl_wrapper_context.h27 EglWrapperContext(EglWrapperDisplay *disp, EGLContext context,
31 static EglWrapperContext *GetWrapperContext(EGLContext ctx);
32 inline EGLContext GetEglContext() const in GetEglContext()
43 EGLContext context_;
H A Degl_wrapper_display.cpp163 EGLContext actualCtx = EGL_NO_CONTEXT; in InternalMakeCurrent()
281 EGLContext curC = ThreadPrivateDataCtl::GetContext(); in MakeCurrentAfterHook()
392 bool EglWrapperDisplay::ValidateEglContext(EGLContext ctx) in ValidateEglContext()
421 EGLContext EglWrapperDisplay::CreateEglContext(EGLConfig config, EGLContext shareList, const EGLint… in CreateEglContext()
426 EGLContext shareCtx = EGL_NO_CONTEXT; in CreateEglContext()
456 EGLBoolean EglWrapperDisplay::DestroyEglContext(EGLContext context) in DestroyEglContext()
467 EGLContext ctx = ctxPtr->GetEglContext(); in DestroyEglContext()
804 EGLImage EglWrapperDisplay::CreateImage(EGLContext ctx, EGLenum target, in CreateImage()
810 EGLContext actualCtx = EGL_NO_CONTEXT; in CreateImage()
947 EGLImageKHR EglWrapperDisplay::CreateImageKHR(EGLContext ctx, EGLenum target, in CreateImageKHR()
[all …]
H A Degl_wrapper_context.cpp19 EglWrapperContext::EglWrapperContext(EglWrapperDisplay *disp, EGLContext context, EGLint version) in EglWrapperContext()
40 EglWrapperContext *EglWrapperContext::GetWrapperContext(EGLContext ctx) in GetWrapperContext()
H A Degl_wrapper_entry.cpp103 EGLContext EglCreateContextImpl(EGLDisplay dpy, EGLConfig config, in EglCreateContextImpl()
104 EGLContext shareList, const EGLint *attribList) in EglCreateContextImpl()
155 EGLBoolean EglDestroyContextImpl(EGLDisplay dpy, EGLContext ctx) in EglDestroyContextImpl()
228 EGLContext ctx = ThreadPrivateDataCtl::GetContext(); in EglGetCurrentDisplayImpl()
244 EGLContext ctx = ThreadPrivateDataCtl::GetContext(); in EglGetCurrentSurfaceImpl()
363 EGLSurface read, EGLContext ctx) in EglMakeCurrentImpl()
375 EGLBoolean EglQueryContextImpl(EGLDisplay dpy, EGLContext ctx, in EglQueryContextImpl()
637 EGLContext EglGetCurrentContextImpl(void) in EglGetCurrentContextImpl()
640 EGLContext ctx = ThreadPrivateDataCtl::GetContext(); in EglGetCurrentContextImpl()
734 EGLImage EglCreateImageImpl(EGLDisplay dpy, EGLContext ctx, in EglCreateImageImpl()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_shared_context.h26 typedef void* EGLContext; typedef
33 static std::shared_ptr<RSSharedContext> MakeSharedGLContext(EGLContext context);
40 RSSharedContext(EGLDisplay display, EGLContext context, EGLSurface surface) in RSSharedContext()
44 EGLContext context_ = nullptr;
H A Drs_background_thread.h51 EGLContext eglShareContext_ = static_cast<EGLContext>(0);
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/fuzztest/eglwrappercontext_fuzzer/
H A Deglwrappercontext_fuzzer.cpp62 EGLContext context = GetData<EGLContext>(); in DoSomethingInterestingWithMyAPI()
68 EGLContext ctx = GetData<EGLContext>(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/include/
H A Dthread_private_data_ctl.h27 EGLContext ctx;
37 static void SetContext(EGLContext ctx);
38 static EGLContext GetContext();
H A Degl_hook_entries.in8 HOOK_API_ENTRY(EGLContext, eglCreateContext, EGLDisplay dpy, EGLConfig config, EGLContext shareList…
20 HOOK_API_ENTRY(EGLBoolean, eglDestroyContext, EGLDisplay dpy, EGLContext ctx)
50 …ENTRY(EGLBoolean, eglMakeCurrent, EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx)
53 HOOK_API_ENTRY(EGLBoolean, eglQueryContext, EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLin…
105 HOOK_API_ENTRY(EGLContext, eglGetCurrentContext, void)
121 HOOK_API_ENTRY(EGLImage, eglCreateImage, EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientB…
148 HOOK_API_ENTRY(EGLImageKHR, eglCreateImageKHR, EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLC…
H A Dwrapper_hook_entries.in8 HOOK_API_ENTRY(EGLContext, eglCreateContext, EGLDisplay dpy, EGLConfig config, EGLContext shareList…
20 HOOK_API_ENTRY(EGLBoolean, eglDestroyContext, EGLDisplay dpy, EGLContext ctx)
50 …ENTRY(EGLBoolean, eglMakeCurrent, EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx)
53 HOOK_API_ENTRY(EGLBoolean, eglQueryContext, EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLin…
105 HOOK_API_ENTRY(EGLContext, eglGetCurrentContext, void)
121 HOOK_API_ENTRY(EGLImage, eglCreateImage, EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientB…
148 HOOK_API_ENTRY(EGLImageKHR, eglCreateImageKHR, EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLC…
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/src/
H A Doffscreen_context_helper.cpp52 EGLContext OffScreenContextHelper::CreateOffScreenContext(EGLContext eglContext) in CreateOffScreenContext()
101 EGLContext OffScreenContextHelper::GetOffScreenContext() in GetOffScreenContext()
H A Dgraphics_manager_common.cpp60 bool GraphicsManagerCommon::InitEngine(EGLContext eglContext, PlatformData data) in InitEngine()
176 EGLContext GraphicsManagerCommon::GetOrCreateOffScreenContext(EGLContext eglContext) in GetOrCreateOffScreenContext()
/ohos5.0/foundation/graphic/graphic_surface/interfaces/inner_api/surface/
H A Degl_surface.h32 virtual GSError InitContext(EGLContext context = EGL_NO_CONTEXT) = 0;
34 virtual EGLContext GetEglContext() const = 0;
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/egl_image/include/
H A Drender_context.h64 EGLContext GetEGLContext() const in GetEGLContext()
82 EGLContext eglContext_ = EGL_NO_CONTEXT;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/egl/include/
H A Degl_manager.h46 EGLBoolean IsEGLContextInCurrentThread(EGLDisplay display, EGLContext context);
62 EGLContext EGLContext_;
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/util/
H A Degl_manager.h60 EGLContext GetEGLContext() const in GetEGLContext()
81 EGLContext eglContext_;
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/
H A Dthread_private_data_ctl.cpp102 void ThreadPrivateDataCtl::SetContext(EGLContext ctx) in SetContext()
108 EGLContext ThreadPrivateDataCtl::GetContext() in GetContext()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scene_viewer/
H A Drender_scene_viewer.h79 virtual EGLContext GetRenderContext() = 0;
136 EGLContext eglContext_ = EGL_NO_CONTEXT;

123