Home
last modified time | relevance | path

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

/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/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()