Lines Matching refs:eglSurface
458 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface); in DestroySurface() local
462 if(!validateSurface(display, eglSurface)) in DestroySurface()
483 egl::Surface *eglSurface = (egl::Surface*)surface; in QuerySurface() local
487 if(!validateSurface(display, eglSurface)) in QuerySurface()
506 *value = eglSurface->getConfigID(); in QuerySurface()
509 *value = eglSurface->getHeight(); in QuerySurface()
515 …if(eglSurface->isPBufferSurface()) // For a window or pixmap surface, the contents of *value are… in QuerySurface()
517 *value = eglSurface->getLargestPBuffer(); in QuerySurface()
521 …if(eglSurface->isPBufferSurface()) // For a window or pixmap surface, the contents of *value are… in QuerySurface()
527 …if(eglSurface->isPBufferSurface()) // For a window or pixmap surface, the contents of *value are… in QuerySurface()
529 *value = eglSurface->getMipmapLevel(); in QuerySurface()
533 *value = eglSurface->getMultisampleResolve(); in QuerySurface()
536 *value = eglSurface->getPixelAspectRatio(); in QuerySurface()
539 *value = eglSurface->getRenderBuffer(); in QuerySurface()
542 *value = eglSurface->getSwapBehavior(); in QuerySurface()
545 …if(eglSurface->isPBufferSurface()) // For a window or pixmap surface, the contents of *value are… in QuerySurface()
547 *value = eglSurface->getTextureFormat(); in QuerySurface()
551 …if(eglSurface->isPBufferSurface()) // For a window or pixmap surface, the contents of *value are… in QuerySurface()
553 *value = eglSurface->getTextureTarget(); in QuerySurface()
560 *value = eglSurface->getWidth(); in QuerySurface()
657 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface); in SurfaceAttrib() local
661 if(!validateSurface(display, eglSurface)) in SurfaceAttrib()
669 eglSurface->setMipmapLevel(value); in SurfaceAttrib()
677 if(!(eglSurface->getSurfaceType() & EGL_MULTISAMPLE_RESOLVE_BOX_BIT)) in SurfaceAttrib()
685 eglSurface->setMultisampleResolve(value); in SurfaceAttrib()
693 if(!(eglSurface->getSurfaceType() & EGL_SWAP_BEHAVIOR_PRESERVED_BIT)) in SurfaceAttrib()
701 eglSurface->setSwapBehavior(value); in SurfaceAttrib()
715 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface); in BindTexImage() local
719 if(!validateSurface(display, eglSurface)) in BindTexImage()
729 if(surface == EGL_NO_SURFACE || eglSurface->isWindowSurface()) in BindTexImage()
734 if(eglSurface->getBoundTexture()) in BindTexImage()
739 if(eglSurface->getTextureFormat() == EGL_NO_TEXTURE) in BindTexImage()
748 context->bindTexImage(eglSurface); in BindTexImage()
759 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface); in ReleaseTexImage() local
763 if(!validateSurface(display, eglSurface)) in ReleaseTexImage()
773 if(surface == EGL_NO_SURFACE || eglSurface->isWindowSurface()) in ReleaseTexImage()
778 if(eglSurface->getTextureFormat() == EGL_NO_TEXTURE) in ReleaseTexImage()
783 egl::Texture *texture = eglSurface->getBoundTexture(); in ReleaseTexImage()
1146 egl::Surface *eglSurface = (egl::Surface*)surface; in SwapBuffers() local
1151 if(!validateSurface(display, eglSurface)) in SwapBuffers()
1162 eglSurface->swap(); in SwapBuffers()
1172 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface); in CopyBuffers() local
1176 if(!validateSurface(display, eglSurface)) in CopyBuffers()