Searched refs:eglDisplay (Results 1 - 8 of 8) sorted by relevance
/frameworks/native/opengl/tests/tritex/ |
H A D | tritex.cpp | 20 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 D | gl_basic.cpp | 18 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/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | RenderTarget.java | 88 EGLDisplay eglDisplay = createDefaultDisplay(egl); 89 EGLConfig eglConfig = chooseEglConfig(egl, eglDisplay); 90 EGLContext eglContext = createContext(egl, eglDisplay, eglConfig); 91 EGLSurface eglSurface = createSurface(egl, eglDisplay, width, height); 92 RenderTarget result = new RenderTarget(eglDisplay, eglContext, eglSurface, 0, true, true);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 140 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { argument 142 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attribList); 200 throw new RuntimeException("eglDisplay not initialized");
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 404 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 D | ImageWallpaper.java | 746 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { argument 748 return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attrib_list);
|
/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 181 egl_display_t* eglDisplay = get_display_nowake(dpy); local 182 return eglDisplay ? eglDisplay->getRefsCount() : 0;
|
/frameworks/base/core/java/android/view/ |
H A D | HardwareRenderer.java | 1227 throw new RuntimeException("eglDisplay not initialized"); 1271 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { argument 1274 EGLContext context = egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT,
|
Completed in 2260 milliseconds