diff options
author | robertphillips <robertphillips@google.com> | 2016-03-02 09:26:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-02 09:26:36 -0800 |
commit | 391395dcfbff09a83f8f0e9d3e02d38c855ae2e9 (patch) | |
tree | 8f03364d3b4939642a597834f7929dce98c7d2b8 /gm/bigrrectaaeffect.cpp | |
parent | 855bd4415c1a26950e946cc2f8756f7e03b61637 (diff) |
Begin weaning GrClipMaskManager off of GrDrawTarget (take 2)
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1754563003
Committed: https://skia.googlesource.com/skia/+/86c60758e9e4f9e203d7462cb22b2a245a0f51bd
Review URL: https://codereview.chromium.org/1754563003
Diffstat (limited to 'gm/bigrrectaaeffect.cpp')
-rw-r--r-- | gm/bigrrectaaeffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/bigrrectaaeffect.cpp b/gm/bigrrectaaeffect.cpp index fde636071b..3a7a155b25 100644 --- a/gm/bigrrectaaeffect.cpp +++ b/gm/bigrrectaaeffect.cpp @@ -8,7 +8,7 @@ #include "gm.h" #if SK_SUPPORT_GPU #include "GrContext.h" -#include "GrDrawContext.h" +#include "GrDrawContextPriv.h" #include "GrPipelineBuilder.h" #include "SkDevice.h" #include "SkRRect.h" @@ -99,7 +99,7 @@ protected: SkAutoTUnref<GrDrawBatch> batch( GrRectBatchFactory::CreateNonAAFill(0xff000000, SkMatrix::I(), bounds, nullptr, nullptr)); - drawContext->internal_drawBatch(pipelineBuilder, batch); + drawContext->drawContextPriv().testingOnly_drawBatch(pipelineBuilder, batch); } canvas->restore(); x = x + fTestOffsetX; |