Index: gpu/command_buffer/service/framebuffer_manager.h |
diff --git a/gpu/command_buffer/service/framebuffer_manager.h b/gpu/command_buffer/service/framebuffer_manager.h |
index 78c11ad2244cef39f87106fe82bceae84f56f7bf..75f7e2a7ec605d652e312720d06449cd372cb4cc 100644 |
--- a/gpu/command_buffer/service/framebuffer_manager.h |
+++ b/gpu/command_buffer/service/framebuffer_manager.h |
@@ -74,6 +74,11 @@ class GPU_EXPORT Framebuffer : public base::RefCounted<Framebuffer> { |
GLenum attachment, |
bool cleared); |
+ // Unbinds all attachments from this framebuffer for workaround |
+ // 'unbind_attachments_on_bound_render_fbo_delete'. The Framebuffer must be |
+ // bound when calling this. |
+ void DoUnbindGLAttachmentsForWorkaround(GLenum target); |
+ |
// Attaches a renderbuffer to a particlar attachment. |
// Pass null to detach. |
void AttachRenderbuffer( |