diff options
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
| -rw-r--r-- | libs/hwui/OpenGLRenderer.h | 8 |
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) { |