Searched refs:eglCtx (Results 1 – 2 of 2) sorted by relevance
/tools/test/graphicsbenchmark/functional_tests/java/src/cpp/ |
D | native_choreo_activity.cpp | 41 static EGLContext eglCtx; variable 91 eglCtx = eglCreateContext(eglDisp, eglConf, EGL_NO_CONTEXT, ctxAttr); in setupEGL() 93 if (eglCtx == EGL_NO_CONTEXT) { in setupEGL() 97 if (!eglMakeCurrent(eglDisp, eglSurface, eglSurface, eglCtx)) { in setupEGL() 108 eglDestroyContext(eglDisp, eglCtx); in shutdownEGL() 114 eglCtx = EGL_NO_CONTEXT; in shutdownEGL()
|
/tools/test/graphicsbenchmark/functional_tests/native/ |
D | glExtensions_test.cpp | 32 static EGLContext eglCtx; variable 66 eglCtx = eglCreateContext(eglDisp, eglConf, EGL_NO_CONTEXT, ctxAttr); in setupEGL() 70 eglMakeCurrent(eglDisp, eglSurface, eglSurface, eglCtx); in setupEGL() 75 eglDestroyContext(eglDisp, eglCtx); in shutdownEGL() 81 eglCtx = EGL_NO_CONTEXT; in shutdownEGL()
|