Home
last modified time | relevance | path

Searched refs:eglSurface (Results 1 – 10 of 10) 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/swiftshader/src/OpenGL/libEGL/
DlibEGL.cpp426 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface); in DestroySurface() local
428 if(!validateSurface(display, eglSurface)) in DestroySurface()
449 egl::Surface *eglSurface = (egl::Surface*)surface; in QuerySurface() local
451 if(!validateSurface(display, eglSurface)) in QuerySurface()
470 *value = eglSurface->getConfigID(); in QuerySurface()
473 *value = eglSurface->getHeight(); in QuerySurface()
479 …if(eglSurface->isPBufferSurface()) // For a window or pixmap surface, the contents of *value are… in QuerySurface()
481 *value = eglSurface->getLargestPBuffer(); in QuerySurface()
485 …if(eglSurface->isPBufferSurface()) // For a window or pixmap surface, the contents of *value are… in QuerySurface()
491 …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/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.cpp118 …rrentEGLContext (const Library& egl, EGLDisplay eglDisplay, EGLSurface eglSurface, EGLConfig eglCo… in initAndMakeCurrentEGLContext() argument
125 TCU_CHECK(eglSurface != EGL_NO_SURFACE); in initAndMakeCurrentEGLContext()
126 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()