diff options
Diffstat (limited to 'src/gpu/GrBitmapTextContext.cpp')
-rwxr-xr-x | src/gpu/GrBitmapTextContext.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp index da887a5456..ff81b2d2c2 100755 --- a/src/gpu/GrBitmapTextContext.cpp +++ b/src/gpu/GrBitmapTextContext.cpp @@ -28,9 +28,9 @@ static const int kGlyphCoordsAttributeIndex = 1; SK_CONF_DECLARE(bool, c_DumpFontCache, "gpu.dumpFontCache", false, "Dump the contents of the font cache before every purge."); -GrBitmapTextContext::GrBitmapTextContext(GrContext* context, +GrBitmapTextContext::GrBitmapTextContext(GrContext* context, const GrPaint& grPaint, - const SkPaint& skPaint, + const SkPaint& skPaint, const SkDeviceProperties& properties) : GrTextContext(context, grPaint, skPaint, properties) { fStrike = NULL; @@ -175,10 +175,10 @@ void GrBitmapTextContext::drawText(const char text[], size_t byteLength, SkFixed fx = SkScalarToFixed(x) + halfSampleX; SkFixed fy = SkScalarToFixed(y) + halfSampleY; - + GrContext::AutoMatrix autoMatrix; autoMatrix.setIdentity(fContext, &fPaint); - + while (text < stop) { const SkGlyph& glyph = glyphCacheProc(cache, &text, fx & fxMask, fy & fyMask); |