• Home
  • Raw
  • Download

Lines Matching refs:surface

125 #define VALIDATE_SURFACE_RETURN(surface, ret)    \  argument
126 if (surface != EGL_NO_SURFACE) { \
127 egl_surface_t* s( static_cast<egl_surface_t*>(surface) ); \
637 egl_surface_t* surface = egl_window_surface_t::create( in eglCreateWindowSurface() local
639 if (!surface) { in eglCreateWindowSurface()
643 return surface; in eglCreateWindowSurface()
691 egl_surface_t* surface = egl_pbuffer_surface_t::create(dpy, config, in eglCreatePbufferSurface() local
693 if (!surface) { in eglCreatePbufferSurface()
698 surface->setTextureFormat(texFormat); in eglCreatePbufferSurface()
699 surface->setTextureTarget(texTarget); in eglCreatePbufferSurface()
701 return surface; in eglCreatePbufferSurface()
723 egl_surface_t* surface(static_cast<egl_surface_t*>(eglSurface)); in eglDestroySurface() local
724 delete surface; in eglDestroySurface()
734 egl_surface_t* surface( static_cast<egl_surface_t*>(eglSurface) ); in eglQuerySurface() local
738 ret = s_display.getConfigAttrib(surface->config, EGL_CONFIG_ID, value); in eglQuerySurface()
741 *value = surface->getWidth(); in eglQuerySurface()
744 *value = surface->getHeight(); in eglQuerySurface()
747 *value = surface->getTextureFormat(); in eglQuerySurface()
750 *value = surface->getTextureTarget(); in eglQuerySurface()
753 *value = surface->getSwapBehavior(); in eglQuerySurface()
758 if (surface->getSurfaceType() & EGL_PBUFFER_BIT) *value = EGL_FALSE; in eglQuerySurface()
808 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) in eglSurfaceAttrib() argument
812 (void)surface; in eglSurfaceAttrib()
831 egl_surface_t* surface( static_cast<egl_surface_t*>(eglSurface) ); in eglBindTexImage() local
833 if (surface->getTextureFormat() == EGL_NO_TEXTURE) { in eglBindTexImage()
837 if (!(surface->getSurfaceType() & EGL_PBUFFER_BIT)) { in eglBindTexImage()
842 egl_pbuffer_surface_t* pbSurface = (egl_pbuffer_surface_t*)surface; in eglBindTexImage()
850 EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) in eglReleaseTexImage() argument
854 (void)surface; in eglReleaseTexImage()
1150 EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target) in eglCopyBuffers() argument
1154 (void)surface; in eglCopyBuffers()
1159 EGLBoolean eglLockSurfaceKHR(EGLDisplay display, EGLSurface surface, const EGLint *attrib_list) in eglLockSurfaceKHR() argument
1163 (void)surface; in eglLockSurfaceKHR()
1168 EGLBoolean eglUnlockSurfaceKHR(EGLDisplay display, EGLSurface surface) in eglUnlockSurfaceKHR() argument
1172 (void)surface; in eglUnlockSurfaceKHR()