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

Unified Diff: cc/picture_image_layer.h

Issue 12326022: Efficiently handle image layer scaling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Handle sublayerTransform and anchor point Created 7 years, 10 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
Index: cc/picture_image_layer.h
diff --git a/cc/picture_image_layer.h b/cc/picture_image_layer.h
index 442f68762761a466bac733f69adbf6787e019ea6..c0255e8255ea6d271b4030f38a56e791bd321e6d 100644
--- a/cc/picture_image_layer.h
+++ b/cc/picture_image_layer.h
@@ -20,10 +20,9 @@ class CC_EXPORT PictureImageLayer : public PictureLayer, ContentLayerClient {
void setBitmap(const SkBitmap& image);
// Layer implementation.
- virtual void update(
- ResourceUpdateQueue& queue,
- const OcclusionTracker* tracker,
- RenderingStats* stats) OVERRIDE;
+ virtual scoped_ptr<LayerImpl> createLayerImpl(
+ LayerTreeImpl* treeImpl) OVERRIDE;
+ virtual bool drawsContent() const OVERRIDE;
// ContentLayerClient implementation.
virtual void paintContents(
@@ -36,7 +35,6 @@ class CC_EXPORT PictureImageLayer : public PictureLayer, ContentLayerClient {
virtual ~PictureImageLayer();
SkBitmap bitmap_;
- gfx::Size bounds_;
};
} // namespace cc
« no previous file with comments | « cc/debug_colors.cc ('k') | cc/picture_image_layer.cc » ('j') | cc/picture_image_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698