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

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: SynchronousCompositorOutputSurface::DemandDrawSw 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
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..a8132f9f5b7fe1bfbc887a7207e275e5846a33ee 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,7 @@ class CC_EXPORT GLFrameData {
gpu::Mailbox mailbox;
uint32 sync_point;
gfx::Size size;
+ gfx::Rect sub_buffer_rect;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698