Home | History | Annotate | Download | only in egl

Lines Matching full:surface

125 #define VALIDATE_SURFACE_RETURN(surface, ret)    \
126 if (surface != EGL_NO_SURFACE) { \
127 egl_surface_t* s( static_cast<egl_surface_t*>(surface) ); \
193 //Surface attributes
205 uint32_t rcSurface; //handle to surface created via remote control
628 egl_surface_t* surface = egl_window_surface_t::create(
630 if (!surface) {
634 return surface;
682 egl_surface_t* surface = egl_pbuffer_surface_t::create(dpy, config,
684 if (!surface) {
689 surface->setTextureFormat(texFormat);
690 surface->setTextureTarget(texTarget);
692 return surface;
710 egl_surface_t* surface(static_cast<egl_surface_t*>(eglSurface));
711 delete surface;
721 egl_surface_t* surface( static_cast<egl_surface_t*>(eglSurface) );
725 ret = s_display.getConfigAttrib(surface->config, EGL_CONFIG_ID, value);
728 *value = surface->getWidth();
731 *value = surface->getHeight();
734 *value = surface->getTextureFormat();
737 *value = surface->getTextureTarget();
740 *value = surface->getSwapBehavior();
743 // not modified for a window or pixmap surface
744 // and we ignore it when creating a PBuffer surface (default is EGL_FALSE)
745 if (surface->getSurfaceType() & EGL_PBUFFER_BIT) *value = EGL_FALSE;
790 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value)
809 egl_surface_t* surface( static_cast<egl_surface_t*>(eglSurface) );
811 if (surface->getTextureFormat() == EGL_NO_TEXTURE) {
815 if (!(surface->getSurfaceType() & EGL_PBUFFER_BIT)) {
819 //It's now safe to cast to pbuffer surface
820 egl_pbuffer_surface_t* pbSurface = (egl_pbuffer_surface_t*)surface;
828 EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer)
1106 // post the surface
1113 EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target)
1119 EGLBoolean eglLockSurfaceKHR(EGLDisplay display, EGLSurface surface, const EGLint *attrib_list)
1125 EGLBoolean eglUnlockSurfaceKHR(EGLDisplay display, EGLSurface surface)