Home
last modified time | relevance | path

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

/tools/test/graphicsbenchmark/functional_tests/java/src/cpp/
Dnative_choreo_activity.cpp40 static EGLSurface eglSurface; variable
85 eglSurface = eglCreateWindowSurface(eglDisp, eglConf, theWindow, 0); in setupEGL()
87 if (eglSurface == EGL_NO_SURFACE) { in setupEGL()
97 if (!eglMakeCurrent(eglDisp, eglSurface, eglSurface, eglCtx)) { in setupEGL()
109 eglDestroySurface(eglDisp, eglSurface); in shutdownEGL()
113 eglSurface = EGL_NO_SURFACE; in shutdownEGL()
125 eglSwapBuffers(eglDisp, eglSurface); in renderFrames()
/tools/test/graphicsbenchmark/functional_tests/native/
DglExtensions_test.cpp31 static EGLSurface eglSurface; variable
68 eglSurface = eglCreatePbufferSurface(eglDisp, eglConf, surfaceAttr); in setupEGL()
70 eglMakeCurrent(eglDisp, eglSurface, eglSurface, eglCtx); in setupEGL()
76 eglDestroySurface(eglDisp, eglSurface); in shutdownEGL()
80 eglSurface = EGL_NO_SURFACE; in shutdownEGL()