/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/fuzztest/eglwrapperdisplay_fuzzer/ |
H A D | eglwrapperdisplay_fuzzer.cpp | 69 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 D | render_context.h | 69 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 D | render_context_egl_defines.h | 22 typedef void *EGLContext; typedef 36 #define EGL_NO_CONTEXT EGL_CAST(EGLContext, 0)
|
H A D | render_context.cpp | 201 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 D | offscreen_context_helper.h | 28 EGLContext c_ = EGL_NO_CONTEXT; 38 EGLContext CreateOffScreenContext(EGLContext eglContext); 39 EGLContext GetOffScreenContext(); 45 EGLContext localThreadContext_ = EGL_NO_CONTEXT;
|
H A D | graphics_manager_common.h | 51 EGLContext GetOrCreateOffScreenContext(EGLContext eglContext); 68 bool InitEngine(EGLContext eglContext, PlatformData data);
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/ |
H A D | egl_wrapper_display.h | 35 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 D | egl_wrapper_context.h | 27 EglWrapperContext(EglWrapperDisplay *disp, EGLContext context, 31 static EglWrapperContext *GetWrapperContext(EGLContext ctx); 32 inline EGLContext GetEglContext() const in GetEglContext() 43 EGLContext context_;
|
H A D | egl_wrapper_display.cpp | 163 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 D | egl_wrapper_context.cpp | 19 EglWrapperContext::EglWrapperContext(EglWrapperDisplay *disp, EGLContext context, EGLint version) in EglWrapperContext() 40 EglWrapperContext *EglWrapperContext::GetWrapperContext(EGLContext ctx) in GetWrapperContext()
|
H A D | egl_wrapper_entry.cpp | 103 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 D | rs_shared_context.h | 26 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 D | rs_background_thread.h | 51 EGLContext eglShareContext_ = static_cast<EGLContext>(0);
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/fuzztest/eglwrappercontext_fuzzer/ |
H A D | eglwrappercontext_fuzzer.cpp | 62 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 D | thread_private_data_ctl.h | 27 EGLContext ctx; 37 static void SetContext(EGLContext ctx); 38 static EGLContext GetContext();
|
H A D | egl_hook_entries.in | 8 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 D | wrapper_hook_entries.in | 8 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 D | offscreen_context_helper.cpp | 52 EGLContext OffScreenContextHelper::CreateOffScreenContext(EGLContext eglContext) in CreateOffScreenContext() 101 EGLContext OffScreenContextHelper::GetOffScreenContext() in GetOffScreenContext()
|
H A D | graphics_manager_common.cpp | 60 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 D | egl_surface.h | 32 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 D | render_context.h | 64 EGLContext GetEGLContext() const in GetEGLContext() 82 EGLContext eglContext_ = EGL_NO_CONTEXT;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/egl/include/ |
H A D | egl_manager.h | 46 EGLBoolean IsEGLContextInCurrentThread(EGLDisplay display, EGLContext context); 62 EGLContext EGLContext_;
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/util/ |
H A D | egl_manager.h | 60 EGLContext GetEGLContext() const in GetEGLContext() 81 EGLContext eglContext_;
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/ |
H A D | thread_private_data_ctl.cpp | 102 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 D | render_scene_viewer.h | 79 virtual EGLContext GetRenderContext() = 0; 136 EGLContext eglContext_ = EGL_NO_CONTEXT;
|