Lines Matching refs:mDrawBufferStates
355 mDrawBufferStates(1, GL_BACK), in FramebufferState()
367 ASSERT(mDrawBufferStates.size() > 0); in FramebufferState()
377 mDrawBufferStates(caps.maxDrawBuffers, GL_NONE), in FramebufferState()
390 ASSERT(mDrawBufferStates.size() > 0); in FramebufferState()
391 mDrawBufferStates[0] = GL_COLOR_ATTACHMENT0_EXT; in FramebufferState()
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()
679 return mDrawBufferStates.size(); in getDrawBufferCount()
1032 return mState.mDrawBufferStates.size(); in getDrawbufferStateCount()
1037 ASSERT(drawBuffer < mState.mDrawBufferStates.size()); in getDrawBufferState()
1038 return mState.mDrawBufferStates[drawBuffer]; in getDrawBufferState()
1048 auto &drawStates = mState.mDrawBufferStates; in setDrawBuffers()
1107 for (size_t drawbufferIdx = 0; drawbufferIdx < mState.mDrawBufferStates.size(); ++drawbufferIdx) in hasEnabledDrawBuffer()
1159 for (size_t drawbufferIdx = 1; drawbufferIdx < mState.mDrawBufferStates.size(); ++drawbufferIdx) in usingExtendedDrawBuffers()