From 7c525e62d405d57ae7a7742cf607b9770a83a0ab Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Tue, 12 Jun 2018 10:11:12 -0400 Subject: Plumb GrContext everywhere There is no good way to split the monster CL up. This breaks out the GrContext plumbing but doesn't use it. Change-Id: I90856d428d372bcec3f8821e6364667b367927d4 Reviewed-on: https://skia-review.googlesource.com/133382 Commit-Queue: Robert Phillips Reviewed-by: Greg Daniel --- src/gpu/text/GrTextContext.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/gpu/text/GrTextContext.h') diff --git a/src/gpu/text/GrTextContext.h b/src/gpu/text/GrTextContext.h index 478d4c42b6..dd82b3ce7d 100644 --- a/src/gpu/text/GrTextContext.h +++ b/src/gpu/text/GrTextContext.h @@ -52,10 +52,14 @@ public: const SkMatrix& viewMatrix, const SkSurfaceProps&, const SkTextBlob*, SkScalar x, SkScalar y, SkDrawFilter*, const SkIRect& clipBounds); - std::unique_ptr createOp_TestingOnly(GrContext*, GrTextContext*, - GrRenderTargetContext*, const SkPaint&, - const SkMatrix& viewMatrix, const char* text, - int x, int y); + std::unique_ptr createOp_TestingOnly(GrContext*, + GrTextContext*, + GrRenderTargetContext*, + const SkPaint&, + const SkMatrix& viewMatrix, + const char* text, + int x, + int y); static void SanitizeOptions(Options* options); static bool CanDrawAsDistanceFields(const SkPaint& skPaint, const SkMatrix& viewMatrix, -- cgit v1.2.3