/external/chromium_org/gpu/command_buffer/tests/ |
D | gl_chromium_framebuffer_multisample_unittest.cc | 38 glBindFramebuffer(GL_FRAMEBUFFER, 0); in TEST_F() 44 glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_F() 93 glBindFramebuffer(GL_FRAMEBUFFER, sample_fbo); in TEST_F() 94 glFramebufferRenderbuffer(GL_FRAMEBUFFER, in TEST_F() 99 glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_F() 119 glBindFramebuffer(GL_FRAMEBUFFER, resolve_fbo); in TEST_F() 120 glFramebufferTexture2D(GL_FRAMEBUFFER, in TEST_F() 126 glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_F() 130 glBindFramebuffer(GL_FRAMEBUFFER, sample_fbo); in TEST_F()
|
D | gl_depth_texture_unittest.cc | 102 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_F() 118 GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, color_texture, 0); in TEST_F() 127 GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depth_texture, 0); in TEST_F() 151 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_F() 152 GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER); in TEST_F() 177 glBindFramebuffer(GL_FRAMEBUFFER, 0); in TEST_F()
|
D | gl_copy_texture_CHROMIUM_unittest.cc | 37 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer_id_); in SetUp() 38 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in SetUp() 73 glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_F() 250 glBindFramebuffer(GL_FRAMEBUFFER, 0); in TEST_F() 362 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer_id); in TEST_F() 363 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in TEST_F() 365 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, in TEST_F() 368 GL_FRAMEBUFFER_COMPLETE == glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_F() 395 glGetFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in TEST_F() 401 glGetFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in TEST_F() [all …]
|
D | gl_unittests.cc | 52 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in TEST_F() 53 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in TEST_F() 56 glCheckFramebufferStatus(GL_FRAMEBUFFER)); in TEST_F()
|
D | gl_texture_mailbox_unittests.cc | 27 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in ReadTexel() 28 glFramebufferTexture2D(GL_FRAMEBUFFER, in ReadTexel() 41 glCheckFramebufferStatus(GL_FRAMEBUFFER)); in ReadTexel() 46 glBindFramebuffer(GL_FRAMEBUFFER, old_fbo); in ReadTexel()
|
D | gl_texture_storage_unittests.cc | 28 glBindFramebuffer(GL_FRAMEBUFFER, fbo_); in SetUp() 29 glFramebufferTexture2D(GL_FRAMEBUFFER, in SetUp()
|
D | gl_readback_unittests.cc | 244 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_F() 246 GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture_id, 0); in TEST_F() 251 if (glCheckFramebufferStatus(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE) { in TEST_F()
|
D | gl_gpu_memory_buffer_unittests.cc | 89 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer_id_); in SetUp() 90 glFramebufferTexture2D(GL_FRAMEBUFFER, in SetUp()
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
D | WebGLDrawBuffers.cpp | 116 context->bindFramebuffer(GL_FRAMEBUFFER, fbo); in satisfiesWebGLRequirements() 145 … context->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + i, GL_TEXTURE_2D, color, 0); in satisfiesWebGLRequirements() 146 if (context->checkFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) { in satisfiesWebGLRequirements() 151 … context->framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depth, 0); in satisfiesWebGLRequirements() 152 if (context->checkFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) { in satisfiesWebGLRequirements() 156 context->framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, 0, 0); in satisfiesWebGLRequirements() 159 …context->framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depthStencil, 0); in satisfiesWebGLRequirements() 160 …context->framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, depthStencil, … in satisfiesWebGLRequirements() 161 if (context->checkFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) { in satisfiesWebGLRequirements() 165 context->framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, 0, 0); in satisfiesWebGLRequirements() [all …]
|
D | WebGLFramebuffer.cpp | 133 … context->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, object); in attach() 134 …context->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, objectOrZ… in attach() 136 context->framebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, object); in attach() 143 … context->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, 0); in unattach() 144 … context->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, 0); in unattach() 146 context->framebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, 0); in unattach() 243 context->framebufferTexture2D(GL_FRAMEBUFFER, attachment, m_target, object, m_level); in attach() 249 … context->framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, m_target, 0, m_level); in unattach() 250 … context->framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, m_target, 0, m_level); in unattach() 252 context->framebufferTexture2D(GL_FRAMEBUFFER, attachment, m_target, 0, m_level); in unattach()
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/ |
D | DrawingBuffer.cpp | 198 m_context->bindFramebuffer(GL_FRAMEBUFFER, m_fbo); in prepareMailbox() 199 …m_context->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_colorBuffer… in prepareMailbox() 288 m_context->bindFramebuffer(GL_FRAMEBUFFER, m_fbo); in initialize() 290 …m_context->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_colorBuffer… in initialize() 395 m_context->bindFramebuffer(GL_FRAMEBUFFER, framebuffer); in paintCompositedResultsToCanvas() 396 …m_context->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, sourceTexture… in paintCompositedResultsToCanvas() 402 m_context->bindFramebuffer(GL_FRAMEBUFFER, previousFramebuffer); in paintCompositedResultsToCanvas() 492 m_context->bindFramebuffer(GL_FRAMEBUFFER, m_multisampleFBO); in createSecondaryBuffers() 500 m_context->bindFramebuffer(GL_FRAMEBUFFER, m_fbo); in resizeFramebuffer() 507 …m_context->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_colorBuffer… in resizeFramebuffer() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/custom/ |
D | FECustomFilter.cpp | 84 m_context->bindFramebuffer(GL_FRAMEBUFFER, 0); in deleteRenderBuffers() 104 m_context->bindFramebuffer(GL_FRAMEBUFFER, 0); in deleteMultisampleRenderBuffers() 140 …m_context->bindFramebuffer(GL_FRAMEBUFFER, multisample ? m_multisampleFrameBuffer : m_frameBuffer); in drawFilterMesh() 260 m_context->bindFramebuffer(GL_FRAMEBUFFER, m_frameBuffer); in resolveMultisampleBuffer() 288 m_context->bindFramebuffer(GL_FRAMEBUFFER, m_multisampleFrameBuffer); in resizeMultisampleBuffers() 292 …m_context->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, m_multis… in resizeMultisampleBuffers() 296 …m_context->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, m_multisa… in resizeMultisampleBuffers() 300 if (m_context->checkFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) { in resizeMultisampleBuffers() 327 m_context->bindFramebuffer(GL_FRAMEBUFFER, m_frameBuffer); in resizeContext() 332 …m_context->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, m_destTexture… in resizeContext() [all …]
|
/external/chromium_org/gpu/command_buffer/service/ |
D | gles2_cmd_decoder_unittest_1.cc | 69 DoBindFramebuffer(GL_FRAMEBUFFER, client_framebuffer_id_, in SpecializedSetup() 74 GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in SpecializedSetup() 90 DoBindFramebuffer(GL_FRAMEBUFFER, client_framebuffer_id_, in SpecializedSetup() 132 DoBindFramebuffer(GL_FRAMEBUFFER, client_framebuffer_id_, in SpecializedSetup() 145 DoBindFramebuffer(GL_FRAMEBUFFER, client_framebuffer_id_, in SpecializedSetup() 164 DoBindFramebuffer(GL_FRAMEBUFFER, client_framebuffer_id_, in SpecializedSetup()
|
D | gles2_cmd_decoder_unittest.cc | 1982 cmd.Init(GL_FRAMEBUFFER, shared_memory_id_, shared_memory_offset_); in TEST_F() 1991 DoBindFramebuffer(GL_FRAMEBUFFER, client_framebuffer_id_, in TEST_F() 1995 true, GL_FRAMEBUFFER, 0, in TEST_F() 1996 true, GL_FRAMEBUFFER, 0); in TEST_F() 2011 GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in TEST_F() 2022 GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, client_texture_id_, in TEST_F() 2037 GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, in TEST_F() 2045 DoBindFramebuffer(GL_FRAMEBUFFER, client_framebuffer_id_, in TEST_F() 2051 GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in TEST_F() 2070 GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, in TEST_F() [all …]
|
D | gles2_cmd_decoder_unittest_1_autogen.h | 58 EXPECT_CALL(*gl_, BindFramebufferEXT(GL_FRAMEBUFFER, kServiceFramebufferId)); in TEST_F() 61 cmd.Init(GL_FRAMEBUFFER, client_framebuffer_id_); in TEST_F() 67 EXPECT_CALL(*gl_, BindFramebufferEXT(GL_FRAMEBUFFER, kNewServiceId)); in TEST_F() 72 cmd.Init(GL_FRAMEBUFFER, kNewClientId); in TEST_F() 122 cmd.Init(GL_FRAMEBUFFER, client_renderbuffer_id_); in TEST_F() 270 EXPECT_CALL(*gl_, CheckFramebufferStatusEXT(GL_FRAMEBUFFER)); in TEST_F() 273 cmd.Init(GL_FRAMEBUFFER, shared_memory_id_, shared_memory_offset_); in TEST_F() 297 EXPECT_CALL(*gl_, CheckFramebufferStatusEXT(GL_FRAMEBUFFER)).Times(0); in TEST_F() 300 cmd.Init(GL_FRAMEBUFFER, kInvalidSharedMemoryId, shared_memory_offset_); in TEST_F() 302 cmd.Init(GL_FRAMEBUFFER, shared_memory_id_, kInvalidSharedMemoryOffset); in TEST_F() [all …]
|
D | framebuffer_manager_unittest.cc | 716 EXPECT_CALL(*gl_, CheckFramebufferStatusEXT(GL_FRAMEBUFFER)) in TEST_F() 719 framebuffer_->GetStatus(&texture_manager_, GL_FRAMEBUFFER); in TEST_F() 723 EXPECT_CALL(*gl_, CheckFramebufferStatusEXT(GL_FRAMEBUFFER)) in TEST_F() 727 framebuffer_->GetStatus(&texture_manager_, GL_FRAMEBUFFER); in TEST_F() 732 EXPECT_CALL(*gl_, CheckFramebufferStatusEXT(GL_FRAMEBUFFER)) in TEST_F() 734 framebuffer_->GetStatus(&texture_manager_, GL_FRAMEBUFFER); in TEST_F() 738 EXPECT_CALL(*gl_, CheckFramebufferStatusEXT(GL_FRAMEBUFFER)) in TEST_F() 742 framebuffer_->GetStatus(&texture_manager_, GL_FRAMEBUFFER); in TEST_F()
|
/external/chromium_org/third_party/angle/samples/gles2_book/MultipleRenderTargets/ |
D | MultipleRenderTargets.c | 159 glBindFramebuffer(GL_FRAMEBUFFER, userData->framebuffer); in Init() 170 …glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0_EXT + i, GL_TEXTURE_2D, userData->fram… in Init() 198 glBindFramebuffer(GL_FRAMEBUFFER, userData->framebuffer); in Draw() 231 glBindFramebuffer(GL_FRAMEBUFFER, 0); in Draw()
|
/external/chromium_org/ui/gl/ |
D | scoped_binders.cc | 19 glBindFramebufferEXT(GL_FRAMEBUFFER, fbo); in ScopedFrameBufferBinder() 28 glBindFramebufferEXT(GL_FRAMEBUFFER, old_fbo_); in ~ScopedFrameBufferBinder()
|
D | gl_context_egl.cc | 102 glBindFramebufferEXT(GL_FRAMEBUFFER, 0); in MakeCurrent() 140 glBindFramebufferEXT(GL_FRAMEBUFFER, 0); in ReleaseCurrent()
|
/external/chromium_org/content/common/gpu/media/ |
D | rendering_helper.cc | 296 glBindFramebufferEXT(GL_FRAMEBUFFER, thumbnails_fbo_id_); in Initialize() 297 glFramebufferTexture2DEXT(GL_FRAMEBUFFER, in Initialize() 303 GLenum fb_status = glCheckFramebufferStatusEXT(GL_FRAMEBUFFER); in Initialize() 307 glBindFramebufferEXT(GL_FRAMEBUFFER, 0); in Initialize() 457 glBindFramebufferEXT(GL_FRAMEBUFFER, thumbnails_fbo_id_); in RenderTexture() 497 glBindFramebufferEXT(GL_FRAMEBUFFER, 0); in RenderTexture() 572 glBindFramebufferEXT(GL_FRAMEBUFFER, thumbnails_fbo_id_); in GetThumbnailsAsRGB() 582 glBindFramebufferEXT(GL_FRAMEBUFFER, 0); in GetThumbnailsAsRGB()
|
/external/chromium_org/content/renderer/gpu/ |
D | mailbox_output_surface.cc | 120 context3d->bindFramebuffer(GL_FRAMEBUFFER, fbo_); in DiscardBackbuffer() 144 context3d->bindFramebuffer(GL_FRAMEBUFFER, fbo_); in BindFramebuffer() 146 GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, in BindFramebuffer()
|
/external/chromium_org/content/common/gpu/client/ |
D | gl_helper.cc | 54 content::ScopedFramebufferBinder<GL_FRAMEBUFFER> framebuffer_binder( in TextureFrameBufferPair() 57 context->framebufferTexture2D(GL_FRAMEBUFFER, in TextureFrameBufferPair() 433 ScopedFramebufferBinder<GL_FRAMEBUFFER> framebuffer_binder(context_, in CropScaleReadbackAndCleanTexture() 436 context_->framebufferTexture2D(GL_FRAMEBUFFER, in CropScaleReadbackAndCleanTexture() 454 ScopedFramebufferBinder<GL_FRAMEBUFFER> framebuffer_binder(context_, in ReadbackTextureSync() 457 context_->framebufferTexture2D(GL_FRAMEBUFFER, in ReadbackTextureSync() 669 ScopedFramebufferBinder<GL_FRAMEBUFFER> framebuffer_binder(context_, in CopySubBufferDamage() 672 context_->framebufferTexture2D(GL_FRAMEBUFFER, in CopySubBufferDamage() 768 context_->bindFramebuffer(GL_FRAMEBUFFER, source->framebuffer()); in ReadbackPlane() 900 context_->bindFramebuffer(GL_FRAMEBUFFER, 0); in ReadbackYUV() [all …]
|
D | gl_helper_benchmark.cc | 159 context_->bindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_F() 259 context_->bindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_F()
|
/external/chromium_org/content/common/gpu/ |
D | texture_image_transport_surface.cc | 114 glBindFramebufferEXT(GL_FRAMEBUFFER, fbo_id_); in GetBackingFrameBufferObject() 453 glFramebufferTexture2DEXT(GL_FRAMEBUFFER, in AttachBackTextureToFBO() 461 GLenum status = glCheckFramebufferStatusEXT(GL_FRAMEBUFFER); in AttachBackTextureToFBO()
|
/external/chromium_org/cc/test/ |
D | layer_tree_pixel_test.cc | 260 context3d->bindFramebuffer(GL_FRAMEBUFFER, fbo); in CopyTextureMailboxToBitmap() 261 context3d->framebufferTexture2D(GL_FRAMEBUFFER, in CopyTextureMailboxToBitmap() 267 context3d->checkFramebufferStatus(GL_FRAMEBUFFER)); in CopyTextureMailboxToBitmap()
|