diff options
author | shawnsingh@chromium.org <shawnsingh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-27 08:29:00 +0000 |
---|---|---|
committer | shawnsingh@chromium.org <shawnsingh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-27 08:29:00 +0000 |
commit | c8686a05e1fa4cb3aa82690d7450791828096840 (patch) | |
tree | c43ef1a56ac27a06bc1ed7c069850cf7c6790002 /cc/overdraw_metrics.h | |
parent | 5006a4185d3a95976ced07022188f9abb48790be (diff) | |
download | chromium_src-c8686a05e1fa4cb3aa82690d7450791828096840.zip chromium_src-c8686a05e1fa4cb3aa82690d7450791828096840.tar.gz chromium_src-c8686a05e1fa4cb3aa82690d7450791828096840.tar.bz2 |
Animation code is not yet migrated by this patch, due to WebTransformOperations.
BUG=159972
Review URL: https://codereview.chromium.org/11308153
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169609 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/overdraw_metrics.h')
-rw-r--r-- | cc/overdraw_metrics.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/cc/overdraw_metrics.h b/cc/overdraw_metrics.h index 46916bf..81595e7 100644 --- a/cc/overdraw_metrics.h +++ b/cc/overdraw_metrics.h @@ -9,10 +9,7 @@ namespace gfx { class Rect; -} - -namespace WebKit { -class WebTransformationMatrix; +class Transform; } namespace cc { @@ -31,7 +28,7 @@ public: // Records that an invalid tile was culled and did not need to be painted/uploaded, and did not contribute to other tiles needing to be painted. void didCullTilesForUpload(int count); // Records pixels that were uploaded to texture memory. - void didUpload(const WebKit::WebTransformationMatrix& transformToTarget, const gfx::Rect& uploadRect, const gfx::Rect& opaqueRect); + void didUpload(const gfx::Transform& transformToTarget, const gfx::Rect& uploadRect, const gfx::Rect& opaqueRect); // Record contents texture(s) behind present using the given number of bytes. void didUseContentsTextureMemoryBytes(size_t contentsTextureUseBytes); // Record RenderSurfaceImpl texture(s) being present using the given number of bytes. @@ -40,9 +37,9 @@ public: // These methods are used for saving metrics during draw. // Record pixels that were not drawn to screen. - void didCullForDrawing(const WebKit::WebTransformationMatrix& transformToTarget, const gfx::Rect& beforeCullRect, const gfx::Rect& afterCullRect); + void didCullForDrawing(const gfx::Transform& transformToTarget, const gfx::Rect& beforeCullRect, const gfx::Rect& afterCullRect); // Record pixels that were drawn to screen. - void didDraw(const WebKit::WebTransformationMatrix& transformToTarget, const gfx::Rect& afterCullRect, const gfx::Rect& opaqueRect); + void didDraw(const gfx::Transform& transformToTarget, const gfx::Rect& afterCullRect, const gfx::Rect& opaqueRect); void recordMetrics(const LayerTreeHost*) const; void recordMetrics(const LayerTreeHostImpl*) const; |