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

Side by Side Diff: cc/resources/picture_pile_base.h

Issue 684543006: cc: Toggle LCD text at raster time instead of record time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcdraster: header Created 6 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RESOURCES_PICTURE_PILE_BASE_H_ 5 #ifndef CC_RESOURCES_PICTURE_PILE_BASE_H_
6 #define CC_RESOURCES_PICTURE_PILE_BASE_H_ 6 #define CC_RESOURCES_PICTURE_PILE_BASE_H_
7 7
8 #include <bitset> 8 #include <bitset>
9 #include <list> 9 #include <list>
10 #include <utility> 10 #include <utility>
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 SkColor background_color_; 114 SkColor background_color_;
115 int slow_down_raster_scale_factor_for_debug_; 115 int slow_down_raster_scale_factor_for_debug_;
116 bool contents_opaque_; 116 bool contents_opaque_;
117 bool contents_fill_bounds_completely_; 117 bool contents_fill_bounds_completely_;
118 bool show_debug_picture_borders_; 118 bool show_debug_picture_borders_;
119 bool clear_canvas_with_debug_color_; 119 bool clear_canvas_with_debug_color_;
120 // A hint about whether there are any recordings. This may be a false 120 // A hint about whether there are any recordings. This may be a false
121 // positive. 121 // positive.
122 bool has_any_recordings_; 122 bool has_any_recordings_;
123 bool is_mask_; 123 bool is_mask_;
124 bool can_use_lcd_text_;
124 bool is_solid_color_; 125 bool is_solid_color_;
125 SkColor solid_color_; 126 SkColor solid_color_;
126 127
127 private: 128 private:
128 friend class PicturePileImpl; 129 friend class PicturePileImpl;
129 130
130 void SetBufferPixels(int buffer_pixels); 131 void SetBufferPixels(int buffer_pixels);
131 132
132 DISALLOW_COPY_AND_ASSIGN(PicturePileBase); 133 DISALLOW_COPY_AND_ASSIGN(PicturePileBase);
133 }; 134 };
134 135
135 } // namespace cc 136 } // namespace cc
136 137
137 #endif // CC_RESOURCES_PICTURE_PILE_BASE_H_ 138 #endif // CC_RESOURCES_PICTURE_PILE_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698