Home
last modified time | relevance | path

Searched refs:eglDisplay (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/graphics/src/android/opengl/cts/
DEglContextTest.java40 EGLDisplay eglDisplay = null; in testCreateAndReleaseContext() local
43 eglDisplay = createEglDisplay(); in testCreateAndReleaseContext()
44 eglContext = createEglContext(eglDisplay); in testCreateAndReleaseContext()
45 destroyEglContext(eglDisplay, eglContext); in testCreateAndReleaseContext()
46 eglDisplay = null; in testCreateAndReleaseContext()
49 if (eglDisplay != null) { in testCreateAndReleaseContext()
51 EGL14.eglDestroyContext(eglDisplay, eglContext); in testCreateAndReleaseContext()
54 EGL14.eglTerminate(eglDisplay); in testCreateAndReleaseContext()
63 EGLDisplay eglDisplay = EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY); in createEglDisplay() local
64 if (eglDisplay == EGL14.EGL_NO_DISPLAY) { in createEglDisplay()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java809 private EGLDisplay eglDisplay = null; field in GLSurfaceViewFactory.GLSurfaceViewThread
855 eglDisplay = egl10.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); in eglSetup()
856 if (eglDisplay == EGL10.EGL_NO_DISPLAY) { in eglSetup()
860 if (!egl10.eglInitialize(eglDisplay, version)) { in eglSetup()
861 eglDisplay = null; in eglSetup()
877 eglDisplay, configAttribs, configs, configs.length, numConfigs)) { in eglSetup()
886 eglDisplay, configs[0], EGL10.EGL_NO_CONTEXT, contextAttribs); in eglSetup()
897 eglSurface = egl10.eglCreatePbufferSurface(eglDisplay, configs[0], surfaceAttribs); in eglSetup()
905 if (eglDisplay != EGL10.EGL_NO_DISPLAY) { in release()
906 egl10.eglMakeCurrent(eglDisplay, in release()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java244 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
246 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()