/external/angle/src/tests/gl_tests/ |
D | FramebufferMultiviewTest.cpp | 106 glBindFramebuffer(GL_FRAMEBUFFER, mMultiviewFBO); in initializeFBOs() 107 AttachMultiviewTextures(GL_FRAMEBUFFER, width, numViews, baseViewIndex, mColorTex, in initializeFBOs() 119 glBindFramebuffer(GL_FRAMEBUFFER, mNonMultiviewFBO[i]); in initializeFBOs() 122 glFramebufferTextureLayer(GL_FRAMEBUFFER, in initializeFBOs() 128 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, in initializeFBOs() 133 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, mDepthTex, 0, i); in initializeFBOs() 144 glBindFramebuffer(GL_FRAMEBUFFER, mNonMultiviewFBO[layer]); in getLayerColor() 170 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P() 175 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0); in TEST_P() 178 glGetFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in TEST_P() [all …]
|
D | FramebufferTest.cpp | 44 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in checkBitCount() 93 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mTexture, 0); in testTextureFormat() 139 glFramebufferRenderbuffer(GL_FRAMEBUFFER, attachmentType, GL_RENDERBUFFER, mRenderbuffer); in testRenderbufferMultisampleFormat() 148 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in testZeroHeightRenderbuffer() 156 glBindFramebuffer(GL_FRAMEBUFFER, mFramebuffer); in testSetUp() 296 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, in TEST_P() 300 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P() 308 glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P() 336 glBindFramebuffer(GL_FRAMEBUFFER, incompleteFBO); in TEST_P() 337 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, incompleteTexture, in TEST_P() [all …]
|
D | RobustFragmentShaderOutputTest.cpp | 45 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P() 54 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texA, 0); in TEST_P() 60 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, GL_TEXTURE_2D, texB, 0); in TEST_P() 62 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P() 133 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P() 134 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, GL_TEXTURE_2D, color1, 0); in TEST_P() 135 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT3, GL_TEXTURE_2D, color2, 0); in TEST_P() 136 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P() 154 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, color3, 0); in TEST_P() 155 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P() [all …]
|
D | DiscardFramebufferEXTTest.cpp | 37 glDiscardFramebufferEXT(GL_FRAMEBUFFER, 1, discards1); in TEST_P() 41 glDiscardFramebufferEXT(GL_FRAMEBUFFER, 1, discards2); in TEST_P() 45 glDiscardFramebufferEXT(GL_FRAMEBUFFER, 1, discards3); in TEST_P() 49 glDiscardFramebufferEXT(GL_FRAMEBUFFER, 3, discards4); in TEST_P() 54 glDiscardFramebufferEXT(GL_FRAMEBUFFER, 1, discards5); in TEST_P() 58 glDiscardFramebufferEXT(GL_FRAMEBUFFER, 1, discards6); in TEST_P() 62 glDiscardFramebufferEXT(GL_FRAMEBUFFER, 1, discards7); in TEST_P() 78 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P() 83 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex2D, 0); in TEST_P() 84 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P() [all …]
|
D | WebGLFramebufferTest.cpp | 50 GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER); in checkFramebufferForAllowedStatuses() 61 if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) in checkBufferBits() 109 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P() 122 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in TEST_P() 132 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, renderbuffer); in TEST_P() 136 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, 0); in TEST_P() 143 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P() 159 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in testAttachment() 160 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, *colorBuffer); in testAttachment() 161 glFramebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, *buffer); in testAttachment() [all …]
|
D | BlitFramebufferANGLETest.cpp | 89 glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO); in testSetUp() 93 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in testSetUp() 100 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in testSetUp() 102 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp() 105 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in testSetUp() 109 glBindFramebuffer(GL_FRAMEBUFFER, mSmallFBO); in testSetUp() 115 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in testSetUp() 120 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in testSetUp() 122 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp() 125 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in testSetUp() [all …]
|
D | MultisampledRenderToTextureTest.cpp | 100 glBindFramebuffer(GL_FRAMEBUFFER, 0); in verifyResults() 276 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P() 278 glFramebufferTexture2DMultisampleEXT(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in TEST_P() 281 EXPECT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P() 286 glFramebufferTexture2DMultisampleEXT(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, GL_TEXTURE_2D, in TEST_P() 294 glFramebufferTexture2DMultisampleEXT(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, in TEST_P() 298 glFramebufferTexture2DMultisampleEXT(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, in TEST_P() 302 glFramebufferTexture2DMultisampleEXT(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, in TEST_P() 306 glFramebufferTexture2DMultisampleEXT(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, GL_TEXTURE_2D, in TEST_P() 322 glFramebufferTexture2DMultisampleEXT(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in TEST_P() [all …]
|
D | SRGBFramebufferTest.cpp | 98 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer.get()); in TEST_P() 99 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture.get(), 0); in TEST_P() 139 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer1.get()); in TEST_P() 140 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture.get(), 0); in TEST_P() 150 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer2.get()); in TEST_P() 151 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture.get(), 0); in TEST_P() 156 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer1.get()); in TEST_P() 160 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer2.get()); in TEST_P() 183 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer.get()); in TEST_P() 184 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture.get(), 0); in TEST_P() [all …]
|
D | ReadOnlyFeedbackLoopTest.cpp | 79 glBindFramebuffer(GL_FRAMEBUFFER, gbufferFbo); in TEST_P() 83 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTex, 0); in TEST_P() 85 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depthTex, 0); in TEST_P() 88 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P() 114 glBindFramebuffer(GL_FRAMEBUFFER, finalFbo); in TEST_P() 122 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, finalTex, 0); in TEST_P() 124 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depthTex, 0); in TEST_P() 126 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P() 140 glBindFramebuffer(GL_FRAMEBUFFER, 0); in TEST_P() 179 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P() [all …]
|
D | ClearTest.cpp | 300 glBindFramebuffer(GL_FRAMEBUFFER, mColorStencilFBO); in testSetUp() 302 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mColorTexture, in testSetUp() 307 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp() 316 glBindFramebuffer(GL_FRAMEBUFFER, mColorDepthFBO); in testSetUp() 318 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in testSetUp() 323 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in testSetUp() 332 glBindFramebuffer(GL_FRAMEBUFFER, mColorStencilFBO); in bindColorStencilFBO() 338 glBindFramebuffer(GL_FRAMEBUFFER, mColorDepthFBO); in bindColorDepthFBO() 421 glInvalidateFramebuffer(GL_FRAMEBUFFER, 1, discards); in TEST_P() 461 glBindFramebuffer(GL_FRAMEBUFFER, mFBOs[0]); in TEST_P() [all …]
|
D | DepthStencilTest.cpp | 42 glBindFramebuffer(GL_FRAMEBUFFER, mColorStencilFBO); in testSetUp() 44 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mColorTexture, in testSetUp() 49 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp() 58 glBindFramebuffer(GL_FRAMEBUFFER, mColorDepthFBO); in testSetUp() 60 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in testSetUp() 65 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in testSetUp() 74 glBindFramebuffer(GL_FRAMEBUFFER, mColorStencilFBO); in bindColorStencilFBO() 80 glBindFramebuffer(GL_FRAMEBUFFER, mColorDepthFBO); in bindColorDepthFBO() 293 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P() 294 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in TEST_P() [all …]
|
D | FragDepthTest.cpp | 54 glBindFramebuffer(GL_FRAMEBUFFER, resources.framebuffer); in setupResources() 55 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in setupResources() 67 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in checkDepthWritten() 70 glBindFramebuffer(GL_FRAMEBUFFER, resources.framebuffer); in checkDepthWritten() 73 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, in checkDepthWritten() 75 EXPECT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in checkDepthWritten() 85 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, 0, 0); in checkDepthWritten() 86 EXPECT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in checkDepthWritten() 135 glBindFramebuffer(GL_FRAMEBUFFER, fbo1); in TEST_P() 140 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rb10); in TEST_P() [all …]
|
D | SampleVariablesTest.cpp | 83 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P() 88 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in TEST_P() 89 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P() 145 glBindFramebuffer(GL_FRAMEBUFFER, fboResolve); in TEST_P() 150 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rboResolve); in TEST_P() 151 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P() 158 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P() 163 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in TEST_P() 164 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P() 227 glBindFramebuffer(GL_FRAMEBUFFER, fboResolve); in TEST_P() [all …]
|
D | DepthStencilFormatsTest.cpp | 90 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in verifyDepthRenderBuffer() 91 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0); in verifyDepthRenderBuffer() 92 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, rbDepth); in verifyDepthRenderBuffer() 94 EXPECT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in verifyDepthRenderBuffer() 279 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in depthStencilReadbackCase() 282 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, tex, 0); in depthStencilReadbackCase() 284 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, tex, 0); in depthStencilReadbackCase() 289 glFramebufferTexture2D(GL_FRAMEBUFFER, type.attachment, GL_TEXTURE_2D, tex, 0); in depthStencilReadbackCase() 306 if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) in depthStencilReadbackCase() 317 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTex, 0); in depthStencilReadbackCase() [all …]
|
D | RobustResourceInitTest.cpp | 477 glBindFramebuffer(GL_FRAMEBUFFER, 0); in TEST_P() 551 glBindFramebuffer(GL_FRAMEBUFFER, fb); in checkNonZeroPixels() 552 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture->get(), 0); in checkNonZeroPixels() 553 EXPECT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in checkNonZeroPixels() 568 glBindFramebuffer(GL_FRAMEBUFFER, fb); in checkNonZeroPixels3D() 569 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, texture->get(), 0, in checkNonZeroPixels3D() 571 EXPECT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in checkNonZeroPixels3D() 715 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P() 716 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture2D, 0); in TEST_P() 717 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P() [all …]
|
D | CopyTexImageTest.cpp | 55 glBindFramebuffer(GL_FRAMEBUFFER, mFbos[i]); in initializeResources() 56 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in initializeResources() 81 glBindFramebuffer(GL_FRAMEBUFFER, 0); in verifyResults() 108 glBindFramebuffer(GL_FRAMEBUFFER, 0); in verifyCheckeredResults() 142 glBindFramebuffer(GL_FRAMEBUFFER, mFbos[i]); in runCopyTexImageTest() 175 glBindFramebuffer(GL_FRAMEBUFFER, mFbos[i]); in runCopyTexImageTestCheckered() 183 glFramebufferParameteriMESA(GL_FRAMEBUFFER, GL_FRAMEBUFFER_FLIP_Y_MESA, 1); in runCopyTexImageTestCheckered() 202 glBindFramebuffer(GL_FRAMEBUFFER, mFbos[0]); in runCopyTexSubImageTest() 209 glBindFramebuffer(GL_FRAMEBUFFER, mFbos[1]); in runCopyTexSubImageTest() 239 glBindFramebuffer(GL_FRAMEBUFFER, mFbos[2]); in runCopyTexSubImageTest() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fFboStateQueryTests.cpp | 225 glBindFramebuffer(GL_FRAMEBUFFER, framebufferID); in test() 230 …checkAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_FRAMEBUFFER_ATTACH… in test() 231 …checkAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_FRAMEBUFFER_ATTACH… in test() 243 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureID, 0); in test() 246 …checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE,… in test() 247 …checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME,… in test() 249 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, 0, 0); in test() 261 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, renderbufferID); in test() 264 …checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE,… in test() 265 …checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME,… in test() [all …]
|
D | es3fFboApiTests.cpp | 130 ctx.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, attachment, pname, &value); in checkFboAttachmentParam() 159 context.bindFramebuffer(GL_FRAMEBUFFER, fbo); in textureLevelsTest() 165 …context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, levels[ndx]… in textureLevelsTest() 172 context.bindFramebuffer(GL_FRAMEBUFFER, 1); in validTex2DAttachmentsTest() 185 context.framebufferTexture2D(GL_FRAMEBUFFER, attachmentPoints[pointNdx], GL_TEXTURE_2D, tex2D, 0); in validTex2DAttachmentsTest() 208 context.bindFramebuffer(GL_FRAMEBUFFER, 1); in validTexCubeAttachmentsTest() 217 …context.framebufferTexture2D(GL_FRAMEBUFFER, attachmentPoints[pointNdx], cubeTargets[targetNdx], t… in validTexCubeAttachmentsTest() 232 context.bindFramebuffer(GL_FRAMEBUFFER, 1); in validRboAttachmentsTest() 239 context.framebufferRenderbuffer(GL_FRAMEBUFFER, attachmentPoints[pointNdx], GL_RENDERBUFFER, rbo); in validRboAttachmentsTest() 250 context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex2D, 0); in attachToDefaultFramebufferTest() [all …]
|
D | es3fNegativeBufferApiTests.cpp | 191 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init() 192 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init() 242 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init() 243 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init() 249 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init() 250 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init() 256 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init() 257 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init() 263 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init() 264 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fFboApiTest.cpp | 135 ctx.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, attachment, pname, &value); in checkFboAttachmentParam() 164 context.bindFramebuffer(GL_FRAMEBUFFER, fbo); in textureLevelsTest() 170 …context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, levels[ndx]… in textureLevelsTest() 184 context.bindFramebuffer(GL_FRAMEBUFFER, fbo); in textureLevelsWithRenderToMipmapTest() 190 …context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, levels[ndx]… in textureLevelsWithRenderToMipmapTest() 197 context.bindFramebuffer(GL_FRAMEBUFFER, 1); in validTex2DAttachmentsTest() 210 context.framebufferTexture2D(GL_FRAMEBUFFER, attachmentPoints[pointNdx], GL_TEXTURE_2D, tex2D, 0); in validTex2DAttachmentsTest() 233 context.bindFramebuffer(GL_FRAMEBUFFER, 1); in validTexCubeAttachmentsTest() 242 …context.framebufferTexture2D(GL_FRAMEBUFFER, attachmentPoints[pointNdx], cubeTargets[targetNdx], t… in validTexCubeAttachmentsTest() 257 context.bindFramebuffer(GL_FRAMEBUFFER, 1); in validRboAttachmentsTest() [all …]
|
D | es2fFboStateQueryTests.cpp | 84 glBindFramebuffer(GL_FRAMEBUFFER, framebufferID); in test() 95 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureID, 0); in test() 98 …checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE,… in test() 99 …checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME,… in test() 101 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, 0, 0); in test() 113 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, renderbufferID); in test() 116 …checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE,… in test() 117 …checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME,… in test() 119 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in test() 140 glBindFramebuffer(GL_FRAMEBUFFER, framebufferID); in test() [all …]
|
D | es2fNegativeVertexArrayApiTests.cpp | 144 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init() 145 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init() 148 glBindFramebuffer(GL_FRAMEBUFFER, 0); in init() 171 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init() 172 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init() 175 glBindFramebuffer(GL_FRAMEBUFFER, 0); in init() 197 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init() 198 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init() 201 glBindFramebuffer(GL_FRAMEBUFFER, 0); in init() 231 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init() [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcFramebufferCompleteness.cpp | 290 context.bindFramebuffer(GL_FRAMEBUFFER, context.fboIds[0]); in __anon57e21ebd0402() 308 context.bindFramebuffer(GL_FRAMEBUFFER, context.fboIds[0]); in __anon57e21ebd0502() 317 …context.framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, context.texIds[0]… in __anon57e21ebd0602() 335 context.bindFramebuffer(GL_FRAMEBUFFER, context.fboIds[0]); in __anon57e21ebd0702() 344 …context.framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, context.texIds[0]… in __anon57e21ebd0802() 362 context.bindFramebuffer(GL_FRAMEBUFFER, context.fboIds[0]); in __anon57e21ebd0902() 371 context.framebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, context.texIds[0], 0, in __anon57e21ebd0a02() 390 context.bindFramebuffer(GL_FRAMEBUFFER, context.fboIds[0]); in __anon57e21ebd0b02() 399 …context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, context.texIds[0… in __anon57e21ebd0c02() 422 context.bindFramebuffer(GL_FRAMEBUFFER, context.fboIds[0]); in __anon57e21ebd0d02() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeBufferApiTests.cpp | 188 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); in read_pixels() 189 ctx.glCheckFramebufferStatus(GL_FRAMEBUFFER); in read_pixels() 234 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); in readn_pixels() 235 ctx.glCheckFramebufferStatus(GL_FRAMEBUFFER); in readn_pixels() 291 ctx.glBindFramebuffer (GL_FRAMEBUFFER, fbo); in read_pixels_fbo_format_mismatch() 292 ctx.glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in read_pixels_fbo_format_mismatch() 298 ctx.glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in read_pixels_fbo_format_mismatch() 299 ctx.glCheckFramebufferStatus(GL_FRAMEBUFFER); in read_pixels_fbo_format_mismatch() 305 ctx.glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in read_pixels_fbo_format_mismatch() 306 ctx.glCheckFramebufferStatus(GL_FRAMEBUFFER); in read_pixels_fbo_format_mismatch() [all …]
|
/external/angle/src/tests/gl_tests/gles1/ |
D | FramebufferObjectTest.cpp | 50 glBindFramebufferOES(GL_FRAMEBUFFER, fboId); in TEST_P() 53 glCheckFramebufferStatusOES(GL_FRAMEBUFFER); in TEST_P() 55 glGetFramebufferAttachmentParameterivOES(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in TEST_P() 59 glBindFramebuffer(GL_FRAMEBUFFER, 0); in TEST_P() 70 glBindFramebuffer(GL_FRAMEBUFFER, fboId); in TEST_P() 71 glFramebufferTexture2DOES(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mTexture->get(), in TEST_P() 75 glBindFramebuffer(GL_FRAMEBUFFER, 0); in TEST_P() 122 glBindFramebuffer(GL_FRAMEBUFFER, fboId); in TEST_P() 133 glFramebufferRenderbufferOES(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rboId); in TEST_P() 138 glBindFramebuffer(GL_FRAMEBUFFER, 0); in TEST_P()
|