OLD | NEW |
| (Empty) |
1 // Copyright 2015 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_OUTPUT_RENDERER_CAPABILITIES_H_ | |
6 #define CC_OUTPUT_RENDERER_CAPABILITIES_H_ | |
7 | |
8 #include "cc/resources/resource_format.h" | |
9 | |
10 namespace cc { | |
11 | |
12 // Represents the set of capabilities that a particular Renderer has. | |
13 struct RendererCapabilities { | |
14 RendererCapabilities(ResourceFormat best_texture_format, | |
15 bool allow_partial_texture_updates, | |
16 int max_texture_size, | |
17 bool using_shared_memory_resources); | |
18 | |
19 RendererCapabilities(); | |
20 ~RendererCapabilities(); | |
21 | |
22 // Duplicate any modification to this list to RendererCapabilitiesImpl. | |
23 ResourceFormat best_texture_format; | |
24 bool allow_partial_texture_updates; | |
25 int max_texture_size; | |
26 bool using_shared_memory_resources; | |
27 }; | |
28 | |
29 } // namespace cc | |
30 | |
31 #endif // CC_OUTPUT_RENDERER_CAPABILITIES_H_ | |
OLD | NEW |