Searched refs:drawBufferIdx (Results 1 – 3 of 3) sorted by relevance
652 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()
102 const FramebufferAttachment *getDrawBuffer(size_t drawBufferIdx) const;
2780 for (GLuint drawBufferIdx = 0; drawBufferIdx < fbo->getDrawbufferStateCount(); in ValidateClear() local2781 drawBufferIdx++) in ValidateClear()2784 context, drawBufferIdx, validComponentTypes, ArraySize(validComponentTypes))) in ValidateClear()