diff options
author | robertphillips <robertphillips@google.com> | 2016-03-02 08:43:13 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-02 08:43:13 -0800 |
commit | 86c60758e9e4f9e203d7462cb22b2a245a0f51bd (patch) | |
tree | 0cc77d90e91bf61a381878afbdce7022b89524ff /gm/constcolorprocessor.cpp | |
parent | 46b301d2222b60dd5ab495b917dea163e8be94ef (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
Review URL: https://codereview.chromium.org/1754563003
Diffstat (limited to 'gm/constcolorprocessor.cpp')
-rw-r--r-- | gm/constcolorprocessor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/constcolorprocessor.cpp b/gm/constcolorprocessor.cpp index a9cd4b5dc5..177a8c9e4f 100644 --- a/gm/constcolorprocessor.cpp +++ b/gm/constcolorprocessor.cpp @@ -13,7 +13,7 @@ #if SK_SUPPORT_GPU #include "GrContext.h" -#include "GrDrawContext.h" +#include "GrDrawContextPriv.h" #include "GrPipelineBuilder.h" #include "SkGrPriv.h" #include "SkGradientShader.h" @@ -118,7 +118,7 @@ protected: SkAutoTUnref<GrDrawBatch> batch( GrRectBatchFactory::CreateNonAAFill(grPaint.getColor(), viewMatrix, renderRect, nullptr, nullptr)); - drawContext->internal_drawBatch(pipelineBuilder, batch); + drawContext->drawContextPriv().testingOnly_drawBatch(pipelineBuilder, batch); // Draw labels for the input to the processor and the processor to the right of // the test rect. The input label appears above the processor label. |