summaryrefslogtreecommitdiff
path: root/chromium/cc/output/gl_frame_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/cc/output/gl_frame_data.h')
-rw-r--r--chromium/cc/output/gl_frame_data.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/chromium/cc/output/gl_frame_data.h b/chromium/cc/output/gl_frame_data.h
new file mode 100644
index 00000000000..a8132f9f5b7
--- /dev/null
+++ b/chromium/cc/output/gl_frame_data.h
@@ -0,0 +1,31 @@
+// 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 "cc/base/cc_export.h"
+#include "gpu/command_buffer/common/mailbox.h"
+#include "ui/gfx/rect.h"
+#include "ui/gfx/size.h"
+
+namespace cc {
+
+class CC_EXPORT 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_