diff options
author | Herb Derby <herb@google.com> | 2018-05-24 14:39:01 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-24 20:41:08 +0000 |
commit | 26cbe5130aa9839b5429b9507363ce2474091808 (patch) | |
tree | 5d10df1e2a768bf31af6ccbd2fd636f44f7c98b6 /src/gpu/GrRenderTargetContext.cpp | |
parent | 4a0ad501e4919e06bcf7a7ef4adec8f28818946b (diff) |
Rename GrAtlasTextContext -> GrTextContext
Change-Id: I309b39425afc9b45095241eeb299096bc426afed
Reviewed-on: https://skia-review.googlesource.com/130029
Reviewed-by: Herb Derby <herb@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetContext.cpp')
-rw-r--r-- | src/gpu/GrRenderTargetContext.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/GrRenderTargetContext.cpp b/src/gpu/GrRenderTargetContext.cpp index 1f9e4da3f2..f4db697e41 100644 --- a/src/gpu/GrRenderTargetContext.cpp +++ b/src/gpu/GrRenderTargetContext.cpp @@ -48,7 +48,7 @@ #include "ops/GrShadowRRectOp.h" #include "ops/GrStencilPathOp.h" #include "ops/GrTextureOp.h" -#include "text/GrAtlasTextContext.h" +#include "text/GrTextContext.h" #include "text/GrTextUtils.h" class GrRenderTargetContext::TextTarget : public GrTextUtils::Target { @@ -226,7 +226,7 @@ void GrRenderTargetContext::drawText(const GrClip& clip, const SkPaint& skPaint, SkDEBUGCODE(this->validate();) GR_CREATE_TRACE_MARKER_CONTEXT("GrRenderTargetContext", "drawText", fContext); - GrAtlasTextContext* atlasTextContext = this->drawingManager()->getAtlasTextContext(); + GrTextContext* atlasTextContext = this->drawingManager()->getTextContext(); atlasTextContext->drawText(fContext, fTextTarget.get(), clip, skPaint, viewMatrix, fSurfaceProps, text, byteLength, x, y, clipBounds); } @@ -241,7 +241,7 @@ void GrRenderTargetContext::drawPosText(const GrClip& clip, const SkPaint& paint SkDEBUGCODE(this->validate();) GR_CREATE_TRACE_MARKER_CONTEXT("GrRenderTargetContext", "drawPosText", fContext); - GrAtlasTextContext* atlasTextContext = this->drawingManager()->getAtlasTextContext(); + GrTextContext* atlasTextContext = this->drawingManager()->getTextContext(); atlasTextContext->drawPosText(fContext, fTextTarget.get(), clip, paint, viewMatrix, fSurfaceProps, text, byteLength, pos, scalarsPerPosition, offset, clipBounds); @@ -256,7 +256,7 @@ void GrRenderTargetContext::drawTextBlob(const GrClip& clip, const SkPaint& pain SkDEBUGCODE(this->validate();) GR_CREATE_TRACE_MARKER_CONTEXT("GrRenderTargetContext", "drawTextBlob", fContext); - GrAtlasTextContext* atlasTextContext = this->drawingManager()->getAtlasTextContext(); + GrTextContext* atlasTextContext = this->drawingManager()->getTextContext(); atlasTextContext->drawTextBlob(fContext, fTextTarget.get(), clip, paint, viewMatrix, fSurfaceProps, blob, x, y, filter, clipBounds); } |