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 /tests | |
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 'tests')
-rw-r--r-- | tests/GLProgramsTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp index 7440608d77..6b8efeb193 100644 --- a/tests/GLProgramsTest.cpp +++ b/tests/GLProgramsTest.cpp @@ -15,7 +15,7 @@ #include "GrAutoLocaleSetter.h" #include "GrBatchTest.h" #include "GrContextFactory.h" -#include "GrDrawContext.h" +#include "GrDrawContextPriv.h" #include "GrDrawingManager.h" #include "GrInvariantOutput.h" #include "GrPipeline.h" @@ -361,7 +361,7 @@ bool GrDrawingManager::ProgramUnitTest(GrContext* context, int maxStages) { return false; } - drawContext->internal_drawBatch(pipelineBuilder, batch); + drawContext->drawContextPriv().testingOnly_drawBatch(pipelineBuilder, batch); } // Flush everything, test passes if flush is successful(ie, no asserts are hit, no crashes) drawingManager->flush(); @@ -398,7 +398,7 @@ bool GrDrawingManager::ProgramUnitTest(GrContext* context, int maxStages) { return false; } - drawContext->internal_drawBatch(builder, batch); + drawContext->drawContextPriv().testingOnly_drawBatch(builder, batch); drawingManager->flush(); } } |