Searched refs:EGLContext_ (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/egl/src/ |
H A D | egl_manager.cpp | 48 if (!IsEGLContextInCurrentThread(EGLDisplay_, EGLContext_)) { in RetryEGLContext() 50 eglMakeCurrent(EGLDisplay_, currentSurface_, currentSurface_, EGLContext_); in RetryEGLContext() 125 EGLContext_ = eglCreateContext(EGLDisplay_, EGLConfig_, nullptr, attrib3List); in CreateAndSetEGLContext() 133 eglMakeCurrent(EGLDisplay_, currentSurface_, currentSurface_, EGLContext_); in CreateAndSetEGLContext() 149 if (EGLContext_ != EGL_NO_CONTEXT && EGLContext_ != nullptr) { in Init() 175 eglDestroyContext(EGLDisplay_, EGLContext_); in Deinit() 184 EGLContext_ = EGL_NO_CONTEXT; in Deinit()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/egl/include/ |
H A D | egl_manager.h | 50 EglManager() : EGLDisplay_(EGL_NO_DISPLAY), EGLConfig_(nullptr), EGLContext_(EGL_NO_CONTEXT), in EglManager() 62 EGLContext EGLContext_; variable
|