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

Unified Diff: cc/compositor_frame.h

Issue 11308306: cc: Add CompositorFrame class with IPC param traits for it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forlanding Created 8 years 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/cc.gyp ('k') | cc/compositor_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/compositor_frame.h
diff --git a/cc/compositor_frame.h b/cc/compositor_frame.h
new file mode 100644
index 0000000000000000000000000000000000000000..b9f09c14e66f14cb5a02a4e539538938cce20b96
--- /dev/null
+++ b/cc/compositor_frame.h
@@ -0,0 +1,28 @@
+// 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_COMPOSITOR_FRAME_H_
+#define CC_COMPOSITOR_FRAME_H_
+
+#include "cc/cc_export.h"
+#include "cc/render_pass.h"
+#include "cc/scoped_ptr_vector.h"
+#include "cc/transferable_resource.h"
+#include "ui/gfx/size.h"
+
+namespace cc {
+
+class CC_EXPORT CompositorFrame {
+ public:
+ CompositorFrame();
+ ~CompositorFrame();
+
+ gfx::Size size;
+ TransferableResourceList resource_list;
+ ScopedPtrVector<RenderPass> render_pass_list;
+};
+
+} // namespace cc
+
+#endif // CC_COMPOSITOR_FRAME_H_
« no previous file with comments | « cc/cc.gyp ('k') | cc/compositor_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698