summaryrefslogtreecommitdiffstats
path: root/cc/playback/discardable_image_map.h
diff options
context:
space:
mode:
authorericrk <ericrk@chromium.org>2016-03-09 11:22:01 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-09 19:23:10 +0000
commit81e00287867911a113d3b251c1fe46f96c2e0ab2 (patch)
treec1509c074055fef80aedd6b5a431fbb40e682a84 /cc/playback/discardable_image_map.h
parent5a6a68a30d3830ca3c53a66d4e39df7ff9e87bfa (diff)
downloadchromium_src-81e00287867911a113d3b251c1fe46f96c2e0ab2.zip
chromium_src-81e00287867911a113d3b251c1fe46f96c2e0ab2.tar.gz
chromium_src-81e00287867911a113d3b251c1fe46f96c2e0ab2.tar.bz2
DrawImage updates
GPU Image Decode Controller needs to get an image's full matrix, so a matrix was added to DrawImage. DrawImage can now calculate its scale and decomposability itself, rather than relying on the call site. Additionaly, it turns out that perspective implies non-decomposability, so the perspective flag was redundant. This has been removed. BUG= CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1781493003 Cr-Commit-Position: refs/heads/master@{#380170}
Diffstat (limited to 'cc/playback/discardable_image_map.h')
-rw-r--r--cc/playback/discardable_image_map.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/cc/playback/discardable_image_map.h b/cc/playback/discardable_image_map.h
index 90c9da2..3b29da2 100644
--- a/cc/playback/discardable_image_map.h
+++ b/cc/playback/discardable_image_map.h
@@ -24,10 +24,6 @@ namespace cc {
// Helper function to apply the matrix to the rect and return the result.
SkRect MapRect(const SkMatrix& matrix, const SkRect& src);
-// Helper funciton to extract a scale from the matrix. Returns true on success
-// and false on failure.
-bool ExtractScale(const SkMatrix& matrix, SkSize* scale);
-
// This class is used for generating discardable images data (see DrawImage
// for the type of data it stores). It allows the client to query a particular
// rect and get back a list of DrawImages in that rect.