Lines Matching refs:GL_FRAMEBUFFER
480 glBindFramebuffer(GL_FRAMEBUFFER, 0); in TEST_P()
554 glBindFramebuffer(GL_FRAMEBUFFER, fb); in checkNonZeroPixels()
555 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture->get(), 0); in checkNonZeroPixels()
556 EXPECT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in checkNonZeroPixels()
571 glBindFramebuffer(GL_FRAMEBUFFER, fb); in checkNonZeroPixels3D()
572 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texture->get(), 0, in checkNonZeroPixels3D()
574 EXPECT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in checkNonZeroPixels3D()
718 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
719 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture2D, 0); in TEST_P()
720 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
727 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texture3D, 0, kTextureLayer); in TEST_P()
781 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
782 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in TEST_P()
783 if (glCheckFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE) in TEST_P()
896 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
902 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in TEST_P()
903 EXPECT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
928 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
934 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in TEST_P()
935 EXPECT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
980 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
986 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in TEST_P()
987 EXPECT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
1020 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
1021 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, color, 0); in TEST_P()
1022 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depth); in TEST_P()
1023 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
1047 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
1066 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
1067 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in TEST_P()
1099 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
1100 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in TEST_P()
1125 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in testIntegerTextureInit()
1126 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, framebufferTexture, in testIntegerTextureInit()
1270 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
1271 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, renderbuffer); in TEST_P()
1388 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
1394 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, target, tex, level); in TEST_P()
1519 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in maskedDepthClear()
1520 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorbuffer, 0); in maskedDepthClear()
1521 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthbuffer); in maskedDepthClear()
1524 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in maskedDepthClear()
1599 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in maskedStencilClear()
1600 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorbuffer, 0); in maskedStencilClear()
1601 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in maskedStencilClear()
1605 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in maskedStencilClear()
1708 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
1709 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcTexture, 0); in TEST_P()
1712 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
1724 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, destTexture, 0); in TEST_P()
1738 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcTexture, 0); in TEST_P()
1749 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, destTexture, 0); in TEST_P()
1774 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer.get()); in copyTexSubImage2DCustomFBOTest()
1775 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in copyTexSubImage2DCustomFBOTest()
1778 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in copyTexSubImage2DCustomFBOTest()
1788 glBindFramebuffer(GL_FRAMEBUFFER, readbackFBO.get()); in copyTexSubImage2DCustomFBOTest()
1789 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture.get(), 0); in copyTexSubImage2DCustomFBOTest()
1790 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in copyTexSubImage2DCustomFBOTest()
1823 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
1830 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, srcTexture, 0, 0); in TEST_P()
1833 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
1844 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, destTexture, 0, 0); in TEST_P()
1858 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, srcTexture, 0, 0); in TEST_P()
1861 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
1872 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, destTexture, 0, 0); in TEST_P()
1894 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
1939 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
1940 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorbuffer, 0); in TEST_P()
1941 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
1997 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
1998 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorbuffer); in TEST_P()
2001 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
2198 glBindFramebuffer(GL_FRAMEBUFFER, drawFbo); in TEST_P()
2203 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTex, 0); in TEST_P()
2207 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, drawDepthRbo); in TEST_P()
2216 glBindFramebuffer(GL_FRAMEBUFFER, readFbo); in TEST_P()
2221 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, readDepthRbo); in TEST_P()
2235 glBindFramebuffer(GL_FRAMEBUFFER, drawFbo); in TEST_P()
2259 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
2260 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcTex, 0); in TEST_P()
2263 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
2278 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, in TEST_P()
2280 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
2286 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, in TEST_P()
2288 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
2321 glBindFramebuffer(GL_FRAMEBUFFER, drawFbo); in TEST_P()
2322 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
2329 glBindFramebuffer(GL_FRAMEBUFFER, readFbo); in TEST_P()
2330 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()