Home
last modified time | relevance | path

Searched refs:localThreadContext_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/src/
H A Doffscreen_context_helper.cpp54 if (localThreadContext_ != EGL_NO_CONTEXT) { in CreateOffScreenContext()
55 return localThreadContext_; in CreateOffScreenContext()
87 localThreadContext_ = eglCreateContext(eglDisplay_, config, eglContext, contextAttrs); in CreateOffScreenContext()
98 return localThreadContext_; in CreateOffScreenContext()
103 return localThreadContext_; in GetOffScreenContext()
108 if (!eglMakeCurrent(eglDisplay_, pBufferSurface_, pBufferSurface_, localThreadContext_)) { in BindOffScreenContext()
121 if (localThreadContext_ != EGL_NO_CONTEXT) { in DestroyOffScreenContext()
122 eglDestroyContext(eglDisplay_, localThreadContext_); in DestroyOffScreenContext()
123 localThreadContext_ = EGL_NO_CONTEXT; in DestroyOffScreenContext()
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/include/
H A Doffscreen_context_helper.h45 EGLContext localThreadContext_ = EGL_NO_CONTEXT; variable