Home
last modified time | relevance | path

Searched refs:drawBufferIdx (Results 1 – 3 of 3) sorted by relevance

/external/angle/src/libANGLE/
DFramebuffer.cpp652 const FramebufferAttachment *FramebufferState::getDrawBuffer(size_t drawBufferIdx) const in getDrawBuffer()
654 ASSERT(drawBufferIdx < mDrawBufferStates.size()); in getDrawBuffer()
655 if (mDrawBufferStates[drawBufferIdx] != GL_NONE) in getDrawBuffer()
659 ASSERT(mDrawBufferStates[drawBufferIdx] == GL_COLOR_ATTACHMENT0 + drawBufferIdx || in getDrawBuffer()
660 (drawBufferIdx == 0 && mDrawBufferStates[drawBufferIdx] == GL_BACK)); in getDrawBuffer()
662 if (mDrawBufferStates[drawBufferIdx] == GL_BACK) in getDrawBuffer()
668 return getColorAttachment(mDrawBufferStates[drawBufferIdx] - GL_COLOR_ATTACHMENT0); in getDrawBuffer()
DFramebuffer.h102 const FramebufferAttachment *getDrawBuffer(size_t drawBufferIdx) const;
DvalidationES2.cpp2780 for (GLuint drawBufferIdx = 0; drawBufferIdx < fbo->getDrawbufferStateCount(); in ValidateClear() local
2781 drawBufferIdx++) in ValidateClear()
2784 context, drawBufferIdx, validComponentTypes, ArraySize(validComponentTypes))) in ValidateClear()