Home
last modified time | relevance | path

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

123

/external/chromium_org/gpu/command_buffer/tests/
Dgl_chromium_framebuffer_multisample_unittest.cc38 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()
Dgl_depth_texture_unittest.cc102 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()
Dgl_copy_texture_CHROMIUM_unittest.cc37 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 …]
Dgl_unittests.cc52 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()
Dgl_texture_mailbox_unittests.cc27 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()
Dgl_texture_storage_unittests.cc28 glBindFramebuffer(GL_FRAMEBUFFER, fbo_); in SetUp()
29 glFramebufferTexture2D(GL_FRAMEBUFFER, in SetUp()
Dgl_readback_unittests.cc244 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()
Dgl_gpu_memory_buffer_unittests.cc89 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer_id_); in SetUp()
90 glFramebufferTexture2D(GL_FRAMEBUFFER, in SetUp()
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DWebGLDrawBuffers.cpp116 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 …]
DWebGLFramebuffer.cpp133 … 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/
DDrawingBuffer.cpp198 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/
DFECustomFilter.cpp84 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/
Dgles2_cmd_decoder_unittest_1.cc69 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()
Dgles2_cmd_decoder_unittest.cc1982 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 …]
Dgles2_cmd_decoder_unittest_1_autogen.h58 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 …]
Dframebuffer_manager_unittest.cc716 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/
DMultipleRenderTargets.c159 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/
Dscoped_binders.cc19 glBindFramebufferEXT(GL_FRAMEBUFFER, fbo); in ScopedFrameBufferBinder()
28 glBindFramebufferEXT(GL_FRAMEBUFFER, old_fbo_); in ~ScopedFrameBufferBinder()
Dgl_context_egl.cc102 glBindFramebufferEXT(GL_FRAMEBUFFER, 0); in MakeCurrent()
140 glBindFramebufferEXT(GL_FRAMEBUFFER, 0); in ReleaseCurrent()
/external/chromium_org/content/common/gpu/media/
Drendering_helper.cc296 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/
Dmailbox_output_surface.cc120 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/
Dgl_helper.cc54 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 …]
Dgl_helper_benchmark.cc159 context_->bindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_F()
259 context_->bindFramebuffer(GL_FRAMEBUFFER, framebuffer); in TEST_F()
/external/chromium_org/content/common/gpu/
Dtexture_image_transport_surface.cc114 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/
Dlayer_tree_pixel_test.cc260 context3d->bindFramebuffer(GL_FRAMEBUFFER, fbo); in CopyTextureMailboxToBitmap()
261 context3d->framebufferTexture2D(GL_FRAMEBUFFER, in CopyTextureMailboxToBitmap()
267 context3d->checkFramebufferStatus(GL_FRAMEBUFFER)); in CopyTextureMailboxToBitmap()

123