OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_OUTPUT_RENDERER_SETTINGS_H_ | 5 #ifndef CC_OUTPUT_RENDERER_SETTINGS_H_ |
6 #define CC_OUTPUT_RENDERER_SETTINGS_H_ | 6 #define CC_OUTPUT_RENDERER_SETTINGS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "cc/base/cc_export.h" | 10 #include "cc/cc_export.h" |
11 #include "cc/output/buffer_to_texture_target_map.h" | 11 #include "cc/output/buffer_to_texture_target_map.h" |
12 #include "cc/resources/resource_format.h" | 12 #include "cc/resources/resource_format.h" |
13 | 13 |
14 namespace cc { | 14 namespace cc { |
15 | 15 |
16 class CC_EXPORT RendererSettings { | 16 class CC_EXPORT RendererSettings { |
17 public: | 17 public: |
18 RendererSettings(); | 18 RendererSettings(); |
19 RendererSettings(const RendererSettings& other); | 19 RendererSettings(const RendererSettings& other); |
20 ~RendererSettings(); | 20 ~RendererSettings(); |
(...skipping 14 matching lines...) Expand all Loading... |
35 int highp_threshold_min = 0; | 35 int highp_threshold_min = 0; |
36 size_t texture_id_allocation_chunk_size = 64; | 36 size_t texture_id_allocation_chunk_size = 64; |
37 bool use_gpu_memory_buffer_resources = false; | 37 bool use_gpu_memory_buffer_resources = false; |
38 ResourceFormat preferred_tile_format; | 38 ResourceFormat preferred_tile_format; |
39 BufferToTextureTargetMap buffer_to_texture_target_map; | 39 BufferToTextureTargetMap buffer_to_texture_target_map; |
40 }; | 40 }; |
41 | 41 |
42 } // namespace cc | 42 } // namespace cc |
43 | 43 |
44 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ | 44 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ |
OLD | NEW |