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

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

Issue 1513733003: Revert of Allow one-copy task tile worker pool to use compressed textures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/layers/picture_layer_impl_unittest.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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/resources/resource_format.h"
11 10
12 namespace cc { 11 namespace cc {
13 12
14 namespace proto { 13 namespace proto {
15 class RendererSettings; 14 class RendererSettings;
16 } // namespace proto 15 } // namespace proto
17 16
18 class CC_EXPORT RendererSettings { 17 class CC_EXPORT RendererSettings {
19 public: 18 public:
20 RendererSettings(); 19 RendererSettings();
21 ~RendererSettings(); 20 ~RendererSettings();
22 21
23 bool allow_antialiasing; 22 bool allow_antialiasing;
24 bool force_antialiasing; 23 bool force_antialiasing;
25 bool force_blending_with_shaders; 24 bool force_blending_with_shaders;
26 bool partial_swap_enabled; 25 bool partial_swap_enabled;
27 bool finish_rendering_on_resize; 26 bool finish_rendering_on_resize;
28 bool should_clear_root_render_pass; 27 bool should_clear_root_render_pass;
29 bool disable_display_vsync; 28 bool disable_display_vsync;
30 bool delay_releasing_overlay_resources; 29 bool delay_releasing_overlay_resources;
31 double refresh_rate; 30 double refresh_rate;
32 int highp_threshold_min; 31 int highp_threshold_min;
32 bool use_rgba_4444_textures;
33 size_t texture_id_allocation_chunk_size; 33 size_t texture_id_allocation_chunk_size;
34 bool use_gpu_memory_buffer_resources; 34 bool use_gpu_memory_buffer_resources;
35 ResourceFormat preferred_tile_format;
36 35
37 void ToProtobuf(proto::RendererSettings* proto) const; 36 void ToProtobuf(proto::RendererSettings* proto) const;
38 void FromProtobuf(const proto::RendererSettings& proto); 37 void FromProtobuf(const proto::RendererSettings& proto);
39 38
40 bool operator==(const RendererSettings& other) const; 39 bool operator==(const RendererSettings& other) const;
41 }; 40 };
42 41
43 } // namespace cc 42 } // namespace cc
44 43
45 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ 44 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_
OLDNEW
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/output/renderer_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698