Lines Matching refs:GL_FRAMEBUFFER
55 glBindFramebuffer(GL_FRAMEBUFFER, mFbos[i]); in initializeResources()
56 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in initializeResources()
76 glBindFramebuffer(GL_FRAMEBUFFER, 0); in verifyResults()
110 glBindFramebuffer(GL_FRAMEBUFFER, mFbos[i]); in runCopyTexImageTest()
129 glBindFramebuffer(GL_FRAMEBUFFER, mFbos[0]); in runCopyTexSubImageTest()
136 glBindFramebuffer(GL_FRAMEBUFFER, mFbos[1]); in runCopyTexSubImageTest()
166 glBindFramebuffer(GL_FRAMEBUFFER, mFbos[2]); in runCopyTexSubImageTest()
381 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
388 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, face, fboTex, 0); in TEST_P()
391 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
398 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstTex, 0); in TEST_P()
401 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
429 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
430 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, fboTex, 0); in TEST_P()
433 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
457 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, face, cubeMap, 0); in TEST_P()
460 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
489 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
490 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in TEST_P()
491 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
546 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
550 glFramebufferTexture3DOES(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_3D, fboTex, 0, in TEST_P()
554 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
561 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstTex, 0); in TEST_P()
564 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
629 glBindFramebuffer(GL_FRAMEBUFFER, mFbos[0]); in TEST_P()
665 glBindFramebuffer(GL_FRAMEBUFFER, fbo);
666 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex, 0, 0);
668 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex, 0, 1);
737 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
738 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcColor, 1); in TEST_P()
739 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
760 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
787 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
788 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcColor, 0); in TEST_P()
789 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
814 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
875 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in clearTexture()
876 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in clearTexture()
877 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in clearTexture()
896 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in copyTexSubImage3D()
911 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texture3D, 0, currLayer); in verifyCopyTexSubImage3D()
927 glBindFramebuffer(GL_FRAMEBUFFER, fbo);
946 glBindFramebuffer(GL_FRAMEBUFFER, 0);
958 glBindFramebuffer(GL_FRAMEBUFFER, fbo);
993 glBindFramebuffer(GL_FRAMEBUFFER, 0);
1008 glBindFramebuffer(GL_FRAMEBUFFER, fbo);
1018 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texture3D, 0, currLayer);
1040 glBindFramebuffer(GL_FRAMEBUFFER, 0);