Home
last modified time | relevance | path

Searched refs:GL_FRAMEBUFFER (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/external/angle/src/tests/gl_tests/
DFramebufferTest.cpp43 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in checkBitCount()
92 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mTexture, 0); in testTextureFormat()
138 glFramebufferRenderbuffer(GL_FRAMEBUFFER, attachmentType, GL_RENDERBUFFER, mRenderbuffer); in testRenderbufferMultisampleFormat()
147 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in testZeroHeightRenderbuffer()
155 glBindFramebuffer(GL_FRAMEBUFFER, mFramebuffer); in testSetUp()
295 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, in TEST_P()
299 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
307 glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
335 glBindFramebuffer(GL_FRAMEBUFFER, incompleteFBO); in TEST_P()
336 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, incompleteTexture, in TEST_P()
[all …]
DFramebufferMultiviewTest.cpp106 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 …]
DDiscardFramebufferEXTTest.cpp37 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 …]
DWebGLFramebufferTest.cpp50 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 …]
DBlitFramebufferANGLETest.cpp87 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()
[all …]
DMultisampledRenderToTextureTest.cpp100 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 …]
DSRGBFramebufferTest.cpp98 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 …]
DClearTest.cpp245 glBindFramebuffer(GL_FRAMEBUFFER, mColorStencilFBO); in testSetUp()
247 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mColorTexture, in testSetUp()
252 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
261 glBindFramebuffer(GL_FRAMEBUFFER, mColorDepthFBO); in testSetUp()
263 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in testSetUp()
268 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
277 glBindFramebuffer(GL_FRAMEBUFFER, mColorStencilFBO); in bindColorStencilFBO()
283 glBindFramebuffer(GL_FRAMEBUFFER, mColorDepthFBO); in bindColorDepthFBO()
366 glInvalidateFramebuffer(GL_FRAMEBUFFER, 1, discards); in TEST_P()
377 glBindFramebuffer(GL_FRAMEBUFFER, mFBOs[0]); in TEST_P()
[all …]
DDepthStencilTest.cpp43 glBindFramebuffer(GL_FRAMEBUFFER, mColorStencilFBO); in testSetUp()
45 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mColorTexture, in testSetUp()
50 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
59 glBindFramebuffer(GL_FRAMEBUFFER, mColorDepthFBO); in testSetUp()
61 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in testSetUp()
66 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
75 glBindFramebuffer(GL_FRAMEBUFFER, mColorStencilFBO); in bindColorStencilFBO()
81 glBindFramebuffer(GL_FRAMEBUFFER, mColorDepthFBO); in bindColorDepthFBO()
267 glBindFramebuffer(GL_FRAMEBUFFER, FBO); in TEST_P()
282 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_P()
[all …]
DDepthStencilFormatsTest.cpp90 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()
274 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in depthStencilReadbackCase()
277 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, tex, 0); in depthStencilReadbackCase()
279 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, tex, 0); in depthStencilReadbackCase()
284 glFramebufferTexture2D(GL_FRAMEBUFFER, type.attachment, GL_TEXTURE_2D, tex, 0); in depthStencilReadbackCase()
301 if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) in depthStencilReadbackCase()
312 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTex, 0); in depthStencilReadbackCase()
[all …]
DCopyTexImageTest.cpp55 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()
[all …]
DMultisampleCompatibilityTest.cpp75 glBindFramebuffer(GL_FRAMEBUFFER, mSampleFBO); in prepareForDraw()
76 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, mSampleRB); in prepareForDraw()
78 glCheckFramebufferStatus(GL_FRAMEBUFFER)); in prepareForDraw()
79 glBindFramebuffer(GL_FRAMEBUFFER, 0); in prepareForDraw()
91 glBindFramebuffer(GL_FRAMEBUFFER, mResolveFBO); in prepareForDraw()
92 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, mResolveTex, 0); in prepareForDraw()
94 glCheckFramebufferStatus(GL_FRAMEBUFFER)); in prepareForDraw()
100 glBindFramebuffer(GL_FRAMEBUFFER, mSampleFBO); in prepareForDraw()
121 glBindFramebuffer(GL_FRAMEBUFFER, 0); in cleanup()
306 glBindFramebuffer(GL_FRAMEBUFFER, mSampleFBO); in prepareForDraw()
[all …]
DVulkanPerformanceCounterTest.cpp63 glBindFramebuffer(GL_FRAMEBUFFER, *framebuffer); in setupClearAndDrawForInvalidateTest()
67 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, *texture, 0); in setupClearAndDrawForInvalidateTest()
71 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in setupClearAndDrawForInvalidateTest()
73 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in setupClearAndDrawForInvalidateTest()
290 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
291 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureRGB, 0); in TEST_P()
292 ASSERT_GL_FRAMEBUFFER_COMPLETE(GL_FRAMEBUFFER); in TEST_P()
298 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_P()
413 glBindFramebuffer(GL_FRAMEBUFFER, msaaFBO.get()); in TEST_P()
419 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D_MULTISAMPLE, in TEST_P()
[all …]
DRobustResourceInitTest.cpp480 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()
[all …]
DReadOnlyFeedbackLoopTest.cpp77 glBindFramebuffer(GL_FRAMEBUFFER, gbufferFbo); in TEST_P()
81 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, colorTex, 0); in TEST_P()
83 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depthTex, 0); in TEST_P()
86 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
112 glBindFramebuffer(GL_FRAMEBUFFER, finalFbo); in TEST_P()
120 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, finalTex, 0); in TEST_P()
122 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depthTex, 0); in TEST_P()
124 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_P()
138 glBindFramebuffer(GL_FRAMEBUFFER, 0); in TEST_P()
/external/deqp/modules/gles3/functional/
Des3fFboStateQueryTests.cpp225 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 …]
Des3fFboApiTests.cpp130 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 …]
Des3fNegativeBufferApiTests.cpp191 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
192 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
241 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
242 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
248 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
249 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
255 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
256 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
262 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
263 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
[all …]
/external/deqp/modules/gles2/functional/
Des2fFboApiTest.cpp135 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 …]
Des2fFboStateQueryTests.cpp84 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 …]
Des2fNegativeVertexArrayApiTests.cpp144 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/
DglcFramebufferCompleteness.cpp289 context.bindFramebuffer(GL_FRAMEBUFFER, context.fboIds[0]); in __anon42c6949f0402()
307 context.bindFramebuffer(GL_FRAMEBUFFER, context.fboIds[0]); in __anon42c6949f0502()
316 …context.framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, context.texIds[0]… in __anon42c6949f0602()
334 context.bindFramebuffer(GL_FRAMEBUFFER, context.fboIds[0]); in __anon42c6949f0702()
343 …context.framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, context.texIds[0]… in __anon42c6949f0802()
361 context.bindFramebuffer(GL_FRAMEBUFFER, context.fboIds[0]); in __anon42c6949f0902()
370 context.framebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, context.texIds[0], 0, in __anon42c6949f0a02()
389 context.bindFramebuffer(GL_FRAMEBUFFER, context.fboIds[0]); in __anon42c6949f0b02()
398 …context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, context.texIds[0… in __anon42c6949f0c02()
421 context.bindFramebuffer(GL_FRAMEBUFFER, context.fboIds[0]); in __anon42c6949f0d02()
[all …]
/external/deqp/modules/gles31/functional/
Des31fNegativeBufferApiTests.cpp188 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/
DFramebufferObjectTest.cpp50 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()
/external/angle/src/tests/perf_tests/
DFramebufferAttachmentPerfTest.cpp119 glBindFramebuffer(GL_FRAMEBUFFER, mFbo[fboIndex]); in drawBenchmark()
122 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + textureIndex, in drawBenchmark()
125 glBindFramebuffer(GL_FRAMEBUFFER, 0); in drawBenchmark()
131 glBindFramebuffer(GL_FRAMEBUFFER, mFbo[fboIndex]); in drawBenchmark()
135 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + textureIndex, in drawBenchmark()
138 glBindFramebuffer(GL_FRAMEBUFFER, 0); in drawBenchmark()
164 glBindFramebuffer(GL_FRAMEBUFFER, mAdditionalFbo[fboIndex]); in initializeBenchmark()
167 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + textureIndex, in initializeBenchmark()
170 glBindFramebuffer(GL_FRAMEBUFFER, 0); in initializeBenchmark()
179 glBindFramebuffer(GL_FRAMEBUFFER, mAdditionalFbo[fboIndex]); in destroyBenchmark()
[all …]

12345678910>>...13