Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/egl/src/
H A Degl_manager.cpp50 eglMakeCurrent(EGLDisplay_, currentSurface_, currentSurface_, EGLContext_); in RetryEGLContext()
96 currentSurface_ = eglCreateWindowSurface(EGLDisplay_, EGLConfig_, EGLWindow_, NULL); in CreateEGLSurface()
97 if (currentSurface_ == NULL) { in CreateEGLSurface()
104 currentSurface_ = eglCreatePbufferSurface(EGLDisplay_, EGLConfig_, surfaceAttributes); in CreateEGLSurface()
105 if (currentSurface_ == NULL) { in CreateEGLSurface()
113 currentSurface_ = eglCreatePbufferSurface(EGLDisplay_, EGLConfig_, surfaceAttributes); in CreateEGLSurface()
114 if (currentSurface_ == NULL) { in CreateEGLSurface()
133 eglMakeCurrent(EGLDisplay_, currentSurface_, currentSurface_, EGLContext_); in CreateAndSetEGLContext()
176 if (currentSurface_ != EGL_NO_SURFACE) { in Deinit()
177 eglDestroySurface(EGLDisplay_, currentSurface_); in Deinit()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Degl_manager.cpp63 if (currentSurface_ != newEGLSurface) { in MakeCurrentIfNeeded()
64 currentSurface_ = newEGLSurface; in MakeCurrentIfNeeded()
65 eglMakeCurrent(eglDisplay_, currentSurface_, currentSurface_, eglContext_); in MakeCurrentIfNeeded()
95 currentSurface_ = eglCreateWindowSurface(eglDisplay_, eglConfig_, eglWindow_, NULL); in CreateContext()
96 if (currentSurface_ == NULL) { in CreateContext()
108 currentSurface_ = eglCreatePbufferSurface(eglDisplay_, eglConfig_, surfaceAttributes); in CreateContext()
109 if (currentSurface_ == NULL) { in CreateContext()
127 eglMakeCurrent(eglDisplay_, currentSurface_, currentSurface_, eglContext_); in CreateContext()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/util/
H A Degl_manager.h41 currentSurface_ = eglSurface; in SetCurrentSurface()
52 return currentSurface_; in GetCurrentSurface()
76 currentSurface_(nullptr) {} in EglManager()
82 EGLSurface currentSurface_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/egl/include/
H A Degl_manager.h51 currentSurface_(nullptr) {} in EglManager()
63 EGLSurface currentSurface_; variable