Home
last modified time | relevance | path

Searched refs:eglContext (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wallpaper/
DGLHelper.java114 EGLContext eglContext = eglCreateContext( in retrieveTextureSizeFromGL() local
117 if (eglContext == null || eglContext == EGL_NO_CONTEXT) { in retrieveTextureSizeFromGL()
126 eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in retrieveTextureSizeFromGL()
135 eglDestroyContext(eglDisplay, eglContext); in retrieveTextureSizeFromGL()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp22 EGLContext eglContext; variable
150 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface()
156 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface()
171 eglDestroyContext( eglDisplay, eglContext ); in free_gl_surface()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp22 EGLContext eglContext; variable
249 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface()
255 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface()
284 eglDestroyContext( eglDisplay, eglContext ); in free_gl_surface()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java90 EGLContext eglContext = createContext(egl, eglDisplay, eglConfig); in newTarget() local
92 RenderTarget result = new RenderTarget(eglDisplay, eglContext, eglSurface, 0, true, true); in newTarget()
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp750 EGLContext eglContext = eglCreateContext(mEglDisplay, EGL_NO_CONFIG_KHR, EGL_NO_CONTEXT, in TEST_F() local
752 EXPECT_NE(EGL_NO_CONTEXT, eglContext); in TEST_F()
755 if (eglContext != EGL_NO_CONTEXT) { in TEST_F()
756 eglDestroyContext(mEglDisplay, eglContext); in TEST_F()