Home
last modified time | relevance | path

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

/external/webrtc/sdk/android/src/java/org/webrtc/
DEglBase14Impl.java39 private EGLSurface eglSurface = EGL14.EGL_NO_SURFACE; field in EglBase14Impl
99 if (eglSurface != EGL14.EGL_NO_SURFACE) { in createSurfaceInternal()
103 eglSurface = EGL14.eglCreateWindowSurface(eglDisplay, eglConfig, surface, surfaceAttribs, 0); in createSurfaceInternal()
104 if (eglSurface == EGL14.EGL_NO_SURFACE) { in createSurfaceInternal()
118 if (eglSurface != EGL14.EGL_NO_SURFACE) { in createPbufferSurface()
122 eglSurface = EGL14.eglCreatePbufferSurface(eglDisplay, eglConfig, surfaceAttribs, 0); in createPbufferSurface()
123 if (eglSurface == EGL14.EGL_NO_SURFACE) { in createPbufferSurface()
136 return eglSurface != EGL14.EGL_NO_SURFACE; in hasSurface()
142 EGL14.eglQuerySurface(eglDisplay, eglSurface, EGL14.EGL_WIDTH, widthArray, 0); in surfaceWidth()
149 EGL14.eglQuerySurface(eglDisplay, eglSurface, EGL14.EGL_HEIGHT, heightArray, 0); in surfaceHeight()
[all …]
DEglBase10Impl.java38 private EGLSurface eglSurface = EGL10.EGL_NO_SURFACE; field in EglBase10Impl
156 if (eglSurface != EGL10.EGL_NO_SURFACE) { in createSurfaceInternal()
160 eglSurface = egl.eglCreateWindowSurface(eglDisplay, eglConfig, nativeWindow, surfaceAttribs); in createSurfaceInternal()
161 if (eglSurface == EGL10.EGL_NO_SURFACE) { in createSurfaceInternal()
176 if (eglSurface != EGL10.EGL_NO_SURFACE) { in createPbufferSurface()
180 eglSurface = egl.eglCreatePbufferSurface(eglDisplay, eglConfig, surfaceAttribs); in createPbufferSurface()
181 if (eglSurface == EGL10.EGL_NO_SURFACE) { in createPbufferSurface()
194 return eglSurface != EGL10.EGL_NO_SURFACE; in hasSurface()
200 egl.eglQuerySurface(eglDisplay, eglSurface, EGL10.EGL_WIDTH, widthArray); in surfaceWidth()
207 egl.eglQuerySurface(eglDisplay, eglSurface, EGL10.EGL_HEIGHT, heightArray); in surfaceHeight()
[all …]
/external/angle/src/libGLESv2/
Degl_ext_stubs.cpp236 Surface *eglSurface, in PostSubBufferNV() argument
244 Error error = eglSurface->postSubBuffer(thread->getContext(), x, y, width, height); in PostSubBufferNV()
247 thread->setError(error, "eglPostSubBufferNV", GetSurfaceIfValid(display, eglSurface)); in PostSubBufferNV()
257 Surface *eglSurface, in PresentationTimeANDROID() argument
262 ANGLE_EGL_TRY_RETURN(thread, eglSurface->setPresentationTime(time), in PresentationTimeANDROID()
263 "eglPresentationTimeANDROID", GetSurfaceIfValid(display, eglSurface), in PresentationTimeANDROID()
271 Surface *eglSurface, in GetCompositorTimingSupportedANDROID() argument
275 return eglSurface->getSupportedCompositorTimings().test(nameInternal); in GetCompositorTimingSupportedANDROID()
280 Surface *eglSurface, in GetCompositorTimingANDROID() argument
287 ANGLE_EGL_TRY_RETURN(thread, eglSurface->getCompositorTiming(numTimestamps, names, values), in GetCompositorTimingANDROID()
[all …]
Degl_stubs.cpp58 EGLBoolean BindTexImage(Thread *thread, Display *display, Surface *eglSurface, EGLint buffer) in BindTexImage() argument
67 egl_gl::EGLTextureTargetToTextureType(eglSurface->getTextureTarget()); in BindTexImage()
69 ANGLE_EGL_TRY_RETURN(thread, eglSurface->bindTexImage(context, textureObject, buffer), in BindTexImage()
70 "eglBindTexImage", GetSurfaceIfValid(display, eglSurface), EGL_FALSE); in BindTexImage()
110 Surface *eglSurface, in CopyBuffers() argument
300 EGLBoolean DestroySurface(Thread *thread, Display *display, Surface *eglSurface) in DestroySurface() argument
304 ANGLE_EGL_TRY_RETURN(thread, display->destroySurface(eglSurface), "eglDestroySurface", in DestroySurface()
305 GetSurfaceIfValid(display, eglSurface), EGL_FALSE); in DestroySurface()
550 Surface *eglSurface, in QuerySurface() argument
557 thread, QuerySurfaceAttrib(display, thread->getContext(), eglSurface, attribute, value), in QuerySurface()
[all …]
/external/swiftshader/src/OpenGL/libEGL/
DlibEGL.cpp458 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface); in DestroySurface() local
462 if(!validateSurface(display, eglSurface)) in DestroySurface()
483 egl::Surface *eglSurface = (egl::Surface*)surface; in QuerySurface() local
487 if(!validateSurface(display, eglSurface)) in QuerySurface()
506 *value = eglSurface->getConfigID(); in QuerySurface()
509 *value = eglSurface->getHeight(); in QuerySurface()
515 …if(eglSurface->isPBufferSurface()) // For a window or pixmap surface, the contents of *value are… in QuerySurface()
517 *value = eglSurface->getLargestPBuffer(); in QuerySurface()
521 …if(eglSurface->isPBufferSurface()) // For a window or pixmap surface, the contents of *value are… in QuerySurface()
527 …if(eglSurface->isPBufferSurface()) // For a window or pixmap surface, the contents of *value are… in QuerySurface()
[all …]
/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()
332 EGLSurface eglSurface, in checkSurfaceSize() argument
338 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()
/external/angle/src/libANGLE/
DvalidationEGL.cpp4318 const Surface *eglSurface) in ValidateSyncControlCHROMIUM() argument
4321 ANGLE_VALIDATION_TRY(ValidateSurface(val, display, eglSurface)); in ValidateSyncControlCHROMIUM()
4335 const Surface *eglSurface) in ValidateSyncControlRateANGLE() argument
4338 ANGLE_VALIDATION_TRY(ValidateSurface(val, display, eglSurface)); in ValidateSyncControlRateANGLE()
4352 const Surface *eglSurface, in ValidateGetMscRateANGLE() argument
4356 ANGLE_VALIDATION_TRY(ValidateSyncControlRateANGLE(val, display, eglSurface)); in ValidateGetMscRateANGLE()
4374 const Surface *eglSurface, in ValidateGetSyncValuesCHROMIUM() argument
4379 ANGLE_VALIDATION_TRY(ValidateSyncControlCHROMIUM(val, display, eglSurface)); in ValidateGetSyncValuesCHROMIUM()
4418 const Surface *eglSurface) in ValidateSwapBuffers() argument
4420 ANGLE_VALIDATION_TRY(ValidateSurface(val, display, eglSurface)); in ValidateSwapBuffers()
[all …]