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
154 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface()
160 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface()
175 eglDestroyContext( eglDisplay, eglContext ); in free_gl_surface()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp20 EGLContext eglContext; variable
250 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface()
256 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface()
286 eglDestroyContext( eglDisplay, eglContext ); in free_gl_surface()
/frameworks/native/opengl/tests/EGLTest/
DEGL_test.cpp459 EGLContext eglContext = eglCreateContext(mEglDisplay, EGL_NO_CONFIG_KHR, EGL_NO_CONTEXT, in TEST_F() local
461 EXPECT_NE(EGL_NO_CONTEXT, eglContext); in TEST_F()
464 if (eglContext != EGL_NO_CONTEXT) { in TEST_F()
465 eglDestroyContext(mEglDisplay, eglContext); in TEST_F()
/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()