Searched refs:eglContext (Results 1 - 3 of 3) sorted by relevance
/test/xts/acts/pcs/pcs_ndk/entry/src/main/cpp/ |
H A D | openglNdk.cpp | 29 static EGLContext eglContext = nullptr;
variable 44 eglContext = eglCreateContext(eglDisplay, config, EGL_NO_CONTEXT, contextAttribs);
in InitGLES() 45 eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext);
in InitGLES() 50 eglDestroyContext(eglDisplay, eglContext);
in DestroyGLES()
|
/test/xts/acts/graphic/graphicEGL/entry/src/main/cpp/ |
H A D | eglndk.cpp | 41 EGLContext eglContext;
member 72 myEGLWindow->eglContext =
in createMyEglWindow() 74 NAPI_ASSERT(env, myEGLWindow->eglContext != EGL_NO_CONTEXT, "eglCreateContext error");
in createMyEglWindow() 76 myEGLWindow->eglContext);
in createMyEglWindow() 92 myEGLWindow->eglContext = EGL_NO_CONTEXT;
in destroyMyEglWindow() 1052 EGLContext eglContext = eglGetCurrentContext();
in EglGetCurrentContext() local 1053 NAPI_ASSERT(env, eglContext != EGL_NO_CONTEXT, "eglGetCurrentContext error");
in EglGetCurrentContext() 1203 EGLImage image = eglCreateImage(myEGLWindow.eglDisplay, myEGLWindow.eglContext, EGL_GL_TEXTURE_2D,
in EglCreateImage() 1239 EGLImage image = eglCreateImage(myEGLWindow.eglDisplay, myEGLWindow.eglContext, EGL_GL_TEXTURE_2D,
in EglDestroyImage()
|
/test/xts/acts/graphic/graphicGLES3/entry/src/main/cpp/ |
H A D | gles3ndk.cpp | 102 EGLContext eglContext; member 139 eglWindow->eglContext = eglCreateContext(eglWindow->eglDisPlay, config, EGL_NO_CONTEXT, contextAttribs); in initGLES() 140 if (eglWindow->eglContext == EGL_NO_CONTEXT) { in initGLES() 144 eglWindow->eglContext); in initGLES() 156 if (eglWindow->eglDisPlay != EGL_NO_DISPLAY && eglWindow->eglContext != EGL_NO_CONTEXT) { in destroyGLES() 157 eglDestroyContext(eglWindow->eglDisPlay, eglWindow->eglContext); in destroyGLES() 165 eglWindow->eglContext = EGL_NO_CONTEXT; in destroyGLES()
|
Completed in 18 milliseconds