Lines Matching refs:texIndex
65 for (size_t texIndex = 0; texIndex < ArraySize(mTextures); texIndex++) in setupTest() local
67 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]); in setupTest()
435 for (GLuint texIndex = 0; texIndex < halfMaxDrawBuffers; texIndex++) in TEST_P() local
437 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]); in TEST_P()
438 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + halfMaxDrawBuffers + texIndex, in TEST_P()
439 GL_TEXTURE_2D, mTextures[texIndex], 0); in TEST_P()
440 flags[texIndex + halfMaxDrawBuffers] = true; in TEST_P()
441 bufs[texIndex + halfMaxDrawBuffers] = GL_COLOR_ATTACHMENT0 + halfMaxDrawBuffers + texIndex; in TEST_P()
450 for (GLuint texIndex = 0; texIndex < halfMaxDrawBuffers; texIndex++) in TEST_P() local
452 verifyAttachment2D(texIndex + halfMaxDrawBuffers, mTextures[texIndex], GL_TEXTURE_2D, 0); in TEST_P()
501 for (GLuint texIndex = 0; texIndex < kMaxBuffers; texIndex++) in TEST_P() local
503 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]); in TEST_P()
504 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + texIndex, GL_TEXTURE_2D, in TEST_P()
505 mTextures[texIndex], 0); in TEST_P()
506 someBufs[texIndex] = in TEST_P()
507 texIndex >= kHalfMaxBuffers ? GL_COLOR_ATTACHMENT0 + texIndex : GL_NONE; in TEST_P()
510 flags[texIndex] = texIndex >= kHalfMaxBuffers; in TEST_P()
593 for (GLuint texIndex = 0; texIndex < kMaxBuffers; texIndex++) in TEST_P() local
595 glBindTexture(GL_TEXTURE_2D, mTextures[texIndex]); in TEST_P()
596 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + texIndex, GL_TEXTURE_2D, in TEST_P()
597 mTextures[texIndex], 0); in TEST_P()