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

Unified Diff: cc/output/gl_frame_data.h

Issue 16304003: Unified OutputSurface::SwapBuffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to 205473 Created 7 years, 6 months 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
« no previous file with comments | « cc/output/delegating_renderer.cc ('k') | cc/output/gl_frame_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/gl_frame_data.h
diff --git a/cc/output/gl_frame_data.h b/cc/output/gl_frame_data.h
index e6d227f4e52bdff22bf3a10d90bb7dfb35c9f6b9..b8ec5ec68f6ce99c8a68ee7baba706573b9757f6 100644
--- a/cc/output/gl_frame_data.h
+++ b/cc/output/gl_frame_data.h
@@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "cc/base/cc_export.h"
#include "gpu/command_buffer/common/mailbox.h"
+#include "ui/gfx/rect.h"
#include "ui/gfx/size.h"
namespace cc {
@@ -22,6 +23,8 @@ class CC_EXPORT GLFrameData {
gpu::Mailbox mailbox;
uint32 sync_point;
gfx::Size size;
+ gfx::Rect sub_buffer_rect;
+ bool partial_swap_allowed;
};
} // namespace cc
« no previous file with comments | « cc/output/delegating_renderer.cc ('k') | cc/output/gl_frame_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698