Home
last modified time | relevance | path

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

12

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DEglBase14.java53 private EGLDisplay eglDisplay; field in EglBase14
75 eglDisplay = getEglDisplay(); in EglBase14()
76 eglConfig = getEglConfig(eglDisplay, configAttributes); in EglBase14()
77 eglContext = createEglContext(sharedContext, eglDisplay, eglConfig); in EglBase14()
102 eglSurface = EGL14.eglCreateWindowSurface(eglDisplay, eglConfig, surface, surfaceAttribs, 0); in createSurfaceInternal()
120 eglSurface = EGL14.eglCreatePbufferSurface(eglDisplay, eglConfig, surfaceAttribs, 0); in createPbufferSurface()
139 EGL14.eglQuerySurface(eglDisplay, eglSurface, EGL14.EGL_WIDTH, widthArray, 0); in surfaceWidth()
146 EGL14.eglQuerySurface(eglDisplay, eglSurface, EGL14.EGL_HEIGHT, heightArray, 0); in surfaceHeight()
153 EGL14.eglDestroySurface(eglDisplay, eglSurface); in releaseSurface()
159 if (eglDisplay == EGL14.EGL_NO_DISPLAY || eglContext == EGL14.EGL_NO_CONTEXT in checkIsNotReleased()
[all …]
DEglBase10.java53 private EGLDisplay eglDisplay; field in EglBase10
68 eglDisplay = getEglDisplay(); in EglBase10()
69 eglConfig = getEglConfig(eglDisplay, configAttributes); in EglBase10()
70 eglContext = createEglContext(sharedContext, eglDisplay, eglConfig); in EglBase10()
157 eglSurface = egl.eglCreateWindowSurface(eglDisplay, eglConfig, nativeWindow, surfaceAttribs); in createSurfaceInternal()
176 eglSurface = egl.eglCreatePbufferSurface(eglDisplay, eglConfig, surfaceAttribs); in createPbufferSurface()
195 egl.eglQuerySurface(eglDisplay, eglSurface, EGL10.EGL_WIDTH, widthArray); in surfaceWidth()
202 egl.eglQuerySurface(eglDisplay, eglSurface, EGL10.EGL_HEIGHT, heightArray); in surfaceHeight()
209 egl.eglDestroySurface(eglDisplay, eglSurface); in releaseSurface()
215 if (eglDisplay == EGL10.EGL_NO_DISPLAY || eglContext == EGL10.EGL_NO_CONTEXT in checkIsNotReleased()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
DOGLES2HelloAPI_Windows.cpp120 int Cleanup(EGLDisplay eglDisplay, HWND hWnd, HDC hDC) in Cleanup() argument
128 eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT); in Cleanup()
129 eglTerminate(eglDisplay); in Cleanup()
158 EGLDisplay eglDisplay = 0; in WinMain() local
225 return Cleanup(eglDisplay, hWnd, hDC); in WinMain()
236 eglDisplay = eglGetDisplay(hDC); in WinMain()
238 if(eglDisplay == EGL_NO_DISPLAY) in WinMain()
239 eglDisplay = eglGetDisplay((EGLNativeDisplayType) EGL_DEFAULT_DISPLAY); in WinMain()
250 if (!eglInitialize(eglDisplay, &iMajorVersion, &iMinorVersion)) in WinMain()
253 return Cleanup(eglDisplay, hWnd, hDC); in WinMain()
[all …]
DOGLES2HelloAPI_LinuxX11.cpp217 bool CreateEGLDisplay( Display* nativeDisplay, EGLDisplay &eglDisplay ) in CreateEGLDisplay() argument
224 eglDisplay = eglGetDisplay((EGLNativeDisplayType)nativeDisplay); in CreateEGLDisplay()
226 if (eglDisplay == EGL_NO_DISPLAY) in CreateEGLDisplay()
239 if (!eglInitialize(eglDisplay, &eglMajorVersion, &eglMinorVersion)) in CreateEGLDisplay()
255 bool ChooseEGLConfig( EGLDisplay eglDisplay, EGLConfig& eglConfig ) in ChooseEGLConfig() argument
281 …if (!eglChooseConfig(eglDisplay, configurationAttributes, &eglConfig, 1, &configsReturned) || (con… in ChooseEGLConfig()
299 bool CreateEGLSurface( Window nativeWindow, EGLDisplay eglDisplay, EGLConfig eglConfig, EGLSurface&… in CreateEGLSurface() argument
310 …eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, (EGLNativeWindowType)nativeWindow, NULL… in CreateEGLSurface()
329 bool SetupEGLContext( EGLDisplay eglDisplay, EGLConfig eglConfig, EGLSurface eglSurface, EGLContext… in SetupEGLContext() argument
345 eglContext = eglCreateContext(eglDisplay, eglConfig, NULL, contextAttributes); in SetupEGLContext()
[all …]
DOGLES2HelloAPI_OSX.mm113 @Output eglDisplay EGLDisplay created
117 - (BOOL) createEGLDisplay:(EGLDisplay &)eglDisplay
125 eglDisplay = eglGetDisplay((EGLNativeDisplayType)0);
126 if (eglDisplay == EGL_NO_DISPLAY)
139 if (!eglInitialize(eglDisplay, &eglMajorVersion, &eglMinorVersion))
151 @Input eglDisplay The EGLDisplay used by the application
155 - (BOOL) chooseEGLConfig:(EGLConfig &)eglConfig fromDisplay:(EGLDisplay)eglDisplay
181 …if (!eglChooseConfig(eglDisplay, configurationAttributes, &eglConfig, 1, &configsReturned) || (con…
193 @Input eglDisplay The EGLDisplay used by the application
199 - (BOOL) createEGLSurface:(EGLSurface &)eglSurface fromDisplay:(EGLDisplay)eglDisplay withConfig:(E…
[all …]
/external/deqp/modules/egl/
DteglResizeTests.cpp131 EGLConfig getEGLConfig (const Library& egl, const EGLDisplay eglDisplay, EGLenum surfaceType) in getEGLConfig() argument
138 return eglu::chooseSingleConfig(egl, eglDisplay, attribMap); in getEGLConfig()
147 const EGLDisplay eglDisplay = eglu::getAndInitDisplay(m_eglTestCtx.getNativeDisplay()); in init() local
148 const EGLConfig eglConfig = getEGLConfig(egl, eglDisplay, surfaceType()); in init()
154 EGLContext eglContext = egl.createContext(eglDisplay, in init()
159 MovePtr<UniqueContext> context (new UniqueContext(egl, eglDisplay, eglContext)); in init()
161 eglDisplay, in init()
171 eglDisplay, in init()
177 eglDisplay, in init()
180 MovePtr<UniqueSurface> surface (new UniqueSurface(egl, eglDisplay, eglSurface)); in init()
[all …]
DteglSwapBuffersWithDamageTests.cpp129 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, bool preserveBuffer);
275 virtual EGLConfig getConfig (const Library& egl, EGLDisplay eglDisplay);
276 virtual void checkExtension (const Library& egl, EGLDisplay eglDisplay);
312 EGLConfig SwapBuffersWithDamageTest::getConfig (const Library& egl, EGLDisplay eglDisplay) in getConfig() argument
314 return getEGLConfig(egl, eglDisplay, false); in getConfig()
317 void SwapBuffersWithDamageTest::checkExtension (const Library& egl, EGLDisplay eglDisplay) in checkExtension() argument
319 if (!eglu::hasExtension(egl, eglDisplay, "EGL_KHR_swap_buffers_with_damage")) in checkExtension()
458 EGLConfig getConfig (const Library& egl, EGLDisplay eglDisplay);
471 …g SwapBuffersWithDamageAndPreserveBufferTest::getConfig (const Library& egl, EGLDisplay eglDisplay) in getConfig() argument
473 return getEGLConfig(egl, eglDisplay, true); in getConfig()
[all …]
DteglNegativePartialUpdateTests.cpp100 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, NegativePartialUpdateTest::Surfa… in getEGLConfig() argument
115 return chooseSingleConfig(egl, eglDisplay, filters); in getEGLConfig()
118 EGLContext initAndMakeCurrentEGLContext (const Library& egl, EGLDisplay eglDisplay, EGLSurface eglS… in initAndMakeCurrentEGLContext() argument
123 eglContext = egl.createContext(eglDisplay, eglConfig, EGL_NO_CONTEXT, attribList); in initAndMakeCurrentEGLContext()
126 egl.makeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in initAndMakeCurrentEGLContext()
DteglBufferAgeTests.cpp195 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, bool preserveColorBuffer);
684 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, bool preserveColorBuffer) in getEGLConfig() argument
690 return eglu::chooseSingleConfig(egl, eglDisplay, filters); in getEGLConfig()
DteglPartialUpdateTests.cpp183 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay);
630 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay) in getEGLConfig() argument
634 return eglu::chooseSingleConfig(egl, eglDisplay, filters); in getEGLConfig()
DteglPreservingSwapTests.cpp301 EGLConfig getEGLConfig (const Library& egl, EGLDisplay eglDisplay, bool preserveColorbuffer) in getEGLConfig() argument
310 return eglu::chooseSingleConfig(egl, eglDisplay, &attribList[0]); in getEGLConfig()
DteglGLES2SharedRenderingPerfTests.cpp444 EGLContext createEGLContext (EglTestContext& testCtx, EGLDisplay eglDisplay, EGLConfig eglConfig, E… in createEGLContext() argument
455 EGLContext context = egl.createContext(eglDisplay, eglConfig, share, attribList); in createEGLContext()
479 TestContext::TestContext (EglTestContext& testCtx, EGLDisplay eglDisplay, EGLConfig eglConfig, cons… in TestContext() argument
483 , m_eglDisplay (eglDisplay) in TestContext()
/external/deqp/framework/egl/
DegluGLContextFactory.cpp233 …y* nativeDisplay, const NativeWindowFactory* windowFactory, EGLDisplay eglDisplay, EGLConfig eglCo… in createWindow() argument
242 …nativeWindow = windowFactory->createWindow(nativeDisplay, eglDisplay, eglConfig, &attribList[0], W… in createWindow()
246 …surface = eglu::createWindowSurface(*nativeDisplay, *nativeWindow, eglDisplay, eglConfig, attribLi… in createWindow()
257 …y* nativeDisplay, const NativePixmapFactory* pixmapFactory, EGLDisplay eglDisplay, EGLConfig eglCo… in createPixmap() argument
265 …nativePixmap = pixmapFactory->createPixmap(nativeDisplay, eglDisplay, eglConfig, &attribList[0], w… in createPixmap()
269 …surface = eglu::createPixmapSurface(*nativeDisplay, *nativePixmap, eglDisplay, eglConfig, attribLi… in createPixmap()
/external/swiftshader/src/OpenGL/libEGL/
DDisplay.h50 explicit Display(EGLDisplay eglDisplay, void *nativeDisplay);
92 const EGLDisplay eglDisplay; variable
DDisplay.cpp82 Display::Display(EGLDisplay eglDisplay, void *nativeDisplay) : eglDisplay(eglDisplay), nativeDispla… in Display() argument
738 return eglDisplay; in getEGLDisplay()
/external/skia/tests/
DVkHardwareBufferTest.cpp223 EGLDisplay eglDisplay = eglGetCurrentDisplay(); in importHardwareBuffer() local
224 fImage = fEGLCreateImageKHR(eglDisplay, EGL_NO_CONTEXT, in importHardwareBuffer()
312 EGLDisplay eglDisplay = eglGetCurrentDisplay(); in flushSurfaceAndSignalSemaphore() local
313 EGLSyncKHR eglsync = fEGLCreateSyncKHR(eglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in flushSurfaceAndSignalSemaphore()
321 fFdHandle = fEGLDupNativeFenceFDANDROID(eglDisplay, eglsync); in flushSurfaceAndSignalSemaphore()
323 EGLint result = fEGLDestroySyncKHR(eglDisplay, eglsync); in flushSurfaceAndSignalSemaphore()
334 EGLDisplay eglDisplay = eglGetCurrentDisplay(); in importAndWaitOnSemaphore() local
339 EGLSyncKHR eglsync = fEGLCreateSyncKHR(eglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attr); in importAndWaitOnSemaphore()
345 EGLint result = fEGLWaitSyncKHR(eglDisplay, eglsync, 0); in importAndWaitOnSemaphore()
350 result = fEGLDestroySyncKHR(eglDisplay, eglsync); in importAndWaitOnSemaphore()
/external/skqp/tests/
DVkHardwareBufferTest.cpp223 EGLDisplay eglDisplay = eglGetCurrentDisplay(); in importHardwareBuffer() local
224 fImage = fEGLCreateImageKHR(eglDisplay, EGL_NO_CONTEXT, in importHardwareBuffer()
312 EGLDisplay eglDisplay = eglGetCurrentDisplay(); in flushSurfaceAndSignalSemaphore() local
313 EGLSyncKHR eglsync = fEGLCreateSyncKHR(eglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, nullptr); in flushSurfaceAndSignalSemaphore()
321 fFdHandle = fEGLDupNativeFenceFDANDROID(eglDisplay, eglsync); in flushSurfaceAndSignalSemaphore()
323 EGLint result = fEGLDestroySyncKHR(eglDisplay, eglsync); in flushSurfaceAndSignalSemaphore()
334 EGLDisplay eglDisplay = eglGetCurrentDisplay(); in importAndWaitOnSemaphore() local
339 EGLSyncKHR eglsync = fEGLCreateSyncKHR(eglDisplay, EGL_SYNC_NATIVE_FENCE_ANDROID, attr); in importAndWaitOnSemaphore()
345 EGLint result = fEGLWaitSyncKHR(eglDisplay, eglsync, 0); in importAndWaitOnSemaphore()
350 result = fEGLDestroySyncKHR(eglDisplay, eglsync); in importAndWaitOnSemaphore()
/external/skqp/src/gpu/gl/
DGrGLExtensions.cpp73 GrEGLDisplay eglDisplay) { in init() argument
109 const char* extensions = queryString(eglDisplay, GR_EGL_EXTENSIONS); in init()
/external/skia/src/gpu/gl/
DGrGLExtensions.cpp73 GrEGLDisplay eglDisplay) { in init() argument
109 const char* extensions = queryString(eglDisplay, GR_EGL_EXTENSIONS); in init()
/external/deqp/framework/platform/lnx/wayland/
DtcuLnxWaylandEglDisplayFactory.cpp150 eglw::EGLDisplay eglDisplay, in createWindow() argument
155 DE_UNREF(eglDisplay); in createWindow()
/external/skia/include/gpu/gl/
DGrGLExtensions.h50 GrEGLDisplay eglDisplay = nullptr);
/external/skqp/include/gpu/gl/
DGrGLExtensions.h50 GrEGLDisplay eglDisplay = nullptr);
/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11EglDisplayFactory.cpp202 eglw::EGLDisplay eglDisplay, in createWindow() argument
212 nativeDisplay->getLibrary().getConfigAttrib(eglDisplay, config, EGL_NATIVE_VISUAL_ID, &visualID); in createWindow()
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieRunner.java203 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
205 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()
/external/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieRunner.java203 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() argument
205 return egl.eglCreateContext(eglDisplay, eglConfig, EGL10.EGL_NO_CONTEXT, attrib_list); in createContext()

12