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

Side by Side Diff: cc/picture_pile_impl.h

Issue 11678003: cc: Fix low-res impl-side painting artifacts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: \okayguy{0.0625*f*} Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « cc/picture_pile.cc ('k') | cc/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_PICTURE_PILE_IMPL_H_ 5 #ifndef CC_PICTURE_PILE_IMPL_H_
6 #define CC_PICTURE_PILE_IMPL_H_ 6 #define CC_PICTURE_PILE_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 10
(...skipping 30 matching lines...) Expand all
41 41
42 void GatherPixelRefs(const gfx::Rect&, std::list<skia::LazyPixelRef*>&); 42 void GatherPixelRefs(const gfx::Rect&, std::list<skia::LazyPixelRef*>&);
43 43
44 private: 44 private:
45 friend class PicturePile; 45 friend class PicturePile;
46 46
47 PicturePileImpl(); 47 PicturePileImpl();
48 ~PicturePileImpl(); 48 ~PicturePileImpl();
49 49
50 PicturePile::Pile pile_; 50 PicturePile::Pile pile_;
51 float min_contents_scale_;
51 52
52 typedef std::map<base::PlatformThreadId, scoped_refptr<PicturePileImpl> > 53 typedef std::map<base::PlatformThreadId, scoped_refptr<PicturePileImpl> >
53 CloneMap; 54 CloneMap;
54 CloneMap clones_; 55 CloneMap clones_;
55 56
56 friend class base::RefCounted<PicturePileImpl>; 57 friend class base::RefCounted<PicturePileImpl>;
57 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); 58 DISALLOW_COPY_AND_ASSIGN(PicturePileImpl);
58 }; 59 };
59 60
60 } // namespace cc 61 } // namespace cc
61 62
62 #endif // CC_PICTURE_PILE_IMPL_H_ 63 #endif // CC_PICTURE_PILE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/picture_pile.cc ('k') | cc/picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698