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

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

Issue 1713503002: Reland Allow one-copy and zero-copy task tile worker pools to use compressed textures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 10 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/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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
11 #include "cc/resources/resource_format.h"
11 12
12 namespace cc { 13 namespace cc {
13 14
14 namespace proto { 15 namespace proto {
15 class RendererSettings; 16 class RendererSettings;
16 } // namespace proto 17 } // namespace proto
17 18
18 class CC_EXPORT RendererSettings { 19 class CC_EXPORT RendererSettings {
19 public: 20 public:
20 RendererSettings(); 21 RendererSettings();
21 ~RendererSettings(); 22 ~RendererSettings();
22 23
23 bool allow_antialiasing; 24 bool allow_antialiasing;
24 bool force_antialiasing; 25 bool force_antialiasing;
25 bool force_blending_with_shaders; 26 bool force_blending_with_shaders;
26 bool partial_swap_enabled; 27 bool partial_swap_enabled;
27 bool finish_rendering_on_resize; 28 bool finish_rendering_on_resize;
28 bool should_clear_root_render_pass; 29 bool should_clear_root_render_pass;
29 bool disable_display_vsync; 30 bool disable_display_vsync;
30 bool release_overlay_resources_on_swap_complete; 31 bool release_overlay_resources_on_swap_complete;
31 double refresh_rate; 32 double refresh_rate;
32 int highp_threshold_min; 33 int highp_threshold_min;
33 bool use_rgba_4444_textures;
34 size_t texture_id_allocation_chunk_size; 34 size_t texture_id_allocation_chunk_size;
35 bool use_gpu_memory_buffer_resources; 35 bool use_gpu_memory_buffer_resources;
36 ResourceFormat preferred_tile_format;
36 37
37 void ToProtobuf(proto::RendererSettings* proto) const; 38 void ToProtobuf(proto::RendererSettings* proto) const;
38 void FromProtobuf(const proto::RendererSettings& proto); 39 void FromProtobuf(const proto::RendererSettings& proto);
39 40
40 bool operator==(const RendererSettings& other) const; 41 bool operator==(const RendererSettings& other) const;
41 }; 42 };
42 43
43 } // namespace cc 44 } // namespace cc
44 45
45 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ 46 #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