Searched refs:eglDisplay (Results 1 - 6 of 6) sorted by relevance

/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp20 EGLDisplay eglDisplay;
131 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY )
137 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE )
144 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig);
146 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig,
153 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT )
159 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE )
170 if (eglDisplay != EGL_NO_DISPLAY)
174 eglDestroyContext( eglDisplay, eglContext );
175 eglDestroySurface( eglDisplay, eglSurfac
[all...]
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp18 EGLDisplay eglDisplay;
222 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY )
228 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE )
234 if (! printEGLConfigurations(eglDisplay)) {
240 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig);
242 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig,
249 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT )
255 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE )
263 eglQuerySurface(eglDisplay, eglSurface, EGL_WIDTH, &w);
265 eglQuerySurface(eglDisplay, eglSurfac
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java404 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { argument
406 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java679 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { argument
681 return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attrib_list);
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp181 egl_display_t* eglDisplay = get_display_nowake(dpy); local
182 return eglDisplay ? eglDisplay->getRefsCount() : 0;
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java1142 throw new RuntimeException("eglDisplay not initialized");
1185 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { argument
1188 EGLContext context = egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT,

Completed in 205 milliseconds