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

Unified Diff: include/core/SkMatrix.h

Issue 105353002: Do not use GrBicubic effect when downscaling. Also, don't use glTexStorage as it interferes with de… (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fixup Created 7 years 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 | « no previous file | src/core/SkBitmapProcShader.cpp » ('j') | src/core/SkBitmapProcShader.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkMatrix.h
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h
index dad5ff92f58904f4b8ed7c18e3d4375a9de23cfe..606b5cd72df81a74159b72f5d3263a18db994422 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.
*
@@ -581,7 +589,7 @@ public:
*/
SkScalar getMaxStretch() const;
robertphillips 2013/12/04 23:31:55 Don't think we want this extra space.
bsalomon 2013/12/09 18:44:31 Done.
- /**
+ /**
* Return a reference to a const identity matrix
*/
static const SkMatrix& I();
« no previous file with comments | « no previous file | src/core/SkBitmapProcShader.cpp » ('j') | src/core/SkBitmapProcShader.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698