Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Unified Diff: gpu/command_buffer/service/framebuffer_manager.h

Issue 2496813002: [Command buffer] workaround the framebuffer completeness bug for Intel Mac (Closed)
Patch Set: apply the workaround to all Mac vendors, not only Mac Intel Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 eab5809d63145562acb0564d46d59c61a454ad40..d313ffe1768205414a865f2a9924f7bff42cd2c0 100644
--- a/gpu/command_buffer/service/framebuffer_manager.h
+++ b/gpu/command_buffer/service/framebuffer_manager.h
@@ -147,6 +147,10 @@ class GPU_EXPORT Framebuffer : public base::RefCounted<Framebuffer> {
return has_been_bound_ && !IsDeleted();
}
+ bool ReadBufferHasNoImage() const;
+ bool DrawBuffersHaveNoImage() const;
+ bool ColorBuffersHaveImage() const;
+
bool HasColorAttachment(int index) const;
bool HasDepthAttachment() const;
bool HasStencilAttachment() const;

Powered by Google App Engine
This is Rietveld 408576698