Skip to content

Commit

Permalink
Don't apply the view matrix twice for complicated fallback
Browse files Browse the repository at this point in the history
In complicated fallback the matrix was being applied to create
the glyph cache and then rendering to the screen. Create the
glyphs with the identity matrix.

Change-Id: Ib399726ef73257f2890784c1f4ad598fef074ab3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/198248
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
  • Loading branch information
herbderby authored and Skia Commit-Bot committed Mar 7, 2019
1 parent e62d14c commit 692122e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/SkGlyphRunPainter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ void SkGlyphRunListPainter::processARGBFallback(SkScalar maxGlyphDimension,
runPaint,
fDeviceProps,
fScalerContextFlags,
viewMatrix,
SkMatrix::I(),
&ad,
&effects);

Expand Down

0 comments on commit 692122e

Please sign in to comment.