Home
last modified time | relevance | path

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

12345

/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 …]
Des3fFboInvalidateTests.cpp138 …, const char* name, const char* description, deUint32 buffers, deUint32 fboTarget = GL_FRAMEBUFFER) in InvalidateDefaultFramebufferRenderCase()
234 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in render()
235 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0); in render()
237 checkFramebufferStatus (GL_FRAMEBUFFER); in render()
239 glBindFramebuffer (GL_FRAMEBUFFER, 0); in render()
249 …glInvalidateFramebuffer(GL_FRAMEBUFFER, (int)attachments.size(), attachments.empty() ? DE_NULL : &… in render()
254 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in render()
260 glBindFramebuffer (GL_FRAMEBUFFER, 0); in render()
328 …glInvalidateSubFramebuffer(GL_FRAMEBUFFER, (int)attachments.size(), &attachments[0], invalidateX, … in render()
392 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in render()
[all …]
Des3fNegativeVertexArrayApiTests.cpp280 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
281 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
284 glBindFramebuffer(GL_FRAMEBUFFER, 0); in init()
307 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
308 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
311 glBindFramebuffer(GL_FRAMEBUFFER, 0); in init()
333 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
334 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
337 glBindFramebuffer(GL_FRAMEBUFFER, 0); in init()
371 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
[all …]
Des3fFboColorbufferTests.cpp133 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in render()
134 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in render()
136 checkFramebufferStatus(GL_FRAMEBUFFER); in render()
268 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in render()
269 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, 0); in render()
271 checkFramebufferStatus(GL_FRAMEBUFFER); in render()
299 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in render()
305 glBindFramebuffer(GL_FRAMEBUFFER, 0); in render()
402 glBindFramebuffer(GL_FRAMEBUFFER, layerFbo); in render()
403 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, cubeGLFaces[ndx], tex, 0); in render()
[all …]
Des3fFboDepthbufferTests.cpp94 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in render()
95 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRbo); in render()
96 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthRbo); in render()
98 checkFramebufferStatus(GL_FRAMEBUFFER); in render()
186 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in render()
187 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRbo); in render()
188 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depthTexture, 0); in render()
190 checkFramebufferStatus(GL_FRAMEBUFFER); in render()
272 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in render()
273 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRbo); in render()
[all …]
Des3fFboStencilbufferTests.cpp91 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in render()
92 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRbo); in render()
93 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
95 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
97 checkFramebufferStatus(GL_FRAMEBUFFER); in render()
185 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in render()
186 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRbo); in render()
189 glFramebufferRenderbuffer(GL_FRAMEBUFFER, m_attachDepth, GL_RENDERBUFFER, depthStencilRbo); in render()
191 glFramebufferRenderbuffer(GL_FRAMEBUFFER, m_attachStencil, GL_RENDERBUFFER, depthStencilRbo); in render()
194 checkFramebufferStatus(GL_FRAMEBUFFER); in render()
Des3fFboRenderTest.cpp261 context.bindFramebuffer(GL_FRAMEBUFFER, m_framebuffer); in Framebuffer()
269 …context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_colorBuffer, 0… in Framebuffer()
274 …context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_colorBuff… in Framebuffer()
303 …case GL_TEXTURE_2D: context.framebufferTexture2D(GL_FRAMEBUFFER, point, GL_TEXTURE_2D, m_depthSte… in Framebuffer()
304 …case GL_RENDERBUFFER: context.framebufferRenderbuffer(GL_FRAMEBUFFER, point, GL_RENDERBUFFER, m_de… in Framebuffer()
314 context.bindFramebuffer(GL_FRAMEBUFFER, 0); in Framebuffer()
326 m_context.bindFramebuffer(GL_FRAMEBUFFER, m_framebuffer); in checkCompleteness()
327 GLenum status = m_context.checkFramebufferStatus(GL_FRAMEBUFFER); in checkCompleteness()
328 m_context.bindFramebuffer(GL_FRAMEBUFFER, 0); in checkCompleteness()
557 context.bindFramebuffer(GL_FRAMEBUFFER, fbo.getFramebuffer()); in render()
[all …]
Des3fFramebufferBlitTests.cpp100 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in render()
101 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in render()
103 checkFramebufferStatus(GL_FRAMEBUFFER); in render()
107 glBindFramebuffer(GL_FRAMEBUFFER, dstFbo); in render()
131 glBindFramebuffer(GL_FRAMEBUFFER, srcFbo); in render()
389 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in render()
390 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in render()
392 checkFramebufferStatus(GL_FRAMEBUFFER); in render()
400 glBindFramebuffer(GL_FRAMEBUFFER, ndx ? dstFbo : srcFbo); in render()
520 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in render()
[all …]
Des3fShaderPrecisionTests.cpp258 gl.bindFramebuffer(GL_FRAMEBUFFER, m_framebuffer); in init()
259 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_renderbuffer); in init()
262 TCU_CHECK(gl.checkFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE); in init()
264 gl.bindFramebuffer(GL_FRAMEBUFFER, m_context.getRenderContext().getDefaultFramebuffer()); in init()
354 gl.bindFramebuffer(GL_FRAMEBUFFER, m_framebuffer); in iterate()
424 gl.bindFramebuffer(GL_FRAMEBUFFER, m_context.getRenderContext().getDefaultFramebuffer()); in iterate()
511 gl.bindFramebuffer(GL_FRAMEBUFFER, m_framebuffer); in init()
512 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_renderbuffer); in init()
515 TCU_CHECK(gl.checkFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE); in init()
517 gl.bindFramebuffer(GL_FRAMEBUFFER, m_context.getRenderContext().getDefaultFramebuffer()); in init()
[all …]
Des3fFboMultisampleTests.cpp117 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in render()
118 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, colorRbo); in render()
120 … glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
122 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
125 checkFramebufferStatus(GL_FRAMEBUFFER); in render()
128 glBindFramebuffer(GL_FRAMEBUFFER, msaaFbo); in render()
/external/deqp/modules/gles2/functional/
Des2fFboApiTest.cpp134 ctx.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, attachment, pname, &value); in checkFboAttachmentParam()
163 context.bindFramebuffer(GL_FRAMEBUFFER, fbo); in textureLevelsTest()
169 …context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, levels[ndx]… in textureLevelsTest()
183 context.bindFramebuffer(GL_FRAMEBUFFER, fbo); in textureLevelsWithRenderToMipmapTest()
189 …context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex, levels[ndx]… in textureLevelsWithRenderToMipmapTest()
196 context.bindFramebuffer(GL_FRAMEBUFFER, 1); in validTex2DAttachmentsTest()
209 context.framebufferTexture2D(GL_FRAMEBUFFER, attachmentPoints[pointNdx], GL_TEXTURE_2D, tex2D, 0); in validTex2DAttachmentsTest()
232 context.bindFramebuffer(GL_FRAMEBUFFER, 1); in validTexCubeAttachmentsTest()
241 …context.framebufferTexture2D(GL_FRAMEBUFFER, attachmentPoints[pointNdx], cubeTargets[targetNdx], t… in validTexCubeAttachmentsTest()
256 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 …]
Des2fNegativeBufferApiTests.cpp181 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
182 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
235 glBindRenderbuffer(GL_FRAMEBUFFER, 0); in init()
281 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
290 glFramebufferRenderbuffer(GL_FRAMEBUFFER, -1, GL_RENDERBUFFER, 0); in init()
296 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, rbo); in init()
302 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, -1); in init()
307 glBindFramebuffer(GL_FRAMEBUFFER, 0); in init()
308 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in init()
321 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
[all …]
Des2fFboRenderTest.cpp422 context.bindFramebuffer(GL_FRAMEBUFFER, m_framebuffer); in Framebuffer()
440 …context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_colorbuffer, 0… in Framebuffer()
449 …context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_colorbuff… in Framebuffer()
460 …context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, m_depthbuffe… in Framebuffer()
468 …context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, m_stencilb… in Framebuffer()
473 context.bindFramebuffer(GL_FRAMEBUFFER, 0); in Framebuffer()
486 m_context.bindFramebuffer(GL_FRAMEBUFFER, m_framebuffer); in checkCompleteness()
487 GLenum status = m_context.checkFramebufferStatus(GL_FRAMEBUFFER); in checkCompleteness()
488 m_context.bindFramebuffer(GL_FRAMEBUFFER, 0); in checkCompleteness()
672 context.bindFramebuffer(GL_FRAMEBUFFER, fbo.getFramebuffer()); in render()
[all …]
/external/deqp/modules/gles31/functional/
Des31fNegativeBufferApiTests.cpp188 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); in read_pixels()
189 ctx.glCheckFramebufferStatus(GL_FRAMEBUFFER); in read_pixels()
233 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); in readn_pixels()
234 ctx.glCheckFramebufferStatus(GL_FRAMEBUFFER); in readn_pixels()
285 ctx.glBindFramebuffer (GL_FRAMEBUFFER, fbo); in read_pixels_fbo_format_mismatch()
286 ctx.glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); 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()
293 ctx.glCheckFramebufferStatus(GL_FRAMEBUFFER); in read_pixels_fbo_format_mismatch()
299 ctx.glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in read_pixels_fbo_format_mismatch()
300 ctx.glCheckFramebufferStatus(GL_FRAMEBUFFER); in read_pixels_fbo_format_mismatch()
[all …]
Des31fNegativeVertexArrayApiTests.cpp412 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); in draw_arrays()
413 ctx.glCheckFramebufferStatus(GL_FRAMEBUFFER); in draw_arrays()
416 ctx.glBindFramebuffer(GL_FRAMEBUFFER, 0); in draw_arrays()
440 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); in draw_arrays_invalid_program()
441 ctx.glCheckFramebufferStatus(GL_FRAMEBUFFER); in draw_arrays_invalid_program()
444 ctx.glBindFramebuffer(GL_FRAMEBUFFER, 0); in draw_arrays_invalid_program()
472 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); in draw_arrays_incomplete_primitive()
473 ctx.glCheckFramebufferStatus(GL_FRAMEBUFFER); in draw_arrays_incomplete_primitive()
476 ctx.glBindFramebuffer(GL_FRAMEBUFFER, 0); in draw_arrays_incomplete_primitive()
516 ctx.glBindFramebuffer(GL_FRAMEBUFFER, fbo); in draw_elements()
[all …]
Des31fMultisampleShaderRenderCase.cpp191 gl.bindFramebuffer(GL_FRAMEBUFFER, m_fbo); in init()
192 gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, textureTarget, m_fboTexture, 0); in init()
195 if (gl.checkFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) in init()
229 gl.bindFramebuffer(GL_FRAMEBUFFER, m_fbo); in init()
230 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_fboRbo); in init()
233 if (gl.checkFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) in init()
256 gl.bindFramebuffer(GL_FRAMEBUFFER, m_resolveFbo); in init()
257 …gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_resolveFboTexture, … in init()
260 if (gl.checkFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) in init()
474 gl.bindFramebuffer(GL_FRAMEBUFFER, m_fbo); in drawOneIteration()
[all …]
Des31fStencilTexturingTests.cpp506 const deUint32 status = gl.checkFramebufferStatus(GL_FRAMEBUFFER); in checkFramebufferStatus()
549 gl.bindFramebuffer(GL_FRAMEBUFFER, *fbo); in iterate()
550 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, *colorBuf); in iterate()
611 gl.bindFramebuffer(GL_FRAMEBUFFER, *fbo); in iterate()
612 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, *colorBuf); in iterate()
702 gl.bindFramebuffer(GL_FRAMEBUFFER, *fbo); in iterate()
703 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, *colorBuf); in iterate()
773 gl.bindFramebuffer(GL_FRAMEBUFFER, *fbo); in iterate()
774 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, *colorBuf); in iterate()
775 …gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_TEXTURE_2D, *depthStencilT… in iterate()
[all …]
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DGlTextureFrameBuffer.java68 GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, frameBufferId); in GlTextureFrameBuffer()
72 GLES20.glFramebufferTexture2D(GLES20.GL_FRAMEBUFFER, GLES20.GL_COLOR_ATTACHMENT0, in GlTextureFrameBuffer()
77 GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, 0); in GlTextureFrameBuffer()
96 GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, frameBufferId); in setSize()
106 final int status = GLES20.glCheckFramebufferStatus(GLES20.GL_FRAMEBUFFER); in setSize()
112 GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, 0); in setSize()
/external/deqp/modules/glshared/
DglsLifetimeTests.cpp195 GLU_CHECK_CALL_ERROR(gl.bindFramebuffer(GL_FRAMEBUFFER, fbo), in setupFbo()
228 gl.bindFramebuffer(GL_FRAMEBUFFER, 0); in setupFbo()
238 gl.bindFramebuffer(GL_FRAMEBUFFER, fbo), in drawFbo()
246 gl.bindFramebuffer(GL_FRAMEBUFFER, 0), in drawFbo()
253 gl.bindFramebuffer(GL_FRAMEBUFFER, fbo); in getFboAttachment()
255 gl.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in getFboAttachment()
264 gl.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in getFboAttachment()
268 gl.bindFramebuffer(GL_FRAMEBUFFER, 0); in getFboAttachment()
333 glBindFramebuffer(GL_FRAMEBUFFER, fbo), in attach()
336 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in attach()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DOGLES3ColourGrading.cpp472 glBindFramebuffer(GL_FRAMEBUFFER, m_uiFBO); in CreateFBO()
478 …glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_uiTextureToRenderTo,… in CreateFBO()
481 GLuint uStatus = glCheckFramebufferStatus(GL_FRAMEBUFFER); in CreateFBO()
492 glBindFramebuffer(GL_FRAMEBUFFER, m_uiFBOMultisampled); in CreateFBO()
508 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, m_uiDepthBufferMul… in CreateFBO()
511 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_uiColourBufferM… in CreateFBO()
514 uStatus = glCheckFramebufferStatus(GL_FRAMEBUFFER); in CreateFBO()
522 glBindFramebuffer(GL_FRAMEBUFFER, m_i32OriginalFbo); in CreateFBO()
697 glBindFramebuffer(GL_FRAMEBUFFER, m_uiFBOMultisampled); in RenderScene()
760 glInvalidateFramebuffer(GL_FRAMEBUFFER, 2, attachments); in RenderScene()
[all …]
/external/autotest/client/deps/glbench/src/
Dfillratetest.cc210 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in Run()
211 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in Run()
216 GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER); in Run()
231 glBindFramebuffer(GL_FRAMEBUFFER, save_fb); in Run()

12345