Searched refs:eglDisp (Results 1 – 2 of 2) sorted by relevance
/tools/test/graphicsbenchmark/functional_tests/java/src/cpp/ |
D | native_choreo_activity.cpp | 42 static EGLDisplay eglDisp; variable 65 eglDisp = eglGetDisplay(EGL_DEFAULT_DISPLAY); in setupEGL() 66 if (eglDisp == EGL_NO_DISPLAY) { in setupEGL() 70 if (!eglInitialize(eglDisp, &eglMajVers, &eglMinVers)) { in setupEGL() 74 if (!eglChooseConfig(eglDisp, confAttr, &eglConf, 1, &numConfigs)) { in setupEGL() 78 if (!eglGetConfigAttrib(eglDisp, eglConf, EGL_NATIVE_VISUAL_ID, &format)) { in setupEGL() 85 eglSurface = eglCreateWindowSurface(eglDisp, eglConf, theWindow, 0); in setupEGL() 91 eglCtx = eglCreateContext(eglDisp, eglConf, EGL_NO_CONTEXT, ctxAttr); in setupEGL() 97 if (!eglMakeCurrent(eglDisp, eglSurface, eglSurface, eglCtx)) { in setupEGL() 107 eglMakeCurrent(eglDisp, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in shutdownEGL() [all …]
|
/tools/test/graphicsbenchmark/functional_tests/native/ |
D | glExtensions_test.cpp | 33 static EGLDisplay eglDisp; variable 61 eglDisp = eglGetDisplay(EGL_DEFAULT_DISPLAY); in setupEGL() 62 eglInitialize(eglDisp, &eglMajVers, &eglMinVers); in setupEGL() 64 eglChooseConfig(eglDisp, confAttr, &eglConf, 1, &numConfigs); in setupEGL() 66 eglCtx = eglCreateContext(eglDisp, eglConf, EGL_NO_CONTEXT, ctxAttr); in setupEGL() 68 eglSurface = eglCreatePbufferSurface(eglDisp, eglConf, surfaceAttr); in setupEGL() 70 eglMakeCurrent(eglDisp, eglSurface, eglSurface, eglCtx); in setupEGL() 74 eglMakeCurrent(eglDisp, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in shutdownEGL() 75 eglDestroyContext(eglDisp, eglCtx); in shutdownEGL() 76 eglDestroySurface(eglDisp, eglSurface); in shutdownEGL() [all …]
|