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

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

Issue 1379783002: Allow one-copy task tile worker pool to use compressed textures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace memory_efficient_format* with preferred_tile_format 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
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"
10 11
11 namespace cc { 12 namespace cc {
12 13
13 class CC_EXPORT RendererSettings { 14 class CC_EXPORT RendererSettings {
14 public: 15 public:
15 RendererSettings(); 16 RendererSettings();
16 ~RendererSettings(); 17 ~RendererSettings();
17 18
18 bool allow_antialiasing; 19 bool allow_antialiasing;
19 bool force_antialiasing; 20 bool force_antialiasing;
20 bool force_blending_with_shaders; 21 bool force_blending_with_shaders;
21 bool partial_swap_enabled; 22 bool partial_swap_enabled;
22 bool finish_rendering_on_resize; 23 bool finish_rendering_on_resize;
23 bool should_clear_root_render_pass; 24 bool should_clear_root_render_pass;
24 bool disable_display_vsync; 25 bool disable_display_vsync;
25 bool delay_releasing_overlay_resources; 26 bool delay_releasing_overlay_resources;
26 double refresh_rate; 27 double refresh_rate;
27 int highp_threshold_min; 28 int highp_threshold_min;
28 bool use_rgba_4444_textures;
29 size_t texture_id_allocation_chunk_size; 29 size_t texture_id_allocation_chunk_size;
30 bool use_gpu_memory_buffer_resources; 30 bool use_gpu_memory_buffer_resources;
31 ResourceFormat preferred_tile_format;
reveman 2015/12/02 18:27:18 Great! and we can add preferred_tile_format_with_a
31 }; 32 };
32 33
33 } // namespace cc 34 } // namespace cc
34 35
35 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_ 36 #endif // CC_OUTPUT_RENDERER_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698