summaryrefslogtreecommitdiff
path: root/libs/hwui/OpenGLRenderer.h
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2014-07-01 17:56:52 -0700
committer Chris Craik <ccraik@google.com> 2014-07-07 19:14:55 +0000
commit59744b79ec302000802cd56d30a1bf70f0183c80 (patch)
tree0057de9a24def27ca543608cd1d5b75b1b89bd57 /libs/hwui/OpenGLRenderer.h
parent904a1045ced36e844605b9764c3cb184976ea0a9 (diff)
Add hack for custom re-rasterization buckets
bug:14083128 Moves all of the font transform management into OpenGLRenderer::findBestFontTransform(), and now simply passes down final rasterization transforms into the FontRenderer. Change-Id: Ie02752e6af863347b142367c7d628db5f9fc2998
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rw-r--r--libs/hwui/OpenGLRenderer.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h
index 8a1aebc890e7..e7328be969ef 100644
--- a/libs/hwui/OpenGLRenderer.h
+++ b/libs/hwui/OpenGLRenderer.h
@@ -316,10 +316,12 @@ public:
}
/**
- * Return the best transform to use to rasterize text given a full
- * transform matrix.
+ * Build the best transform to use to rasterize text given a full
+ * transform matrix, and whether filteration is needed.
+ *
+ * Returns whether filtration is needed
*/
- mat4 findBestFontTransform(const mat4& transform) const;
+ bool findBestFontTransform(const mat4& transform, SkMatrix* outMatrix) const;
#if DEBUG_MERGE_BEHAVIOR
void drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) {