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

Side by Side Diff: cc/output/renderer_settings.h

Issue 2328133002: Add cc::LayerTreeSettings for color correct rendering (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « cc/base/switches.cc ('k') | cc/output/renderer_settings.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/base/cc_export.h"
(...skipping 19 matching lines...) Expand all
30 bool finish_rendering_on_resize; 30 bool finish_rendering_on_resize;
31 bool should_clear_root_render_pass; 31 bool should_clear_root_render_pass;
32 bool disable_display_vsync; 32 bool disable_display_vsync;
33 bool release_overlay_resources_after_gpu_query; 33 bool release_overlay_resources_after_gpu_query;
34 bool gl_composited_texture_quad_border; 34 bool gl_composited_texture_quad_border;
35 35
36 double refresh_rate; 36 double refresh_rate;
37 int highp_threshold_min; 37 int highp_threshold_min;
38 size_t texture_id_allocation_chunk_size; 38 size_t texture_id_allocation_chunk_size;
39 bool use_gpu_memory_buffer_resources; 39 bool use_gpu_memory_buffer_resources;
40 bool enable_color_correct_rendering;
enne (OOO) 2016/09/12 18:33:24 This should really be in LayerTreeSettings, I thin
ccameron 2016/09/12 21:21:40 Sounds good -- moved. I think that I'll also want
40 ResourceFormat preferred_tile_format; 41 ResourceFormat preferred_tile_format;
41 BufferToTextureTargetMap buffer_to_texture_target_map; 42 BufferToTextureTargetMap buffer_to_texture_target_map;
42 43
43 void ToProtobuf(proto::RendererSettings* proto) const; 44 void ToProtobuf(proto::RendererSettings* proto) const;
44 void FromProtobuf(const proto::RendererSettings& proto); 45 void FromProtobuf(const proto::RendererSettings& proto);
45 46
46 bool operator==(const RendererSettings& other) const; 47 bool operator==(const RendererSettings& other) const;
47 }; 48 };
48 49
49 } // namespace cc 50 } // namespace cc
50 51
51 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ 52 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/base/switches.cc ('k') | cc/output/renderer_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698