Home
last modified time | relevance | path

Searched refs:eglDisplay (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/opengl/tests/tritex/
Dtritex.cpp20 EGLDisplay eglDisplay; variable
128 if ( (eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)) == EGL_NO_DISPLAY ) in init_gl_surface()
134 if ( eglInitialize(eglDisplay, NULL, NULL) != EGL_TRUE ) in init_gl_surface()
141 EGLUtils::selectConfigForNativeWindow(eglDisplay, attrib, window, &myConfig); in init_gl_surface()
143 if ( (eglSurface = eglCreateWindowSurface(eglDisplay, myConfig, in init_gl_surface()
150 if ( (eglContext = eglCreateContext(eglDisplay, myConfig, 0, 0)) == EGL_NO_CONTEXT ) in init_gl_surface()
156 if ( eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext) != EGL_TRUE ) in init_gl_surface()
167 if (eglDisplay != EGL_NO_DISPLAY) in free_gl_surface()
171 eglDestroyContext( eglDisplay, eglContext ); in free_gl_surface()
172 eglDestroySurface( eglDisplay, eglSurface ); in free_gl_surface()
[all …]
/frameworks/base/services/core/java/com/android/server/wallpaper/
DGLHelper.java74 EGLDisplay eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in retrieveTextureSizeFromGL() local
75 if (eglDisplay == null || eglDisplay == EGL_NO_DISPLAY) { in retrieveTextureSizeFromGL()
80 if (!eglInitialize(eglDisplay, null, 0 /* majorOffset */, null, 1 /* minorOffset */)) { in retrieveTextureSizeFromGL()
100 if (!eglChooseConfig(eglDisplay, configSpec, 0 /* attrib_listOffset */, in retrieveTextureSizeFromGL()
115 eglDisplay, eglConfig, EGL_NO_CONTEXT, attr_list, 0 /* offset */); in retrieveTextureSizeFromGL()
125 eglCreatePbufferSurface(eglDisplay, eglConfig, attrs, 0 /* offset */); in retrieveTextureSizeFromGL()
126 eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in retrieveTextureSizeFromGL()
133 eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in retrieveTextureSizeFromGL()
134 eglDestroySurface(eglDisplay, eglSurface); in retrieveTextureSizeFromGL()
135 eglDestroyContext(eglDisplay, eglContext); in retrieveTextureSizeFromGL()
[all …]
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp20 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/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java88 EGLDisplay eglDisplay = createDefaultDisplay(egl); in newTarget() local
89 EGLConfig eglConfig = chooseEglConfig(egl, eglDisplay); in newTarget()
90 EGLContext eglContext = createContext(egl, eglDisplay, eglConfig); in newTarget()
91 EGLSurface eglSurface = createSurface(egl, eglDisplay, width, height); in newTarget()
92 RenderTarget result = new RenderTarget(eglDisplay, eglContext, eglSurface, 0, true, true); in newTarget()
/frameworks/base/libs/hwui/pipeline/skia/
DVkInteropFunctorDrawable.cpp57 EGLDisplay display = sEglManager.eglDisplay(); in vkInvokeFunctor()
108 EGLDisplay display = sEglManager.eglDisplay(); in onDraw()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DSingleFrameTextureViewTestActivity.java166 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in onSurfaceTextureAvailable()
168 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in onSurfaceTextureAvailable()
DGLTextureViewActivity.java404 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
406 … return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
/frameworks/base/libs/hwui/renderthread/
DEglManager.h72 EGLDisplay eglDisplay() const { return mEglDisplay; } in eglDisplay() function
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DBlockingGLTextureView.java140 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
142 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attribList); in createContext()
/frameworks/native/opengl/libs/EGL/
Degl_display.cpp73 egl_display_t* eglDisplay = egl_display_t::get(dpy); in egl_get_init_count() local
74 return eglDisplay ? eglDisplay->getRefsCount() : 0; in egl_get_init_count()
/frameworks/native/libs/nativedisplay/surfacetexture/
DEGLConsumer.cpp615 status_t EGLConsumer::EglImage::createIfNeeded(EGLDisplay eglDisplay, bool forceCreation) { in createIfNeeded() argument
618 bool displayInvalid = mEglDisplay != eglDisplay; in createIfNeeded()
630 mEglDisplay = eglDisplay; in createIfNeeded()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
DImageFlipRenderThread.java355 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
357 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
/frameworks/native/libs/gui/
DGLConsumer.cpp952 status_t GLConsumer::EglImage::createIfNeeded(EGLDisplay eglDisplay, in createIfNeeded() argument
956 bool displayInvalid = mEglDisplay != eglDisplay; in createIfNeeded()
969 mEglDisplay = eglDisplay; in createIfNeeded()
DBufferQueueConsumer.cpp443 const sp<Fence>& releaseFence, EGLDisplay eglDisplay, in releaseBuffer() argument
476 mSlots[slot].mEglDisplay = eglDisplay; in releaseBuffer()
DBufferQueueProducer.cpp407 EGLDisplay eglDisplay = EGL_NO_DISPLAY; in dequeueBuffer() local
521 eglDisplay = mSlots[found].mEglDisplay; in dequeueBuffer()
592 EGLint result = eglClientWaitSyncKHR(eglDisplay, eglFence, 0, in dequeueBuffer()
603 eglDestroySyncKHR(eglDisplay, eglFence); in dequeueBuffer()
/frameworks/base/libs/hwui/
DDeferredLayerUpdater.cpp104 *display = eglManager.eglDisplay(); in createReleaseFence()
DHardwareBitmapUploader.cpp159 return mEglManager.eglDisplay(); in getUploadEglDisplay()