Lines Matching refs:surface

1260     // (it's possible that the surface is not fully initialized)
1265 egl_surface_t* surface;
1266 surface = new egl_window_surface_v2_t(dpy, config, depthFormat,
1269 if (!surface->initCheck()) {
1272 delete surface;
1273 surface = 0;
1275 return surface;
1311 egl_surface_t* surface =
1315 if (!surface->initCheck()) {
1318 delete surface;
1319 surface = 0;
1321 return surface;
1355 egl_surface_t* surface =
1358 if (!surface->initCheck()) {
1361 delete surface;
1362 surface = 0;
1364 return surface;
1577 egl_surface_t* surface( static_cast<egl_surface_t*>(eglSurface) );
1578 if (!surface->isValid())
1580 if (surface->dpy != dpy)
1582 if (surface->ctx) {
1583 // FIXME: this surface is current check what the spec says
1584 surface->disconnect();
1585 surface->ctx = 0;
1587 delete surface;
1597 egl_surface_t* surface = static_cast<egl_surface_t*>(eglSurface);
1598 if (!surface->isValid())
1600 if (surface->dpy != dpy)
1606 ret = getConfigAttrib(dpy, surface->config, EGL_CONFIG_ID, value);
1609 *value = surface->getWidth();
1612 *value = surface->getHeight();
1615 // not modified for a window or pixmap surface
1635 *value = surface->getHorizontalResolution();
1639 *value = surface->getVerticalResolution();
1643 int wr = surface->getHorizontalResolution();
1644 int hr = surface->getVerticalResolution();
1648 *value = surface->getSwapBehavior();
1724 // one of the surface is bound to a context in another thread
1741 // FIXME: unlock/disconnect the read surface too
1767 // FIXME: lock/connect the read surface too
1786 // FIXME: unlock/disconnect the read surface too
1805 // eglGetCurrentSurface returns the read or draw surface attached
1866 // post the surface
1872 // if this surface is also the read surface of the context
1884 EGLBoolean eglCopyBuffers( EGLDisplay dpy, EGLSurface surface,
1921 EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value)
1930 EGLDisplay dpy, EGLSurface surface, EGLint buffer)
1939 EGLDisplay dpy, EGLSurface surface, EGLint buffer)
2008 EGLBoolean eglLockSurfaceKHR(EGLDisplay dpy, EGLSurface surface,
2015 EGLBoolean eglUnlockSurfaceKHR(EGLDisplay dpy, EGLSurface surface)
2162 // post the surface