diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-09 19:15:37 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-09 19:15:37 +0000 |
commit | cea9abb001b07eaf4340a78db708bfac9e8c68c2 (patch) | |
tree | c76c77464f703f9bff4a17316b2e300d74783e28 /include | |
parent | c9c0b1e90e3f1519d5bb78c9f36f6c4132004708 (diff) |
Do not use GrBicubic effect when downscaling. Also, don't use glTexStorage as it interferes with deleyed mipmap generation.
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/105353002
git-svn-id: http://skia.googlecode.com/svn/trunk@12576 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkMatrix.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h index dad5ff92f5..d7726f6d4d 100644 --- a/include/core/SkMatrix.h +++ b/include/core/SkMatrix.h @@ -574,6 +574,14 @@ public: SkDEVCODE(void toString(SkString*) const;) /** + * Calculates the minimum stretching factor of the matrix. If the matrix has + * perspective -1 is returned. + * + * @return minumum strecthing factor + */ + SkScalar getMinStretch() const; + + /** * Calculates the maximum stretching factor of the matrix. If the matrix has * perspective -1 is returned. * |