diff options
author | 2018-06-12 10:11:12 -0400 | |
---|---|---|
committer | 2018-06-12 14:43:03 +0000 | |
commit | 7c525e62d405d57ae7a7742cf607b9770a83a0ab (patch) | |
tree | 8dabe9ed08bddd398b8fac935decaf2743f5a6f7 /src/gpu/ops/GrSmallPathRenderer.h | |
parent | 7deacf4833dcdb6c1101a18a2b46a8c516a96f9a (diff) |
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 <robertphillips@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/ops/GrSmallPathRenderer.h')
-rw-r--r-- | src/gpu/ops/GrSmallPathRenderer.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gpu/ops/GrSmallPathRenderer.h b/src/gpu/ops/GrSmallPathRenderer.h index ab58bdf107..c5f8eb8bb4 100644 --- a/src/gpu/ops/GrSmallPathRenderer.h +++ b/src/gpu/ops/GrSmallPathRenderer.h @@ -50,10 +50,13 @@ public: using ShapeCache = SkTDynamicHash<ShapeData, ShapeDataKey>; typedef SkTInternalLList<ShapeData> ShapeDataList; - static std::unique_ptr<GrDrawOp> createOp_TestingOnly(GrPaint&&, const GrShape&, + static std::unique_ptr<GrDrawOp> createOp_TestingOnly(GrContext*, + GrPaint&&, + const GrShape&, const SkMatrix& viewMatrix, GrDrawOpAtlas* atlas, - ShapeCache*, ShapeDataList*, + ShapeCache*, + ShapeDataList*, bool gammaCorrect, const GrUserStencilSettings*); struct PathTestStruct; |