OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_RESOURCES_TRANSFERABLE_RESOURCE_H_ | 5 #ifndef CC_RESOURCES_TRANSFERABLE_RESOURCE_H_ |
6 #define CC_RESOURCES_TRANSFERABLE_RESOURCE_H_ | 6 #define CC_RESOURCES_TRANSFERABLE_RESOURCE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "cc/base/cc_export.h" | |
13 #include "cc/base/resource_id.h" | 12 #include "cc/base/resource_id.h" |
| 13 #include "cc/cc_export.h" |
14 #include "cc/resources/resource_format.h" | 14 #include "cc/resources/resource_format.h" |
15 #include "gpu/command_buffer/common/mailbox_holder.h" | 15 #include "gpu/command_buffer/common/mailbox_holder.h" |
16 #include "ui/gfx/buffer_types.h" | 16 #include "ui/gfx/buffer_types.h" |
17 #include "ui/gfx/color_space.h" | 17 #include "ui/gfx/color_space.h" |
18 #include "ui/gfx/geometry/size.h" | 18 #include "ui/gfx/geometry/size.h" |
19 | 19 |
20 namespace cc { | 20 namespace cc { |
21 | 21 |
22 struct ReturnedResource; | 22 struct ReturnedResource; |
23 typedef std::vector<ReturnedResource> ReturnedResourceArray; | 23 typedef std::vector<ReturnedResource> ReturnedResourceArray; |
(...skipping 22 matching lines...) Expand all Loading... |
46 bool is_backed_by_surface_texture; | 46 bool is_backed_by_surface_texture; |
47 bool wants_promotion_hint; | 47 bool wants_promotion_hint; |
48 #endif | 48 #endif |
49 bool is_overlay_candidate; | 49 bool is_overlay_candidate; |
50 gfx::ColorSpace color_space; | 50 gfx::ColorSpace color_space; |
51 }; | 51 }; |
52 | 52 |
53 } // namespace cc | 53 } // namespace cc |
54 | 54 |
55 #endif // CC_RESOURCES_TRANSFERABLE_RESOURCE_H_ | 55 #endif // CC_RESOURCES_TRANSFERABLE_RESOURCE_H_ |
OLD | NEW |