Lines Matching full:surface
7 // Surface.cpp: Implements the egl::Surface class, representing a drawing surface
11 #include "libANGLE/Surface.h"
66 Surface::Surface(EGLint surfaceType, in Surface() function in egl::Surface
163 Surface::~Surface() {} in ~Surface()
165 rx::FramebufferAttachmentObjectImpl *Surface::getAttachmentImpl() const in getAttachmentImpl()
170 Error Surface::destroyImpl(const Display *display) in destroyImpl()
185 void Surface::postSwap(const gl::Context *context) in postSwap()
199 Error Surface::initialize(const Display *display) in initialize()
267 Error Surface::makeCurrent(const gl::Context *context) in makeCurrent()
279 Error Surface::unMakeCurrent(const gl::Context *context) in unMakeCurrent()
286 Error Surface::releaseRef(const Display *display) in releaseRef()
299 Error Surface::onDestroy(const Display *display) in onDestroy()
309 void Surface::setLabel(EGLLabelKHR label) in setLabel()
314 EGLLabelKHR Surface::getLabel() const in getLabel()
319 EGLint Surface::getType() const in getType()
324 Error Surface::prepareSwap(const gl::Context *context) in prepareSwap()
326 ANGLE_TRACE_EVENT0("gpu.angle", "egl::Surface::prepareSwap"); in prepareSwap()
330 Error Surface::swap(gl::Context *context) in swap()
332 ANGLE_TRACE_EVENT0("gpu.angle", "egl::Surface::swap"); in swap()
342 Error Surface::swapWithDamage(gl::Context *context, const EGLint *rects, EGLint n_rects) in swapWithDamage()
344 ANGLE_TRACE_EVENT0("gpu.angle", "egl::Surface::swapWithDamage"); in swapWithDamage()
354 Error Surface::swapWithFrameToken(gl::Context *context, EGLFrameTokenANGLE frameToken) in swapWithFrameToken()
356 ANGLE_TRACE_EVENT0("gpu.angle", "egl::Surface::swapWithFrameToken"); in swapWithFrameToken()
366 Error Surface::postSubBuffer(const gl::Context *context, in postSubBuffer()
384 Error Surface::setPresentationTime(EGLnsecsANDROID time) in setPresentationTime()
389 Error Surface::querySurfacePointerANGLE(EGLint attribute, void **value) in querySurfacePointerANGLE()
394 EGLint Surface::isPostSubBufferSupported() const in isPostSubBufferSupported()
399 void Surface::setSwapInterval(EGLint interval) in setSwapInterval()
404 void Surface::setMipmapLevel(EGLint level) in setMipmapLevel()
411 void Surface::setMultisampleResolve(EGLenum resolve) in setMultisampleResolve()
418 void Surface::setSwapBehavior(EGLenum behavior) in setSwapBehavior()
425 void Surface::setFixedWidth(EGLint width) in setFixedWidth()
431 void Surface::setFixedHeight(EGLint height) in setFixedHeight()
437 const Config *Surface::getConfig() const in getConfig()
442 EGLint Surface::getPixelAspectRatio() const in getPixelAspectRatio()
447 EGLenum Surface::getRenderBuffer() const in getRenderBuffer()
452 EGLenum Surface::getSwapBehavior() const in getSwapBehavior()
457 TextureFormat Surface::getTextureFormat() const in getTextureFormat()
462 EGLenum Surface::getTextureTarget() const in getTextureTarget()
467 bool Surface::getLargestPbuffer() const in getLargestPbuffer()
472 EGLenum Surface::getGLColorspace() const in getGLColorspace()
477 EGLenum Surface::getVGAlphaFormat() const in getVGAlphaFormat()
482 EGLenum Surface::getVGColorspace() const in getVGColorspace()
487 bool Surface::getMipmapTexture() const in getMipmapTexture()
492 EGLint Surface::getMipmapLevel() const in getMipmapLevel()
497 EGLint Surface::getHorizontalResolution() const in getHorizontalResolution()
502 EGLint Surface::getVerticalResolution() const in getVerticalResolution()
507 EGLenum Surface::getMultisampleResolve() const in getMultisampleResolve()
512 EGLint Surface::isFixedSize() const in isFixedSize()
517 EGLint Surface::getWidth() const in getWidth()
522 EGLint Surface::getHeight() const in getHeight()
527 egl::Error Surface::getUserWidth(const egl::Display *display, EGLint *value) const in getUserWidth()
540 egl::Error Surface::getUserHeight(const egl::Display *display, EGLint *value) const in getUserHeight()
553 Error Surface::bindTexImage(gl::Context *context, gl::Texture *texture, EGLint buffer) in bindTexImage()
557 Surface *previousSurface = texture->getBoundSurface(); in bindTexImage()
572 Error Surface::releaseTexImage(const gl::Context *context, EGLint buffer) in releaseTexImage()
584 Error Surface::getSyncValues(EGLuint64KHR *ust, EGLuint64KHR *msc, EGLuint64KHR *sbc) in getSyncValues()
589 Error Surface::getMscRate(EGLint *numerator, EGLint *denominator) in getMscRate()
594 Error Surface::releaseTexImageFromTexture(const gl::Context *context) in releaseTexImageFromTexture()
601 gl::Extents Surface::getAttachmentSize(const gl::ImageIndex & /*target*/) const in getAttachmentSize()
606 gl::Format Surface::getAttachmentFormat(GLenum binding, const gl::ImageIndex &target) const in getAttachmentFormat()
611 GLsizei Surface::getAttachmentSamples(const gl::ImageIndex &target) const in getAttachmentSamples()
616 bool Surface::isRenderable(const gl::Context *context, in isRenderable()
623 bool Surface::isYUV() const in isYUV()
629 bool Surface::isExternalImageWithoutIndividualSync() const in isExternalImageWithoutIndividualSync()
634 bool Surface::hasFrontBufferUsage() const in hasFrontBufferUsage()
639 GLuint Surface::getId() const in getId()
644 Error Surface::getBufferAgeImpl(const gl::Context *context, EGLint *age) const in getBufferAgeImpl()
659 Error Surface::getBufferAge(const gl::Context *context, EGLint *age) in getBufferAge()
669 gl::InitState Surface::initState(GLenum binding, const gl::ImageIndex & /*imageIndex*/) const in initState()
684 void Surface::setInitState(GLenum binding, in setInitState()
703 void Surface::setTimestampsEnabled(bool enabled) in setTimestampsEnabled()
709 bool Surface::isTimestampsEnabled() const in isTimestampsEnabled()
714 Error Surface::setAutoRefreshEnabled(bool enabled) in setAutoRefreshEnabled()
721 bool Surface::hasProtectedContent() const in hasProtectedContent()
726 const SupportedCompositorTiming &Surface::getSupportedCompositorTimings() const in getSupportedCompositorTimings()
731 Error Surface::getCompositorTiming(EGLint numTimestamps, in getCompositorTiming()
738 Error Surface::getNextFrameId(EGLuint64KHR *frameId) const in getNextFrameId()
743 const SupportedTimestamps &Surface::getSupportedTimestamps() const in getSupportedTimestamps()
748 Error Surface::getFrameTimestamps(EGLuint64KHR frameId, in getFrameTimestamps()
756 void Surface::onSubjectStateChange(angle::SubjectIndex index, angle::SubjectMessage message) in onSubjectStateChange()
776 Error Surface::setRenderBuffer(EGLint renderBuffer) in setRenderBuffer()
783 bool Surface::isLocked() const in isLocked()
788 EGLint Surface::getBitmapPitch() const in getBitmapPitch()
793 EGLint Surface::getBitmapOrigin() const in getBitmapOrigin()
798 EGLint Surface::getRedOffset() const in getRedOffset()
811 EGLint Surface::getGreenOffset() const in getGreenOffset()
824 EGLint Surface::getBlueOffset() const in getBlueOffset()
837 EGLint Surface::getAlphaOffset() const in getAlphaOffset()
848 EGLint Surface::getLuminanceOffset() const in getLuminanceOffset()
853 EGLint Surface::getBitmapPixelSize() const in getBitmapPixelSize()
860 EGLAttribKHR Surface::getBitmapPointer() const in getBitmapPointer()
865 egl::Error Surface::lockSurfaceKHR(const egl::Display *display, const AttributeMap &attributes) in lockSurfaceKHR()
877 egl::Error Surface::unlockSurfaceKHR(const egl::Display *display) in unlockSurfaceKHR()
890 : Surface(EGL_WINDOW_BIT, id, config, attribs, robustResourceInit) in WindowSurface()
895 void Surface::setDamageRegion(const EGLint *rects, EGLint n_rects) in setDamageRegion()
907 : Surface(EGL_PBUFFER_BIT, id, config, attribs, robustResourceInit) in PbufferSurface()
919 : Surface(EGL_PBUFFER_BIT, id, config, attribs, robustResourceInit, buftype) in PbufferSurface()
933 : Surface(EGL_PIXMAP_BIT, id, config, attribs, robustResourceInit) in PixmapSurface()
946 void SurfaceDeleter::operator()(Surface *surface) in operator ()() argument
948 ANGLE_SWALLOW_ERR(surface->onDestroy(mDisplay)); in operator ()()