Home
last modified time | relevance | path

Searched refs:eglDisPlay (Results 1 - 1 of 1) sorted by relevance

/test/xts/acts/graphic/graphicGLES3/entry/src/main/cpp/
H A Dgles3ndk.cpp100 EGLDisplay eglDisPlay; member
110 eglWindow->eglDisPlay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in initGLES()
111 if (eglWindow->eglDisPlay == EGL_NO_DISPLAY) { in initGLES()
116 EGLBoolean ret = eglInitialize(eglWindow->eglDisPlay, &majorVersion, &minorVersion); in initGLES()
127 ret = eglChooseConfig(eglWindow->eglDisPlay, configAttribs, &config, GL_ONE, &numConfigs); in initGLES()
134 eglWindow->eglLSurface = eglCreatePbufferSurface(eglWindow->eglDisPlay, config, surfaceAttribs); in initGLES()
139 eglWindow->eglContext = eglCreateContext(eglWindow->eglDisPlay, config, EGL_NO_CONTEXT, contextAttribs); in initGLES()
143 eglMakeCurrent(eglWindow->eglDisPlay, eglWindow->eglLSurface, eglWindow->eglLSurface, in initGLES()
153 if (eglWindow->eglDisPlay != EGL_NO_DISPLAY && eglWindow->eglLSurface != EGL_NO_SURFACE) { in destroyGLES()
154 eglDestroySurface(eglWindow->eglDisPlay, eglWindo in destroyGLES()
[all...]

Completed in 9 milliseconds