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

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: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/ipc/cc_render_pass_traits.cc ('k') | cc/transferable_resource.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositorTransf erableResourceList.h"
13
14 namespace cc {
15
16 struct Mailbox {
17 WebKit::WGC3Dbyte name[64];
18 };
19
20 struct TransferableResource {
21 TransferableResource();
22 ~TransferableResource();
23
24 unsigned id;
25 WebKit::WGC3Denum format;
26 gfx::Size size;
27 Mailbox mailbox;
28 };
29
30 typedef std::vector<TransferableResource> TransferableResourceArray;
31
32 struct TransferableResourceList :
33 public WebKit::WebCompositorTransferableResourceList {
34 TransferableResourceList();
35 ~TransferableResourceList();
36
37 TransferableResourceArray resources;
38 unsigned sync_point;
39 };
40
41 } // namespace cc
42 #endif // CC_TRANSERABLE_RESOURCE_H_
OLDNEW
« no previous file with comments | « cc/ipc/cc_render_pass_traits.cc ('k') | cc/transferable_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698