Lines Matching refs:Framebuffer
247 Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX,
250 Framebuffer::DIRTY_BIT_DEPTH_ATTACHMENT,
253 Framebuffer::DIRTY_BIT_STENCIL_ATTACHMENT,
310 : mId(Framebuffer::kDefaultDrawFramebufferHandle), in FramebufferState()
351 ASSERT(mId != Framebuffer::kDefaultDrawFramebufferHandle); in FramebufferState()
697 return mId == Framebuffer::kDefaultDrawFramebufferHandle; in isDefault()
707 case Framebuffer::DIRTY_BIT_DEPTH_ATTACHMENT: in updateAttachmentFeedbackLoopAndReturnIfChanged()
713 case Framebuffer::DIRTY_BIT_STENCIL_ATTACHMENT: in updateAttachmentFeedbackLoopAndReturnIfChanged()
721 ASSERT(dirtyBit <= Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX); in updateAttachmentFeedbackLoopAndReturnIfChanged()
747 const FramebufferID Framebuffer::kDefaultDrawFramebufferHandle = {0};
749 Framebuffer::Framebuffer(const Caps &caps, in Framebuffer() function in gl::Framebuffer
771 Framebuffer::Framebuffer(const Context *context, egl::Surface *surface, egl::Surface *readSurface) in Framebuffer() function in gl::Framebuffer
812 Framebuffer::Framebuffer(const Context *context, in Framebuffer() function in gl::Framebuffer
827 Framebuffer::~Framebuffer() in ~Framebuffer()
832 void Framebuffer::onDestroy(const Context *context) in onDestroy()
853 void Framebuffer::setReadSurface(const Context *context, egl::Surface *readSurface) in setReadSurface()
863 void Framebuffer::setLabel(const Context *context, const std::string &label) in setLabel()
868 const std::string &Framebuffer::getLabel() const in getLabel()
873 bool Framebuffer::detachTexture(const Context *context, TextureID textureId) in detachTexture()
878 bool Framebuffer::detachRenderbuffer(const Context *context, RenderbufferID renderbufferId) in detachRenderbuffer()
883 bool Framebuffer::detachResourceById(const Context *context, GLenum resourceType, GLuint resourceId) in detachResourceById()
924 bool Framebuffer::detachMatchingAttachment(const Context *context, in detachMatchingAttachment()
940 const FramebufferAttachment *Framebuffer::getColorAttachment(size_t colorAttachment) const in getColorAttachment()
945 const FramebufferAttachment *Framebuffer::getDepthAttachment() const in getDepthAttachment()
950 const FramebufferAttachment *Framebuffer::getStencilAttachment() const in getStencilAttachment()
955 const FramebufferAttachment *Framebuffer::getDepthStencilAttachment() const in getDepthStencilAttachment()
960 const FramebufferAttachment *Framebuffer::getDepthOrStencilAttachment() const in getDepthOrStencilAttachment()
965 const FramebufferAttachment *Framebuffer::getStencilOrDepthStencilAttachment() const in getStencilOrDepthStencilAttachment()
970 const FramebufferAttachment *Framebuffer::getReadColorAttachment() const in getReadColorAttachment()
975 GLenum Framebuffer::getReadColorAttachmentType() const in getReadColorAttachmentType()
981 const FramebufferAttachment *Framebuffer::getFirstColorAttachment() const in getFirstColorAttachment()
986 const FramebufferAttachment *Framebuffer::getFirstNonNullAttachment() const in getFirstNonNullAttachment()
991 const FramebufferAttachment *Framebuffer::getAttachment(const Context *context, in getAttachment()
997 size_t Framebuffer::getDrawbufferStateCount() const in getDrawbufferStateCount()
1002 GLenum Framebuffer::getDrawBufferState(size_t drawBuffer) const in getDrawBufferState()
1008 const std::vector<GLenum> &Framebuffer::getDrawBufferStates() const in getDrawBufferStates()
1013 void Framebuffer::setDrawBuffers(size_t count, const GLenum *buffers) in setDrawBuffers()
1036 const FramebufferAttachment *Framebuffer::getDrawBuffer(size_t drawBuffer) const in getDrawBuffer()
1041 ComponentType Framebuffer::getDrawbufferWriteType(size_t drawBuffer) const in getDrawbufferWriteType()
1062 ComponentTypeMask Framebuffer::getDrawBufferTypeMask() const in getDrawBufferTypeMask()
1067 DrawBufferMask Framebuffer::getDrawBufferMask() const in getDrawBufferMask()
1072 bool Framebuffer::hasEnabledDrawBuffer() const in hasEnabledDrawBuffer()
1085 GLenum Framebuffer::getReadBufferState() const in getReadBufferState()
1090 void Framebuffer::setReadBuffer(GLenum buffer) in setReadBuffer()
1099 size_t Framebuffer::getNumColorAttachments() const in getNumColorAttachments()
1104 bool Framebuffer::hasDepth() const in hasDepth()
1109 bool Framebuffer::hasStencil() const in hasStencil()
1114 bool Framebuffer::usingExtendedDrawBuffers() const in usingExtendedDrawBuffers()
1127 void Framebuffer::invalidateCompletenessCache() in invalidateCompletenessCache()
1136 GLenum Framebuffer::checkStatusImpl(const Context *context) const in checkStatusImpl()
1166 GLenum Framebuffer::checkStatusWithGLFrontEnd(const Context *context) const in checkStatusWithGLFrontEnd()
1432 angle::Result Framebuffer::discard(const Context *context, size_t count, const GLenum *attachments) in discard()
1441 angle::Result Framebuffer::invalidate(const Context *context, in invalidate()
1452 bool Framebuffer::partialClearNeedsInit(const Context *context, in partialClearNeedsInit()
1488 angle::Result Framebuffer::invalidateSub(const Context *context, in invalidateSub()
1500 angle::Result Framebuffer::clear(const Context *context, GLbitfield mask) in clear()
1537 angle::Result Framebuffer::clearBufferfv(const Context *context, in clearBufferfv()
1554 angle::Result Framebuffer::clearBufferuiv(const Context *context, in clearBufferuiv()
1571 angle::Result Framebuffer::clearBufferiv(const Context *context, in clearBufferiv()
1588 angle::Result Framebuffer::clearBufferfi(const Context *context, in clearBufferfi()
1620 GLenum Framebuffer::getImplementationColorReadFormat(const Context *context) in getImplementationColorReadFormat()
1626 GLenum Framebuffer::getImplementationColorReadType(const Context *context) in getImplementationColorReadType()
1632 angle::Result Framebuffer::readPixels(const Context *context, in readPixels()
1649 angle::Result Framebuffer::blit(const Context *context, in blit()
1682 int Framebuffer::getSamples(const Context *context) const in getSamples()
1687 int Framebuffer::getResourceSamples(const Context *context) const in getResourceSamples()
1692 int Framebuffer::getCachedSamples(const Context *context, AttachmentSampleType sampleType) const in getCachedSamples()
1717 angle::Result Framebuffer::getSamplePosition(const Context *context, in getSamplePosition()
1725 bool Framebuffer::hasValidDepthStencil() const in hasValidDepthStencil()
1730 const gl::Offset &Framebuffer::getSurfaceTextureOffset() const in getSurfaceTextureOffset()
1735 void Framebuffer::setAttachment(const Context *context, in setAttachment()
1747 void Framebuffer::setAttachmentMultisample(const Context *context, in setAttachmentMultisample()
1759 void Framebuffer::setAttachment(const Context *context, in setAttachment()
1804 void Framebuffer::setAttachmentMultiview(const Context *context, in setAttachmentMultiview()
1816 void Framebuffer::commitWebGL1DepthStencilIfConsistent(const Context *context, in commitWebGL1DepthStencilIfConsistent()
1892 void Framebuffer::setAttachmentImpl(const Context *context, in setAttachmentImpl()
1962 void Framebuffer::updateAttachment(const Context *context, in updateAttachment()
1985 void Framebuffer::resetAttachment(const Context *context, GLenum binding) in resetAttachment()
1990 angle::Result Framebuffer::syncState(const Context *context, GLenum framebufferBinding) const in syncState()
2002 void Framebuffer::onSubjectStateChange(angle::SubjectIndex index, angle::SubjectMessage message) in onSubjectStateChange()
2050 FramebufferAttachment *Framebuffer::getAttachmentFromSubjectIndex(angle::SubjectIndex index) in getAttachmentFromSubjectIndex()
2065 bool Framebuffer::formsCopyingFeedbackLoopWith(TextureID copyTextureID, in formsCopyingFeedbackLoopWith()
2091 GLint Framebuffer::getDefaultWidth() const in getDefaultWidth()
2096 GLint Framebuffer::getDefaultHeight() const in getDefaultHeight()
2101 GLint Framebuffer::getDefaultSamples() const in getDefaultSamples()
2106 bool Framebuffer::getDefaultFixedSampleLocations() const in getDefaultFixedSampleLocations()
2111 GLint Framebuffer::getDefaultLayers() const in getDefaultLayers()
2116 void Framebuffer::setDefaultWidth(const Context *context, GLint defaultWidth) in setDefaultWidth()
2123 void Framebuffer::setDefaultHeight(const Context *context, GLint defaultHeight) in setDefaultHeight()
2130 void Framebuffer::setDefaultSamples(const Context *context, GLint defaultSamples) in setDefaultSamples()
2137 void Framebuffer::setDefaultFixedSampleLocations(const Context *context, in setDefaultFixedSampleLocations()
2145 void Framebuffer::setDefaultLayers(GLint defaultLayers) in setDefaultLayers()
2151 GLsizei Framebuffer::getNumViews() const in getNumViews()
2156 GLint Framebuffer::getBaseViewIndex() const in getBaseViewIndex()
2161 bool Framebuffer::isMultiview() const in isMultiview()
2166 bool Framebuffer::readDisallowedByMultiview() const in readDisallowedByMultiview()
2171 angle::Result Framebuffer::ensureClearAttachmentsInitialized(const Context *context, in ensureClearAttachmentsInitialized()
2204 angle::Result Framebuffer::ensureClearBufferAttachmentsInitialized(const Context *context, in ensureClearBufferAttachmentsInitialized()
2228 angle::Result Framebuffer::ensureDrawAttachmentsInitialized(const Context *context) in ensureDrawAttachmentsInitialized()
2256 angle::Result Framebuffer::ensureReadAttachmentsInitialized(const Context *context) in ensureReadAttachmentsInitialized()
2309 void Framebuffer::markDrawAttachmentsInitialized(bool color, bool depth, bool stencil) in markDrawAttachmentsInitialized()
2336 void Framebuffer::markBufferInitialized(GLenum bufferType, GLint bufferIndex) in markBufferInitialized()
2388 Box Framebuffer::getDimensions() const in getDimensions()
2393 Extents Framebuffer::getExtents() const in getExtents()
2398 angle::Result Framebuffer::ensureBufferInitialized(const Context *context, in ensureBufferInitialized()
2461 bool Framebuffer::partialBufferClearNeedsInit(const Context *context, GLenum bufferType) in partialBufferClearNeedsInit()