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

Unified Diff: cc/picture_layer.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/picture.cc ('k') | cc/picture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer.h
diff --git a/cc/picture_layer.h b/cc/picture_layer.h
index 2ff522f40bc28dcb6f258d6cc24e6ab27bebe986..f3ec15ad6117ebe624569114897f7e717e17d8fa 100644
--- a/cc/picture_layer.h
+++ b/cc/picture_layer.h
@@ -17,8 +17,8 @@ class ResourceUpdateQueue;
struct RenderingStats;
class CC_EXPORT PictureLayer : public ContentsScalingLayer {
-public:
- static scoped_refptr<PictureLayer> create(ContentLayerClient*);
+ public:
+ static scoped_refptr<PictureLayer> create(ContentLayerClient* client);
void clearClient() { client_ = 0; }
@@ -26,17 +26,20 @@ public:
virtual bool drawsContent() const OVERRIDE;
virtual scoped_ptr<LayerImpl> createLayerImpl(
LayerTreeImpl* treeImpl) OVERRIDE;
- virtual void pushPropertiesTo(LayerImpl*) OVERRIDE;
+ virtual void setLayerTreeHost(LayerTreeHost* host) OVERRIDE;
+ virtual void pushPropertiesTo(LayerImpl* layer) OVERRIDE;
virtual void setNeedsDisplayRect(const gfx::RectF& layerRect) OVERRIDE;
- virtual void update(ResourceUpdateQueue&, const OcclusionTracker*,
- RenderingStats&) OVERRIDE;
+ virtual void update(
+ ResourceUpdateQueue& queue,
+ const OcclusionTracker* occlusion,
+ RenderingStats& stats) OVERRIDE;
virtual void setIsMask(bool is_mask) OVERRIDE;
-protected:
- explicit PictureLayer(ContentLayerClient*);
+ protected:
+ explicit PictureLayer(ContentLayerClient* client);
virtual ~PictureLayer();
-private:
+ private:
ContentLayerClient* client_;
PicturePile pile_;
// Invalidation to use the next time update is called.
« no previous file with comments | « cc/picture.cc ('k') | cc/picture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698