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

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: 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
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 void AdvanceToPictureWithPixelRefs(); 102 void AdvanceToPictureWithPixelRefs();
103 103
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 bool can_use_lcd_text() const {
113 return enable_lcd_text_;
114 }
115
112 protected: 116 protected:
113 friend class PicturePile; 117 friend class PicturePile;
114 friend class PixelRefIterator; 118 friend class PixelRefIterator;
115 119
116 explicit PicturePileImpl(bool enable_lcd_text); 120 explicit PicturePileImpl(bool enable_lcd_text);
117 PicturePileImpl(const PicturePileBase* other, bool enable_lcd_text); 121 PicturePileImpl(const PicturePileBase* other, bool enable_lcd_text);
118 virtual ~PicturePileImpl(); 122 virtual ~PicturePileImpl();
119 123
120 private: 124 private:
121 class ClonesForDrawing { 125 class ClonesForDrawing {
(...skipping 24 matching lines...) Expand all
146 // instance. This member variable must be last so that other member 150 // instance. This member variable must be last so that other member
147 // variables have already been initialized and can be clonable. 151 // variables have already been initialized and can be clonable.
148 const ClonesForDrawing clones_for_drawing_; 152 const ClonesForDrawing clones_for_drawing_;
149 153
150 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); 154 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl);
151 }; 155 };
152 156
153 } // namespace cc 157 } // namespace cc
154 158
155 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_ 159 #endif // CC_RESOURCES_PICTURE_PILE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/resources/picture.cc ('k') | cc/resources/tile.h » ('j') | cc/resources/tile_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698