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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CC_TRANSERABLE_RESOURCE_H_
6 #define CC_TRANSERABLE_RESOURCE_H_
7
8 #include <vector>
9
10 #include "ui/gfx/size.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h"
12
13 namespace cc {
14
15 struct Mailbox {
16 WebKit::WGC3Dbyte name[64];
17 };
18
19 struct TransferableResource {
20 unsigned id;
21 WebKit::WGC3Denum format;
22 gfx::Size size;
23 Mailbox mailbox;
24 };
25
26 typedef std::vector<TransferableResource> TransferableResourceArray;
27
28 struct TransferableResourceList {
aelias_OOO_until_Jul13 2012/10/10 00:16:17 Clang builds fail, complaining this needs a constr
29 TransferableResourceArray resources;
30 unsigned sync_point;
31 };
32
33 } // namespace cc
34 #endif // CC_TRANSERABLE_RESOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698