Home
last modified time | relevance | path

Searched refs:eglSurface (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DEglBase14.java54 private EGLSurface eglSurface = EGL14.EGL_NO_SURFACE; field in EglBase14
98 if (eglSurface != EGL14.EGL_NO_SURFACE) { in createSurfaceInternal()
102 eglSurface = EGL14.eglCreateWindowSurface(eglDisplay, eglConfig, surface, surfaceAttribs, 0); in createSurfaceInternal()
103 if (eglSurface == EGL14.EGL_NO_SURFACE) { in createSurfaceInternal()
116 if (eglSurface != EGL14.EGL_NO_SURFACE) { in createPbufferSurface()
120 eglSurface = EGL14.eglCreatePbufferSurface(eglDisplay, eglConfig, surfaceAttribs, 0); in createPbufferSurface()
121 if (eglSurface == EGL14.EGL_NO_SURFACE) { in createPbufferSurface()
133 return eglSurface != EGL14.EGL_NO_SURFACE; in hasSurface()
139 EGL14.eglQuerySurface(eglDisplay, eglSurface, EGL14.EGL_WIDTH, widthArray, 0); in surfaceWidth()
146 EGL14.eglQuerySurface(eglDisplay, eglSurface, EGL14.EGL_HEIGHT, heightArray, 0); in surfaceHeight()
[all …]
DEglBase10.java54 private EGLSurface eglSurface = EGL10.EGL_NO_SURFACE; field in EglBase10
153 if (eglSurface != EGL10.EGL_NO_SURFACE) { in createSurfaceInternal()
157 eglSurface = egl.eglCreateWindowSurface(eglDisplay, eglConfig, nativeWindow, surfaceAttribs); in createSurfaceInternal()
158 if (eglSurface == EGL10.EGL_NO_SURFACE) { in createSurfaceInternal()
172 if (eglSurface != EGL10.EGL_NO_SURFACE) { in createPbufferSurface()
176 eglSurface = egl.eglCreatePbufferSurface(eglDisplay, eglConfig, surfaceAttribs); in createPbufferSurface()
177 if (eglSurface == EGL10.EGL_NO_SURFACE) { in createPbufferSurface()
189 return eglSurface != EGL10.EGL_NO_SURFACE; in hasSurface()
195 egl.eglQuerySurface(eglDisplay, eglSurface, EGL10.EGL_WIDTH, widthArray); in surfaceWidth()
202 egl.eglQuerySurface(eglDisplay, eglSurface, EGL10.EGL_HEIGHT, heightArray); in surfaceHeight()
[all …]
/external/angle/src/libGLESv2/
Dentry_points_egl_ext.cpp42 Surface *eglSurface = static_cast<Surface *>(surface); in EGL_QuerySurfacePointerANGLE() local
44 Error error = ValidateSurface(display, eglSurface); in EGL_QuerySurfacePointerANGLE()
48 GetSurfaceIfValid(display, eglSurface)); in EGL_QuerySurfacePointerANGLE()
61 GetSurfaceIfValid(display, eglSurface)); in EGL_QuerySurfacePointerANGLE()
72 GetSurfaceIfValid(display, eglSurface)); in EGL_QuerySurfacePointerANGLE()
80 GetSurfaceIfValid(display, eglSurface)); in EGL_QuerySurfacePointerANGLE()
86 GetSurfaceIfValid(display, eglSurface)); in EGL_QuerySurfacePointerANGLE()
90 error = eglSurface->querySurfacePointerANGLE(attribute, value); in EGL_QuerySurfacePointerANGLE()
94 GetSurfaceIfValid(display, eglSurface)); in EGL_QuerySurfacePointerANGLE()
117 Surface *eglSurface = static_cast<Surface *>(surface); in EGL_PostSubBufferNV() local
[all …]
Dentry_points_egl.cpp326 Surface *eglSurface = static_cast<Surface *>(surface); in EGL_DestroySurface() local
328 ANGLE_EGL_TRY_RETURN(thread, ValidateDestroySurface(display, eglSurface, surface), in EGL_DestroySurface()
329 "eglDestroySurface", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); in EGL_DestroySurface()
331 ANGLE_EGL_TRY_RETURN(thread, display->destroySurface(eglSurface), "eglDestroySurface", in EGL_DestroySurface()
332 GetSurfaceIfValid(display, eglSurface), EGL_FALSE); in EGL_DestroySurface()
351 const Surface *eglSurface = static_cast<const Surface *>(surface); in EGL_QuerySurface() local
353 ANGLE_EGL_TRY_RETURN(thread, ValidateQuerySurface(display, eglSurface, attribute, value), in EGL_QuerySurface()
354 "eglQuerySurface", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); in EGL_QuerySurface()
356 QuerySurfaceAttrib(eglSurface, attribute, value); in EGL_QuerySurface()
567 Surface *eglSurface = (Surface *)surface; in EGL_SwapBuffers() local
[all …]
/external/swiftshader/src/OpenGL/libEGL/
DlibEGL.cpp449 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface); in DestroySurface() local
453 if(!validateSurface(display, eglSurface)) in DestroySurface()
474 egl::Surface *eglSurface = (egl::Surface*)surface; in QuerySurface() local
478 if(!validateSurface(display, eglSurface)) in QuerySurface()
497 *value = eglSurface->getConfigID(); in QuerySurface()
500 *value = eglSurface->getHeight(); in QuerySurface()
506 …if(eglSurface->isPBufferSurface()) // For a window or pixmap surface, the contents of *value are… in QuerySurface()
508 *value = eglSurface->getLargestPBuffer(); in QuerySurface()
512 …if(eglSurface->isPBufferSurface()) // For a window or pixmap surface, the contents of *value are… in QuerySurface()
518 …if(eglSurface->isPBufferSurface()) // For a window or pixmap surface, the contents of *value are… in QuerySurface()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
DOGLES2HelloAPI_LinuxX11.cpp299 …GLSurface( Window nativeWindow, EGLDisplay eglDisplay, EGLConfig eglConfig, EGLSurface& eglSurface) in CreateEGLSurface() argument
310eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, (EGLNativeWindowType)nativeWindow, NULL… in CreateEGLSurface()
329 bool SetupEGLContext( EGLDisplay eglDisplay, EGLConfig eglConfig, EGLSurface eglSurface, EGLContext… in SetupEGLContext() argument
366 eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in SetupEGLContext()
587 bool RenderScene( GLuint shaderProgram, EGLDisplay eglDisplay, EGLSurface eglSurface, Display* nati… in RenderScene() argument
656 if (!eglSwapBuffers(eglDisplay, eglSurface) ) in RenderScene()
758 EGLSurface eglSurface = NULL; in main() local
793 if (!CreateEGLSurface(nativeWindow, eglDisplay, eglConfig, eglSurface)) in main()
799 if (!SetupEGLContext(eglDisplay, eglConfig, eglSurface, eglContext)) in main()
819 if (!RenderScene(shaderProgram, eglDisplay, eglSurface, nativeDisplay)) in main()
DOGLES2HelloAPI_Windows.cpp160 EGLSurface eglSurface = 0; in WinMain() local
309 eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, eglWindow, NULL); in WinMain()
311 if(eglSurface == EGL_NO_SURFACE) in WinMain()
314 eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, NULL, NULL); in WinMain()
345 eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in WinMain()
512 eglSwapBuffers(eglDisplay, eglSurface); in WinMain()
DOGLES2HelloAPI_OSX.mm192 @Output eglSurface The EGLSurface created
199 - (BOOL) createEGLSurface:(EGLSurface &)eglSurface fromDisplay:(EGLDisplay)eglDisplay withConfig:(E…
212 eglSurface = eglCreateWindowSurface(eglDisplay, eglConfig, (EGLNativeWindowType)view, NULL);
226 @Input eglSurface The EGLSurface created by the application
231 withSurface:(EGLSurface)eglSurface
268 eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext);
556 @Input eglSurface The EGLSurface created by the application
/external/angle/src/libANGLE/
DvalidationEGL.cpp3152 Error ValidateSyncControlCHROMIUM(const Display *display, const Surface *eglSurface) in ValidateSyncControlCHROMIUM() argument
3155 ANGLE_TRY(ValidateSurface(display, eglSurface)); in ValidateSyncControlCHROMIUM()
3166 Error ValidateSyncControlRateANGLE(const Display *display, const Surface *eglSurface) in ValidateSyncControlRateANGLE() argument
3169 ANGLE_TRY(ValidateSurface(display, eglSurface)); in ValidateSyncControlRateANGLE()
3181 const Surface *eglSurface, in ValidateGetMscRateANGLE() argument
3185 ANGLE_TRY(ValidateSyncControlRateANGLE(display, eglSurface)); in ValidateGetMscRateANGLE()
3200 const Surface *eglSurface, in ValidateGetSyncValuesCHROMIUM() argument
3205 ANGLE_TRY(ValidateSyncControlCHROMIUM(display, eglSurface)); in ValidateGetSyncValuesCHROMIUM()
3225 const EGLSurface eglSurface) in ValidateDestroySurface() argument
3229 if (eglSurface == EGL_NO_SURFACE) in ValidateDestroySurface()
[all …]
DvalidationEGL.h189 const EGLSurface eglSurface);
208 const EGLSurface eglSurface,
215 const EGLSurface eglSurface,
/external/deqp/modules/egl/
DteglRenderCase.cpp143 …EGLSurface eglSurface = createWindowSurface(nativeDisplay, *window, display, config, DE_NULL… in executeForConfig() local
144 eglu::UniqueSurface surface (egl, display, eglSurface); in executeForConfig()
167 …EGLSurface eglSurface = createPixmapSurface(nativeDisplay, *pixmap, display, config, DE_NULL… in executeForConfig() local
168 eglu::UniqueSurface surface (egl, display, eglSurface); in executeForConfig()
DteglResizeTests.cpp175 const EGLSurface eglSurface = eglu::createWindowSurface(nativeDisplay, in init() local
180 MovePtr<UniqueSurface> surface (new UniqueSurface(egl, eglDisplay, eglSurface)); in init()
330 EGLSurface eglSurface, in checkSurfaceSize() argument
336 IVec2 eglSize = eglu::getSurfaceSize(egl, eglDisplay, eglSurface); in checkSurfaceSize()
DteglNegativePartialUpdateTests.cpp119 …rrentEGLContext (const Library& egl, EGLDisplay eglDisplay, EGLSurface eglSurface, EGLConfig eglCo… in initAndMakeCurrentEGLContext() argument
126 TCU_CHECK(eglSurface != EGL_NO_SURFACE); in initAndMakeCurrentEGLContext()
127 egl.makeCurrent(eglDisplay, eglSurface, eglSurface, eglContext); in initAndMakeCurrentEGLContext()
DteglGLES2SharingThreadedTests.cpp219 EGLSurface eglSurface; member in deqp::egl::GLES2ThreadTest::EGLThread
227 , eglSurface (EGL_NO_SURFACE) in EGLThread()
241 egl.destroySurface(runtimeContext->display, eglSurface); in deinit()
242 eglSurface = EGL_NO_SURFACE; in deinit()
708 thread.eglSurface = m_surface->surface; in exec()