Lines Matching refs:surface

126 #define VALIDATE_SURFACE_RETURN(surface, ret)    \  argument
127 if (surface != EGL_NO_SURFACE) { \
128 egl_surface_t* s( static_cast<egl_surface_t*>(surface) ); \
638 egl_surface_t* surface = egl_window_surface_t::create( in eglCreateWindowSurface() local
640 if (!surface) { in eglCreateWindowSurface()
644 return surface; in eglCreateWindowSurface()
692 egl_surface_t* surface = egl_pbuffer_surface_t::create(dpy, config, in eglCreatePbufferSurface() local
694 if (!surface) { in eglCreatePbufferSurface()
699 surface->setTextureFormat(texFormat); in eglCreatePbufferSurface()
700 surface->setTextureTarget(texTarget); in eglCreatePbufferSurface()
702 return surface; in eglCreatePbufferSurface()
724 egl_surface_t* surface(static_cast<egl_surface_t*>(eglSurface)); in eglDestroySurface() local
725 delete surface; in eglDestroySurface()
735 egl_surface_t* surface( static_cast<egl_surface_t*>(eglSurface) ); in eglQuerySurface() local
739 ret = s_display.getConfigAttrib(surface->config, EGL_CONFIG_ID, value); in eglQuerySurface()
742 *value = surface->getWidth(); in eglQuerySurface()
745 *value = surface->getHeight(); in eglQuerySurface()
748 *value = surface->getTextureFormat(); in eglQuerySurface()
751 *value = surface->getTextureTarget(); in eglQuerySurface()
754 *value = surface->getSwapBehavior(); in eglQuerySurface()
759 if (surface->getSurfaceType() & EGL_PBUFFER_BIT) *value = EGL_FALSE; in eglQuerySurface()
764 if (surface->getSurfaceType() & EGL_PBUFFER_BIT) *value = 0; in eglQuerySurface()
818 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) in eglSurfaceAttrib() argument
826 VALIDATE_SURFACE_RETURN(surface, EGL_FALSE); in eglSurfaceAttrib()
827 if (surface == EGL_NO_SURFACE) { in eglSurfaceAttrib()
857 egl_surface_t* surface( static_cast<egl_surface_t*>(eglSurface) ); in eglBindTexImage() local
859 if (surface->getTextureFormat() == EGL_NO_TEXTURE) { in eglBindTexImage()
863 if (!(surface->getSurfaceType() & EGL_PBUFFER_BIT)) { in eglBindTexImage()
868 egl_pbuffer_surface_t* pbSurface = (egl_pbuffer_surface_t*)surface; in eglBindTexImage()
876 EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) in eglReleaseTexImage() argument
880 (void)surface; in eglReleaseTexImage()
1181 EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target) in eglCopyBuffers() argument
1185 (void)surface; in eglCopyBuffers()
1190 EGLBoolean eglLockSurfaceKHR(EGLDisplay display, EGLSurface surface, const EGLint *attrib_list) in eglLockSurfaceKHR() argument
1194 (void)surface; in eglLockSurfaceKHR()
1199 EGLBoolean eglUnlockSurfaceKHR(EGLDisplay display, EGLSurface surface) in eglUnlockSurfaceKHR() argument
1203 (void)surface; in eglUnlockSurfaceKHR()