Searched refs:eglDisplay (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 20 EGLDisplay eglDisplay; variable 131 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY ) in init_gl_surface() 137 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE ) in init_gl_surface() 144 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface() 146 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface() 153 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface() 159 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface() 170 if (eglDisplay != EGL_NO_DISPLAY) in free_gl_surface() 174 eglDestroyContext( eglDisplay, eglContext ); in free_gl_surface() 175 eglDestroySurface( eglDisplay, eglSurface ); in free_gl_surface() [all …]
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 18 EGLDisplay eglDisplay; variable 222 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY ) in init_gl_surface() 228 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE ) in init_gl_surface() 234 if (! printEGLConfigurations(eglDisplay)) { in init_gl_surface() 240 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface() 242 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface() 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() 263 eglQuerySurface(eglDisplay, eglSurface, EGL_WIDTH, &w); in init_gl_surface() 265 eglQuerySurface(eglDisplay, eglSurface, EGL_HEIGHT, &h); in init_gl_surface() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GLTextureViewActivity.java | 405 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument 407 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
|
/frameworks/base/core/jni/ |
D | com_google_android_gles_jni_EGLImpl.cpp | 181 egl_display_t* eglDisplay = get_display_nowake(dpy); in jni_getInitCount() local 182 return eglDisplay ? eglDisplay->getRefsCount() : 0; in jni_getInitCount()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 607 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { 609 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attrib_list);
|
/frameworks/base/core/java/android/view/ |
D | HardwareRenderer.java | 951 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument 954 return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, in createContext()
|