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

Side by Side Diff: cc/picture_pile_base.h

Issue 12383060: cc: Remove texture scaling and clear edge texels of a layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and expand base picture Created 7 years, 9 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/picture_pile.cc ('k') | cc/picture_pile_base.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 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_PICTURE_PILE_BASE_H_ 5 #ifndef CC_PICTURE_PILE_BASE_H_
6 #define CC_PICTURE_PILE_BASE_H_ 6 #define CC_PICTURE_PILE_BASE_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 typedef std::list<scoped_refptr<Picture> > PictureList; 49 typedef std::list<scoped_refptr<Picture> > PictureList;
50 typedef base::hash_map<PictureListMapKey, PictureList> PictureListMap; 50 typedef base::hash_map<PictureListMapKey, PictureList> PictureListMap;
51 51
52 // A picture pile is a tiled set of picture lists. The picture list map 52 // A picture pile is a tiled set of picture lists. The picture list map
53 // is a map of tile indices to picture lists. 53 // is a map of tile indices to picture lists.
54 PictureListMap picture_list_map_; 54 PictureListMap picture_list_map_;
55 TilingData tiling_; 55 TilingData tiling_;
56 Region recorded_region_; 56 Region recorded_region_;
57 float min_contents_scale_; 57 float min_contents_scale_;
58 SkTileGridPicture::TileGridInfo tile_grid_info_; 58 SkTileGridPicture::TileGridInfo tile_grid_info_;
59 SkColor background_color_;
59 60
60 private: 61 private:
61 void SetBufferPixels(int buffer_pixels); 62 void SetBufferPixels(int buffer_pixels);
62 63
63 friend class base::RefCounted<PicturePileBase>; 64 friend class base::RefCounted<PicturePileBase>;
64 DISALLOW_COPY_AND_ASSIGN(PicturePileBase); 65 DISALLOW_COPY_AND_ASSIGN(PicturePileBase);
65 }; 66 };
66 67
67 } // namespace cc 68 } // namespace cc
68 69
69 #endif // CC_PICTURE_PILE_H_ 70 #endif // CC_PICTURE_PILE_H_
OLDNEW
« no previous file with comments | « cc/picture_pile.cc ('k') | cc/picture_pile_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698