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

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

Issue 15995033: cc: Low quality support for low res tiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase fix Created 7 years, 6 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/resources/picture_layer_tiling_set_unittest.cc ('k') | cc/resources/picture_pile_impl.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_IMPL_H_ 5 #ifndef CC_RESOURCES_PICTURE_PILE_IMPL_H_
6 #define CC_RESOURCES_PICTURE_PILE_IMPL_H_ 6 #define CC_RESOURCES_PICTURE_PILE_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 const PicturePileImpl* picture_pile_; 104 const PicturePileImpl* picture_pile_;
105 gfx::Rect layer_rect_; 105 gfx::Rect layer_rect_;
106 TilingData::Iterator tile_iterator_; 106 TilingData::Iterator tile_iterator_;
107 Picture::PixelRefIterator pixel_ref_iterator_; 107 Picture::PixelRefIterator pixel_ref_iterator_;
108 const PictureList* picture_list_; 108 const PictureList* picture_list_;
109 PictureList::const_iterator picture_list_iterator_; 109 PictureList::const_iterator picture_list_iterator_;
110 }; 110 };
111 111
112 void DidBeginTracing(); 112 void DidBeginTracing();
113 113
114 bool can_use_lcd_text() const {
115 return enable_lcd_text_;
116 }
117
114 protected: 118 protected:
115 friend class PicturePile; 119 friend class PicturePile;
116 friend class PixelRefIterator; 120 friend class PixelRefIterator;
117 121
118 explicit PicturePileImpl(bool enable_lcd_text); 122 explicit PicturePileImpl(bool enable_lcd_text);
119 PicturePileImpl(const PicturePileBase* other, bool enable_lcd_text); 123 PicturePileImpl(const PicturePileBase* other, bool enable_lcd_text);
120 virtual ~PicturePileImpl(); 124 virtual ~PicturePileImpl();
121 125
122 private: 126 private:
123 class ClonesForDrawing { 127 class ClonesForDrawing {
(...skipping 24 matching lines...) Expand all
148 // instance. This member variable must be last so that other member 152 // instance. This member variable must be last so that other member
149 // variables have already been initialized and can be clonable. 153 // variables have already been initialized and can be clonable.
150 const ClonesForDrawing clones_for_drawing_; 154 const ClonesForDrawing clones_for_drawing_;
151 155
152 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); 156 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl);
153 }; 157 };
154 158
155 } // namespace cc 159 } // namespace cc
156 160
157 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_ 161 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/resources/picture_layer_tiling_set_unittest.cc ('k') | cc/resources/picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698