Index: cc/output/gl_frame_data.h |
diff --git a/cc/output/gl_frame_data.h b/cc/output/gl_frame_data.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..50f1c6444b49879848dfa05b10a399a20b31a3e5 |
--- /dev/null |
+++ b/cc/output/gl_frame_data.h |
@@ -0,0 +1,30 @@ |
+// Copyright 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CC_OUTPUT_GL_FRAME_DATA_H_ |
+#define CC_OUTPUT_GL_FRAME_DATA_H_ |
+ |
+#include <string> |
+ |
+#include "base/basictypes.h" |
+#include "gpu/command_buffer/common/mailbox.h" |
+#include "ui/gfx/geometry/rect.h" |
+#include "ui/gfx/geometry/size.h" |
+ |
+namespace cc { |
+ |
+class GLFrameData { |
+ public: |
+ GLFrameData(); |
+ ~GLFrameData(); |
+ |
+ gpu::Mailbox mailbox; |
+ uint32 sync_point; |
+ gfx::Size size; |
+ gfx::Rect sub_buffer_rect; |
+}; |
+ |
+} // namespace cc |
+ |
+#endif // CC_OUTPUT_GL_FRAME_DATA_H_ |