Home
last modified time | relevance | path

Searched refs:GL_DRAW_FRAMEBUFFER (Results 1 – 25 of 167) sorted by relevance

1234567

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fFramebufferDefaultStateQueryTests.cpp81 gl.glBindFramebuffer(GL_DRAW_FRAMEBUFFER, *fbo); in iterate()
127 verifyStateFramebufferInteger(result, gl, GL_DRAW_FRAMEBUFFER, pname, 0, m_verifier); in checkInitial()
134 gl.glFramebufferParameteri(GL_DRAW_FRAMEBUFFER, pname, 32); in checkSet()
137 verifyStateFramebufferInteger(result, gl, GL_DRAW_FRAMEBUFFER, pname, 32, m_verifier); in checkSet()
155 …verifyStateFramebufferInteger(result, gl, GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_SAMPLES, 0, … in checkInitial()
160 gl.glFramebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_SAMPLES, 1); in checkSet()
162 …verifyStateFramebufferIntegerMin(result, gl, GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_SAMPLES, … in checkSet()
164 gl.glFramebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_SAMPLES, 0); in checkSet()
166 …verifyStateFramebufferInteger(result, gl, GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_SAMPLES, 0, … in checkSet()
184 …verifyStateFramebufferInteger(result, gl, GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE… in checkInitial()
[all …]
Des31fFboNoAttachmentTests.cpp101 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in checkFramebufferSize()
108 TCU_CHECK(gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE); in checkFramebufferSize()
203 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in checkFramebufferRenderable()
206 TCU_CHECK(gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE); in checkFramebufferRenderable()
295 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in iterate()
297 …m_results.check(gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE, "Frameb… in iterate()
299 gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_WIDTH, 16); in iterate()
300 …m_results.check(gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE, "Frameb… in iterate()
302 gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_HEIGHT, 16); in iterate()
303 …m_results.check(gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE, "Frameb… in iterate()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredFBO.cpp57 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_id); in checkFBOCompleteness()
60 current_fbo_status = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER); in checkFBOCompleteness()
143 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_id_a); in initFBOs()
146 pGLFramebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, to_id_a, 0); /* level */ in initFBOs()
147 pGLFramebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT2, to_id_b, 0); /* level */ in initFBOs()
148 pGLFramebufferTexture(GL_DRAW_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, to_id_a_prim, 0); /* level */ in initFBOs()
155 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_id_b); in initFBOs()
158 pGLFramebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, to_id_c, 0); /* level */ in initFBOs()
159 pGLFramebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, to_id_a, 0); /* level */ in initFBOs()
162 pGLFramebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT2, to_id_d, 0); /* level */ in initFBOs()
[all …]
DesextcGeometryShaderLayeredRenderingFBONoAttachment.cpp235 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_fbo_id); in iterate()
240 …gl.getFramebufferParameteriv(GL_DRAW_FRAMEBUFFER, m_glExtTokens.FRAMEBUFFER_DEFAULT_LAYERS, &nLaye… in iterate()
258 gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_WIDTH, m_width); in iterate()
260 gl.getFramebufferParameteriv(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_WIDTH, &width); in iterate()
262 gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_HEIGHT, m_height); in iterate()
264 gl.getFramebufferParameteriv(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_HEIGHT, &height); in iterate()
349 …gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, m_glExtTokens.FRAMEBUFFER_DEFAULT_LAYERS, current_n_… in iterate()
353 …gl.getFramebufferParameteriv(GL_DRAW_FRAMEBUFFER, m_glExtTokens.FRAMEBUFFER_DEFAULT_LAYERS, &nLaye… in iterate()
DesextcGeometryShaderBlitting.cpp153 m_draw_fbo_completeness = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER); in iterate()
227 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in deinit()
286 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_draw_id); in setUpFramebuffersForRendering()
290 gl.framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, to_draw, 0, 0); in setUpFramebuffersForRendering()
320 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_draw_id); in setUpFramebuffersForRendering()
324 gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, to_draw, 0 /* level */); in setUpFramebuffersForRendering()
354 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_draw_id); in setUpFramebuffersForRendering()
358 gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, to_draw, 0 /* level */); in setUpFramebuffersForRendering()
DesextcGeometryShaderLayeredRendering.cpp410 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_tests[LAYERED_RENDERING_TEST_ITERATION_CUBEMAP].fbo_id); in iterate()
411 gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in iterate()
414 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_tests[LAYERED_RENDERING_TEST_ITERATION_2D_ARRAY].fbo_id); in iterate()
415 gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in iterate()
418 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_tests[LAYERED_RENDERING_TEST_ITERATION_3D].fbo_id); in iterate()
419 …gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_tests[LAYERED_RENDERING_TEST_IT… in iterate()
422 …gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_tests[LAYERED_RENDERING_TEST_ITERATION_2D_MULTISAMPLE_AR… in iterate()
423 gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in iterate()
558 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, dst_fbo_id); in iterate()
567 … gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, new_dst_to, 0); in iterate()
DesextcGeometryShaderLayeredRenderingBoundaryCondition.cpp157 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in deinit()
320 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_fbo_draw_id); in iterate()
360 …gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, m_textures_info[i].m_draw_buffer, m_textures_info[i].m_… in iterate()
365 …gl.framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, m_textures_info[i].m_draw_buffer, m_textures_info[… in iterate()
373 glw::GLenum fboCompleteness = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER); in iterate()
432 glw::GLenum _fboCompleteness = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER); in iterate()
DesextcGeometryShaderLayeredFramebuffer.cpp283 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_fbo_id); in iterate()
285 gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_to_id, 0 /* level */); in iterate()
555 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_id); in iterate()
557 gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, to_id, 0 /* level */); in iterate()
985 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_fbo_id); in iterate()
987 gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_to_a_id, 0 /* level */); in iterate()
988 gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, m_to_b_id, 0 /* level */); in iterate()
992 if (gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) in iterate()
995 << "Draw framebuffer is incomplete: " << gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER) in iterate()
1333 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_fbo_id); in iterate()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleDependenciesTests.cpp233 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_id); in iterate()
238 gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D_MULTISAMPLE, in iterate()
245 …gl.framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, to_id_multisample_2d_array, … in iterate()
250 gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, GL_TEXTURE_2D_MULTISAMPLE, in iterate()
257 glw::GLenum fbo_status = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER); in iterate()
390 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_id); in iterate()
395 …gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, to_id_2d, 0); /*… in iterate()
399 …gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, GL_TEXTURE_2D_MULTISAMPLE, to_i… in iterate()
405 glw::GLenum fbo_status = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER); in iterate()
417 …gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, GL_TEXTURE_2D_MULTISAMPLE, 0, /… in iterate()
[all …]
Des31cTextureStorageMultisampleGetMultisamplefvTests.cpp229 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_id); in iterate()
231 …gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D_MULTISAMPLE, to_2… in iterate()
238 fbo_completeness_status = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER); in iterate()
248 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_id); in iterate()
287 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in deinit()
Des31cTextureStorageMultisampleFunctionalTests.cpp184 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, dst_fbo_id); in iterate()
219 …gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dst_to_color_id,… in iterate()
220 …gl.framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, dst_to_depth_stencil_… in iterate()
224 fbo_completeness_status = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER); in iterate()
401 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_dst_id); in iterate()
553 …gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D_MULTISAMPLE, to_sr… in iterate()
588 …gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, to_dst_id, 0); /*… in iterate()
623 gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, 0, /* texture */ in iterate()
626 …gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, to_dst_preview_i… in iterate()
829 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo_draw_id); in iterate()
[all …]
Des31cFramebufferNoAttachmentsTests.cpp198 GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, in iterate()
575 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_framebuffer); in iterate()
576 gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_WIDTH, 32); in iterate()
577 gl.framebufferParameteri(GL_DRAW_FRAMEBUFFER, GL_FRAMEBUFFER_DEFAULT_HEIGHT, 32); in iterate()
588 gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_texture, 0); in iterate()
591 gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, 0, 0); in iterate()
606 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DClearMultiviewGL.cpp60 mStateManager->bindFramebuffer(GL_DRAW_FRAMEBUFFER, mFramebuffer); in clearLayeredFBO()
128 mFunctions->framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, colorAttachment, in attachTextures()
142 mFunctions->framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, in attachTextures()
152 mFunctions->framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, in attachTextures()
162 mFunctions->framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, in attachTextures()
180 mFunctions->framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, colorAttachment, 0, 0, 0); in detachTextures()
188 mFunctions->framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, 0, 0, in detachTextures()
193 mFunctions->framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, 0, 0, 0); in detachTextures()
197 mFunctions->framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, 0, 0, 0); in detachTextures()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayFBOIncompleteness.cpp70 glw::GLenum fbo_completeness = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER); in checkState()
96 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in deinit()
171 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_fbo_id); in iterate()
188 gl.framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_small_to_id, 0, /* level */ in iterate()
247 …gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_lots_of_layers_to_id, 0); /* le… in iterate()
270 gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_small_to_id, 0); /* level */ in iterate()
271 …gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT1, m_non_layered_to_id, 0); /* level… in iterate()
DesextcTextureCubeMapArrayColorDepthAttachments.cpp238 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_framebuffer_object_id); in configureLayeredFramebufferAttachment()
242 gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, attachment, texture_id, 0 /* level */); in configureLayeredFramebufferAttachment()
279 framebuffer_target = GL_DRAW_FRAMEBUFFER; in configureNonLayeredFramebufferAttachment()
404 const glw::GLenum framebuffer_status = gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER); in determineSupportedDepthFormat()
790 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_framebuffer_object_id); in releaseAndDetachTextureObject()
794 gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, attachment, GL_TEXTURE_2D, 0, /* texture */ in releaseAndDetachTextureObject()
838 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in testLayeredRendering()
953 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in testNonLayeredRendering()
DesextcTextureCubeMapArrayStencilAttachments.cpp443 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in cleanAfterTest()
796 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_fbo_draw_id); in initTestIteration()
812 checkFramebufferStatus(gl.checkFramebufferStatus(GL_DRAW_FRAMEBUFFER)); in initTestIteration()
882 …gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_texture_cube_array_color_id, 0 … in setupLayeredFramebuffer()
885 …gl.framebufferTexture(GL_DRAW_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, m_texture_cube_array_stenc… in setupLayeredFramebuffer()
895 …gl.framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, m_texture_cube_array_color_i… in setupNonLayeredFramebuffer()
899 …gl.framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, m_texture_cube_array_… in setupNonLayeredFramebuffer()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DMultiviewTest.cpp91 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, tempFbo); in CreateMultiviewBackingTextures()
95 glFramebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, colorTexture, in CreateMultiviewBackingTextures()
118 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, tempFbo); in CreateMultiviewBackingTextures()
122 glFramebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, depthTexture, 0, in CreateMultiviewBackingTextures()
142 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, tempFbo); in CreateMultiviewBackingTextures()
147 glFramebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, in CreateMultiviewBackingTextures()
161 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, restoreDrawFramebuffer); in CreateMultiviewBackingTextures()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DBlitFramebufferANGLETest.cpp325 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, readFramebuffer); in multisampleTestHelper()
330 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, drawFramebuffer); in multisampleTestHelper()
1268 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, resolved.get()); in TEST_P()
1269 glFramebufferRenderbuffer(GL_DRAW_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
1354 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in TEST_P()
1475 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, resolved.get()); in TEST_P()
1476 glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in TEST_P()
1478 glFramebufferRenderbuffer(GL_DRAW_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
1520 glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in TEST_P()
1522 glFramebufferRenderbuffer(GL_DRAW_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
[all …]
DFramebufferTest.cpp346 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, completeFBO); in TEST_P()
347 glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in TEST_P()
352 EXPECT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_DRAW_FRAMEBUFFER)); in TEST_P()
453 glInvalidateSubFramebuffer(GL_DRAW_FRAMEBUFFER, 1, attachments.data(), 0, 0, kHeight, kWidth); in TEST_P()
471 glInvalidateSubFramebuffer(GL_DRAW_FRAMEBUFFER, 1, attachments.data(), 0, 0, kHeight, kWidth); in TEST_P()
522 glInvalidateSubFramebuffer(GL_DRAW_FRAMEBUFFER, 3, attachments.data(), 0, 0, kHeight, kWidth); in TEST_P()
1114 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, fbo); in TEST_P()
1344 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, drawFbo); in blitCopyFollowedByFBORead()
1345 glFramebufferRenderbuffer(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in blitCopyFollowedByFBORead()
1347 EXPECT_GL_FRAMEBUFFER_COMPLETE(GL_DRAW_FRAMEBUFFER); in blitCopyFollowedByFBORead()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLPreRotationTest.cpp884 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in TEST_P()
978 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in TEST_P()
1067 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in TEST_P()
1165 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in TEST_P()
1235 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer.get()); in TEST_P()
1239 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in TEST_P()
1251 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in TEST_P()
1262 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in TEST_P()
1319 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer.get()); in TEST_P()
1331 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer.get()); in TEST_P()
[all …]
/third_party/mesa3d/src/mesa/main/
Dclear.c454 _mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in _mesa_ClearNamedFramebufferiv()
456 _mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, (GLuint) oldfb); in _mesa_ClearNamedFramebufferiv()
548 _mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in _mesa_ClearNamedFramebufferuiv()
550 _mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, (GLuint) oldfb); in _mesa_ClearNamedFramebufferuiv()
682 _mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in _mesa_ClearNamedFramebufferfv()
684 _mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, (GLuint) oldfb); in _mesa_ClearNamedFramebufferfv()
800 _mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in _mesa_ClearNamedFramebufferfi()
802 _mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, (GLuint) oldfb); in _mesa_ClearNamedFramebufferfi()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DTextureGL.cpp251 gl.BindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in ClearTexture()
285 gl.FramebufferTexture2D(GL_DRAW_FRAMEBUFFER, attachment, in ClearTexture()
309 GL_DRAW_FRAMEBUFFER, attachment, GetHandle(), in ClearTexture()
376 gl.BindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); in ClearTexture()
419 gl.FramebufferTexture2D(GL_DRAW_FRAMEBUFFER, attachment, in ClearTexture()
427 gl.FramebufferTextureLayer(GL_DRAW_FRAMEBUFFER, attachment, in ClearTexture()
436 gl.FramebufferTextureLayer(GL_DRAW_FRAMEBUFFER, attachment, GetHandle(), in ClearTexture()
443 gl.BindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in ClearTexture()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DBlitFramebufferPerf.cpp154 glBindFramebuffer(GL_DRAW_FRAMEBUFFER, mDrawFramebuffer); in initializeBenchmark()
173 glFramebufferRenderbuffer(GL_DRAW_FRAMEBUFFER, attachment, GL_RENDERBUFFER, mDrawRenderbuffer); in initializeBenchmark()
174 ASSERT_GLENUM_EQ(GL_FRAMEBUFFER_COMPLETE, glCheckFramebufferStatus(GL_DRAW_FRAMEBUFFER)); in initializeBenchmark()
/third_party/gstreamer/gstplugins_good/ext/qt/
Dqtwindow.cc42 #ifndef GL_DRAW_FRAMEBUFFER
43 #define GL_DRAW_FRAMEBUFFER 0x8CA9 macro
219 gl->BindFramebuffer (GL_DRAW_FRAMEBUFFER, this->priv->fbo); in afterRendering()
220 gl->FramebufferTexture2D (GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in afterRendering()
223 ret = gst_gl_context_check_framebuffer_status (context, GL_DRAW_FRAMEBUFFER); in afterRendering()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferOperations.cpp429 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_fbo_id); in iterateSecondPhase()
436 gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_to_id, 0); in iterateSecondPhase()
440 checkFramebufferStatus(GL_DRAW_FRAMEBUFFER); in iterateSecondPhase()
512 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in iterateSecondPhase()
694 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in deinitSecondPhase()
872 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, m_fb_fbo_id); in initializeBufferObjectData()
886 gl.framebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_fb_to_id, 0); in initializeBufferObjectData()
890 checkFramebufferStatus(GL_DRAW_FRAMEBUFFER); in initializeBufferObjectData()
989 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in initializeBufferObjectData()
1069 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, 0); in deinit()

1234567