Lines Matching refs:GL_FRAMEBUFFER
87 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in testSetUp()
91 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in testSetUp()
98 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
100 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
103 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in testSetUp()
107 glBindFramebuffer(GL_FRAMEBUFFER, mSmallFBO); in testSetUp()
113 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in testSetUp()
118 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
120 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
123 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in testSetUp()
127 glBindFramebuffer(GL_FRAMEBUFFER, mColorOnlyFBO); in testSetUp()
132 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in testSetUp()
135 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in testSetUp()
139 glBindFramebuffer(GL_FRAMEBUFFER, mDiffFormatFBO); in testSetUp()
144 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in testSetUp()
147 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in testSetUp()
151 glBindFramebuffer(GL_FRAMEBUFFER, mDiffSizeFBO); in testSetUp()
156 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in testSetUp()
159 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in testSetUp()
165 glBindFramebuffer(GL_FRAMEBUFFER, mMRTFBO); in testSetUp()
171 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0_EXT, GL_TEXTURE_2D, in testSetUp()
176 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1_EXT, GL_TEXTURE_2D, in testSetUp()
179 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in testSetUp()
193 glBindFramebuffer(GL_FRAMEBUFFER, mRGBAFBO); in testSetUp()
194 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in testSetUp()
198 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in testSetUp()
207 glBindFramebuffer(GL_FRAMEBUFFER, mRGBAMultisampledFBO); in testSetUp()
208 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in testSetUp()
212 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in testSetUp()
223 glBindFramebuffer(GL_FRAMEBUFFER, mBGRAFBO); in testSetUp()
224 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in testSetUp()
228 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in testSetUp()
237 glBindFramebuffer(GL_FRAMEBUFFER, mBGRAMultisampledFBO); in testSetUp()
238 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in testSetUp()
242 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in testSetUp()
246 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in testSetUp()
394 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
410 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in TEST_P()
425 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
442 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in TEST_P()
459 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in TEST_P()
494 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
510 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in TEST_P()
526 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
539 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
563 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in TEST_P()
576 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in TEST_P()
600 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
613 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
633 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in TEST_P()
646 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in TEST_P()
665 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
682 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
716 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in TEST_P()
735 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in TEST_P()
769 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
788 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in TEST_P()
806 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
823 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
843 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in TEST_P()
855 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
874 glBindFramebuffer(GL_FRAMEBUFFER, mSmallFBO); in TEST_P()
885 glBindFramebuffer(GL_FRAMEBUFFER, mColorOnlyFBO); in TEST_P()
931 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
965 glBindFramebuffer(GL_FRAMEBUFFER, mOriginalFBO); in TEST_P()
990 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
1019 glBindFramebuffer(GL_FRAMEBUFFER, mMRTFBO); in TEST_P()
1022 glBindFramebuffer(GL_FRAMEBUFFER, mColorOnlyFBO); in TEST_P()
1038 glBindFramebuffer(GL_FRAMEBUFFER, mMRTFBO); in TEST_P()
1045 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1_EXT, GL_TEXTURE_2D, 0, 0); in TEST_P()
1046 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mMRTColorBuffer0, in TEST_P()
1054 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mMRTColorBuffer0, in TEST_P()
1056 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1_EXT, GL_TEXTURE_2D, in TEST_P()
1133 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
1154 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
1174 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in TEST_P()
1227 glBindFramebuffer(GL_FRAMEBUFFER, *fbo); in initColorFBO()
1228 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, *rbo); in initColorFBO()
1242 glBindFramebuffer(GL_FRAMEBUFFER, *fbo); in initColorFBOWithCheckerPattern()
1261 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer.get()); in TEST_P()
1262 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
1265 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
1282 glBindFramebuffer(GL_FRAMEBUFFER, resolved.get()); in TEST_P()
1287 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorbuf.get(), 0); in TEST_P()
1343 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer.get()); in TEST_P()
1344 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorbuf); in TEST_P()
1345 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
1347 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
1349 glCheckFramebufferStatus(GL_FRAMEBUFFER); in TEST_P()
1363 glInvalidateFramebuffer(GL_FRAMEBUFFER, 1, attachments1); in TEST_P()
1415 glBindFramebuffer(GL_FRAMEBUFFER, framebufferMS.get()); in TEST_P()
1416 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthMS.get()); in TEST_P()
1417 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorMS.get()); in TEST_P()
1435 glBindFramebuffer(GL_FRAMEBUFFER, framebufferResolved.get()); in TEST_P()
1436 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in TEST_P()
1441 glBindFramebuffer(GL_FRAMEBUFFER, framebufferResolved.get()); in TEST_P()
1470 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer.get()); in TEST_P()
1471 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
1474 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
1500 glBindFramebuffer(GL_FRAMEBUFFER, resolved.get()); in TEST_P()
1538 glBindFramebuffer(GL_FRAMEBUFFER, resolved.get()); in TEST_P()
1562 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer.get()); in TEST_P()
1563 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
1566 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
1584 glBindFramebuffer(GL_FRAMEBUFFER, resolved.get()); in TEST_P()
1637 glBindFramebuffer(GL_FRAMEBUFFER, srcFramebuffer); in TEST_P()
1638 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcColor, 1); in TEST_P()
1639 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
1650 glBindFramebuffer(GL_FRAMEBUFFER, dstFramebuffer); in TEST_P()
1651 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstColor, 0); in TEST_P()
1652 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
1658 glBindFramebuffer(GL_FRAMEBUFFER, dstFramebuffer); in TEST_P()
1680 glBindFramebuffer(GL_FRAMEBUFFER, srcFramebuffer); in TEST_P()
1681 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcColor, 0); in TEST_P()
1682 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
1695 glBindFramebuffer(GL_FRAMEBUFFER, dstFramebuffer); in TEST_P()
1696 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstColor, 1); in TEST_P()
1697 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
1703 glBindFramebuffer(GL_FRAMEBUFFER, dstFramebuffer); in TEST_P()
1734 glBindFramebuffer(GL_FRAMEBUFFER, srcFramebuffer); in TEST_P()
1735 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, stencilTexture, 1); in TEST_P()
1736 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
1754 glBindFramebuffer(GL_FRAMEBUFFER, dstFramebuffer); in TEST_P()
1755 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTexture, 0); in TEST_P()
1756 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, renderbuf); in TEST_P()
1757 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
1763 glBindFramebuffer(GL_FRAMEBUFFER, dstFramebuffer); in TEST_P()
1798 glBindFramebuffer(GL_FRAMEBUFFER, srcFramebuffer); in TEST_P()
1799 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, renderbuf); in TEST_P()
1800 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
1822 glBindFramebuffer(GL_FRAMEBUFFER, dstFramebuffer); in TEST_P()
1823 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTexture, 0); in TEST_P()
1824 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, stencilTexture, 1); in TEST_P()
1825 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
1831 glBindFramebuffer(GL_FRAMEBUFFER, dstFramebuffer); in TEST_P()
1869 glBindFramebuffer(GL_FRAMEBUFFER, srcFramebuffer); in TEST_P()
1870 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, renderbuf); in TEST_P()
1871 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
1893 glBindFramebuffer(GL_FRAMEBUFFER, dstFramebuffer); in TEST_P()
1894 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTexture, 0); in TEST_P()
1895 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, stencilTexture, 1); in TEST_P()
1896 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
1903 glBindFramebuffer(GL_FRAMEBUFFER, dstFramebuffer); in TEST_P()
1948 glBindFramebuffer(GL_FRAMEBUFFER, targetFBO); in TEST_P()
1967 glBindFramebuffer(GL_FRAMEBUFFER, targetFBO); in TEST_P()
1993 glBindFramebuffer(GL_FRAMEBUFFER, destFBO.get()); in TEST_P()
2017 glBindFramebuffer(GL_FRAMEBUFFER, sourceFBO.get()); in TEST_P()
2018 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
2021 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
2079 glBindFramebuffer(GL_FRAMEBUFFER, destFBO.get()); in TEST_P()
2163 glBindFramebuffer(GL_FRAMEBUFFER, targetFBO); in TEST_P()
2182 glBindFramebuffer(GL_FRAMEBUFFER, targetFBO); in TEST_P()
2219 glBindFramebuffer(GL_FRAMEBUFFER, targetFBO); in TEST_P()
2263 glBindFramebuffer(GL_FRAMEBUFFER, targetFBO); in TEST_P()
2302 glBindFramebuffer(GL_FRAMEBUFFER, targetFBO); in TEST_P()
2352 glBindFramebuffer(GL_FRAMEBUFFER, targetFBO); in TEST_P()
2591 glBindFramebuffer(GL_FRAMEBUFFER, srcFramebuffer); in TEST_P()
2594 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
2613 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstColor, 0); in TEST_P()
2619 glBindFramebuffer(GL_FRAMEBUFFER, dstFramebuffer); in TEST_P()