diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-08 20:44:25 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-08 20:44:25 +0000 |
commit | 0e354aacd84d3bede3f97cbde35a54ba62a89533 (patch) | |
tree | 8ca5215852c9b98026695bef8eeeed5b039eb466 /src/core/SkDraw.cpp | |
parent | a834746cc1bd92301fd0840a221ca1623c0bbb29 (diff) |
Remove external matrix feature.
We haven't been testing this for nearly two years.
R=reed@google.com
Review URL: https://codereview.appspot.com/6640044
git-svn-id: http://skia.googlecode.com/svn/trunk@5857 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkDraw.cpp')
-rw-r--r-- | src/core/SkDraw.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp index e8d171e543..31f36d4b6f 100644 --- a/src/core/SkDraw.cpp +++ b/src/core/SkDraw.cpp @@ -1547,13 +1547,6 @@ void SkDraw::drawText(const char text[], size_t byteLength, SkDrawCacheProc glyphCacheProc = paint.getDrawCacheProc(); const SkMatrix* matrix = fMatrix; - if (hasCustomD1GProc(*this)) { - // only support the fMVMatrix (for now) for the GPU case, which also - // sets the fD1GProc - if (fMVMatrix) { - matrix = fMVMatrix; - } - } SkAutoGlyphCache autoCache(paint, matrix); SkGlyphCache* cache = autoCache.getCache(); @@ -1747,13 +1740,6 @@ void SkDraw::drawPosText(const char text[], size_t byteLength, } const SkMatrix* matrix = fMatrix; - if (hasCustomD1GProc(*this)) { - // only support the fMVMatrix (for now) for the GPU case, which also - // sets the fD1GProc - if (fMVMatrix) { - matrix = fMVMatrix; - } - } SkDrawCacheProc glyphCacheProc = paint.getDrawCacheProc(); SkAutoGlyphCache autoCache(paint, matrix); @@ -2459,9 +2445,6 @@ void SkDraw::validate() const { br.set(0, 0, fBitmap->width(), fBitmap->height()); SkASSERT(cr.isEmpty() || br.contains(cr)); - - // assert that both are null, or both are not-null - SkASSERT(!fMVMatrix == !fExtMatrix); } #endif |