Searched refs:EGLContext_ (Results 1 - 2 of 2) sorted by relevance
/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() 128 LOGI("EglManager Init Create EGLContext_ ok"); in CreateAndSetEGLContext() 133 eglMakeCurrent(EGLDisplay_, currentSurface_, currentSurface_, EGLContext_); in CreateAndSetEGLContext() 149 if (EGLContext_ != EGL_NO_CONTEXT && EGLContext_ != nullptr) { in Init() 150 LOGW("EglManager Init EGLContext_ is already init.\n"); in Init() 175 eglDestroyContext(EGLDisplay_, EGLContext_); in Deinit() 184 EGLContext_ in Deinit() [all...] |
/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_; member in OHOS::Rosen::EglManager
|
Completed in 1 milliseconds