aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPathRendering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrPathRendering.cpp')
-rw-r--r--src/gpu/GrPathRendering.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gpu/GrPathRendering.cpp b/src/gpu/GrPathRendering.cpp
index d98d9d2f30..0287eb08aa 100644
--- a/src/gpu/GrPathRendering.cpp
+++ b/src/gpu/GrPathRendering.cpp
@@ -19,9 +19,7 @@ public:
#ifdef SK_DEBUG
, fDesc(desc.copy())
#endif
- {
- fFlipMatrix.setScale(1, -1);
- }
+ {}
virtual ~GlyphGenerator() {
#ifdef SK_DEBUG
@@ -39,7 +37,6 @@ public:
fScalerContext->getMetrics(&skGlyph);
fScalerContext->getPath(skGlyph, out);
- out->transform(fFlipMatrix); // Load glyphs with the inverted y-direction.
}
#ifdef SK_DEBUG
bool isEqualTo(const SkDescriptor& desc) const override {
@@ -48,7 +45,6 @@ public:
#endif
private:
const SkAutoTDelete<SkScalerContext> fScalerContext;
- SkMatrix fFlipMatrix;
#ifdef SK_DEBUG
SkDescriptor* const fDesc;
#endif