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

Unified Diff: cc/compositor_frame.h

Issue 10915298: Add CCDelegatingRenderer, and corresponding IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang Created 8 years, 2 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/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..8d56c63d5418a83427cb533e6a5fa6caeb60e07d
--- /dev/null
+++ b/cc/compositor_frame.h
@@ -0,0 +1,37 @@
+// Copyright (c) 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_WEB_COMPOSITOR_FRAME_H_
+#define CC_WEB_COMPOSITOR_FRAME_H_
+
+#include <vector>
+
+#include "cc/transferable_resource.h"
+#include "ui/gfx/size.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorFrame.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorFrameAck.h"
+
+namespace cc {
+
+class CCRenderPass;
+
+struct CompositorFrame : public WebKit::WebCompositorFrame {
+ CompositorFrame();
+ ~CompositorFrame();
+
+ gfx::Size size;
+ std::vector<CCRenderPass*> render_passes;
+ TransferableResourceList resources;
+};
+
+struct CompositorFrameAck : public WebKit::WebCompositorFrameAck {
+ CompositorFrameAck();
+ ~CompositorFrameAck();
+
+ TransferableResourceList resources;
+};
+
+} // namespace cc
+
+#endif // CC_WEB_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