Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |