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

Unified Diff: cc/transferable_resource.h

Issue 10915298: Add CCDelegatingRenderer, and corresponding IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge fix 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
Index: cc/transferable_resource.h
diff --git a/cc/transferable_resource.h b/cc/transferable_resource.h
new file mode 100644
index 0000000000000000000000000000000000000000..4cf8fcb4c69cbc5c86bf20e6ba49ab654a460711
--- /dev/null
+++ b/cc/transferable_resource.h
@@ -0,0 +1,34 @@
+// 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_TRANSERABLE_RESOURCE_H_
+#define CC_TRANSERABLE_RESOURCE_H_
+
+#include <vector>
+
+#include "ui/gfx/size.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3D.h"
+
+namespace cc {
+
+struct Mailbox {
+ WebKit::WGC3Dbyte name[64];
+};
+
+struct TransferableResource {
+ unsigned id;
+ WebKit::WGC3Denum format;
+ gfx::Size size;
+ Mailbox mailbox;
+};
+
+typedef std::vector<TransferableResource> TransferableResourceArray;
+
+struct TransferableResourceList {
aelias_OOO_until_Jul13 2012/10/10 00:16:17 Clang builds fail, complaining this needs a constr
+ TransferableResourceArray resources;
+ unsigned sync_point;
+};
+
+} // namespace cc
+#endif // CC_TRANSERABLE_RESOURCE_H_

Powered by Google App Engine
This is Rietveld 408576698