• Home
  • Raw
  • Download

Lines Matching refs:surface

181 #define VALIDATE_SURFACE_RETURN(surface, ret)    \  argument
182 if ((surface) != EGL_NO_SURFACE) { \
183 if (!s_display.isSurface((surface))) \
185 egl_surface_t* s( static_cast<egl_surface_t*>(surface) ); \
638 static void s_destroyPendingSurfaceAndSetNull(EGLSurface* surface) { in s_destroyPendingSurfaceAndSetNull() argument
639 if (!surface) in s_destroyPendingSurfaceAndSetNull()
642 if (!s_display.isSurface(*surface)) { in s_destroyPendingSurfaceAndSetNull()
643 *surface = NULL; in s_destroyPendingSurfaceAndSetNull()
647 egl_surface_t* surf = static_cast<egl_surface_t *>(*surface); in s_destroyPendingSurfaceAndSetNull()
650 *surface = NULL; in s_destroyPendingSurfaceAndSetNull()
1053 egl_surface_t* surface = egl_window_surface_t::create( in eglCreateWindowSurface() local
1055 if (!surface) { in eglCreateWindowSurface()
1059 return surface; in eglCreateWindowSurface()
1115 egl_surface_t* surface = egl_pbuffer_surface_t::create(dpy, config, in eglCreatePbufferSurface() local
1117 if (!surface) { in eglCreatePbufferSurface()
1122 surface->setTextureFormat(texFormat); in eglCreatePbufferSurface()
1123 surface->setTextureTarget(texTarget); in eglCreatePbufferSurface()
1125 return surface; in eglCreatePbufferSurface()
1147 egl_surface_t* surface(static_cast<egl_surface_t*>(eglSurface)); in eglDestroySurface() local
1148 if (surface->isCurrent()) { in eglDestroySurface()
1149 surface->deletePending = 1; in eglDestroySurface()
1151 delete surface; in eglDestroySurface()
1172 egl_surface_t* surface( static_cast<egl_surface_t*>(eglSurface) ); in eglQuerySurface() local
1179 ret = s_display.getConfigAttrib(surface->config, EGL_CONFIG_ID, value); in eglQuerySurface()
1182 *value = surface->getWidth(); in eglQuerySurface()
1185 *value = surface->getHeight(); in eglQuerySurface()
1188 if (surface->getSurfaceType() & EGL_PBUFFER_BIT) { in eglQuerySurface()
1189 *value = surface->getTextureFormat(); in eglQuerySurface()
1193 if (surface->getSurfaceType() & EGL_PBUFFER_BIT) { in eglQuerySurface()
1194 *value = surface->getTextureTarget(); in eglQuerySurface()
1200 ret = s_display.getConfigAttrib(surface->config, EGL_SURFACE_TYPE, in eglQuerySurface()
1214 if (surface->getSurfaceType() & EGL_PBUFFER_BIT) *value = EGL_FALSE; in eglQuerySurface()
1219 if (surface->getSurfaceType() & EGL_PBUFFER_BIT) *value = false; in eglQuerySurface()
1224 if (surface->getSurfaceType() & EGL_PBUFFER_BIT) *value = 0; in eglQuerySurface()
1233 currWidth = surface->getWidth(); in eglQuerySurface()
1234 scaledResolution = currWidth / surface->getNativeWidth(); in eglQuerySurface()
1242 currHeight = surface->getHeight(); in eglQuerySurface()
1243 scaledResolution = currHeight / surface->getNativeHeight(); in eglQuerySurface()
1254 switch (surface->getSurfaceType()) { in eglQuerySurface()
1267 attribute, surface->getSurfaceType()); in eglQuerySurface()
1281 *value = surface->isCollectingTimestamps(); in eglQuerySurface()
1364 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) in eglSurfaceAttrib() argument
1372 VALIDATE_SURFACE_RETURN(surface, EGL_FALSE); in eglSurfaceAttrib()
1373 if (surface == EGL_NO_SURFACE) { in eglSurfaceAttrib()
1379 egl_surface_t* p_surface( static_cast<egl_surface_t*>(surface) ); in eglSurfaceAttrib()
1426 egl_surface_t* surface( static_cast<egl_surface_t*>(eglSurface) ); in eglBindTexImage() local
1428 if (surface->getTextureFormat() == EGL_NO_TEXTURE) { in eglBindTexImage()
1432 if (!(surface->getSurfaceType() & EGL_PBUFFER_BIT)) { in eglBindTexImage()
1437 egl_pbuffer_surface_t* pbSurface = (egl_pbuffer_surface_t*)surface; in eglBindTexImage()
1445 EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) in eglReleaseTexImage() argument
1449 (void)surface; in eglReleaseTexImage()
1951 EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target) in eglCopyBuffers() argument
1955 (void)surface; in eglCopyBuffers()
1960 EGLBoolean eglLockSurfaceKHR(EGLDisplay display, EGLSurface surface, const EGLint *attrib_list) in eglLockSurfaceKHR() argument
1964 (void)surface; in eglLockSurfaceKHR()
1969 EGLBoolean eglUnlockSurfaceKHR(EGLDisplay display, EGLSurface surface) in eglUnlockSurfaceKHR() argument
1973 (void)surface; in eglUnlockSurfaceKHR()