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

/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp20 EGLDisplay eglDisplay;
132 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY )
138 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE )
145 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig);
147 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig,
154 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT )
160 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE )
171 if (eglDisplay != EGL_NO_DISPLAY)
175 eglDestroyContext( eglDisplay, eglContext );
176 eglDestroySurface( eglDisplay, eglSurfac
[all...]
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp18 EGLDisplay eglDisplay;
223 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY )
229 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE )
235 if (! printEGLConfigurations(eglDisplay)) {
241 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig);
243 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig,
250 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT )
256 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE )
264 eglQuerySurface(eglDisplay, eglSurface, EGL_WIDTH, &w);
266 eglQuerySurface(eglDisplay, eglSurfac
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DRenderTarget.java88 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 DBlockingGLTextureView.java140 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 DGLTextureViewActivity.java404 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { argument
406 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list);
/frameworks/native/libs/gui/
H A DBufferQueueConsumer.cpp278 const sp<Fence>& releaseFence, EGLDisplay eglDisplay,
310 mSlots[slot].mEglDisplay = eglDisplay;
277 releaseBuffer(int slot, uint64_t frameNumber, const sp<Fence>& releaseFence, EGLDisplay eglDisplay, EGLSyncKHR eglFence) argument
H A DBufferQueueProducer.cpp269 EGLDisplay eglDisplay = EGL_NO_DISPLAY; local
333 eglDisplay = mSlots[found].mEglDisplay;
368 EGLint result = eglClientWaitSyncKHR(eglDisplay, eglFence, 0,
379 eglDestroySyncKHR(eglDisplay, eglFence);
H A DGLConsumer.cpp1072 status_t GLConsumer::EglImage::createIfNeeded(EGLDisplay eglDisplay, argument
1077 bool displayInvalid = mEglDisplay != eglDisplay;
1090 mEglDisplay = eglDisplay;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java725 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { argument
727 return egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attrib_list);
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp186 egl_display_t* eglDisplay = get_display_nowake(dpy); local
187 return eglDisplay ? eglDisplay->getRefsCount() : 0;

Completed in 281 milliseconds