diff options
author | Brian Salomon <bsalomon@google.com> | 2016-12-01 10:59:09 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-12-01 16:45:27 +0000 |
commit | 9afd371a8a66f992f98eb2a3fc75ae64bddc730b (patch) | |
tree | 7c4853fe590fa370be28e92fe772356aa61b9ccd /gm/yuvtorgbeffect.cpp | |
parent | 62458a6778bc39eea5360301a67d192b3a263df1 (diff) |
Rename GrDrawBatch->GrDrawOp
Change-Id: I18f520924b8a2548566fd61dbea4e3e12bd253dd
Reviewed-on: https://skia-review.googlesource.com/5411
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'gm/yuvtorgbeffect.cpp')
-rw-r--r-- | gm/yuvtorgbeffect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp index dcc8b15952..6b90dad9cc 100644 --- a/gm/yuvtorgbeffect.cpp +++ b/gm/yuvtorgbeffect.cpp @@ -16,7 +16,7 @@ #include "SkBitmap.h" #include "SkGr.h" #include "SkGradientShader.h" -#include "batches/GrDrawBatch.h" +#include "batches/GrDrawOp.h" #include "batches/GrRectBatchFactory.h" #include "effects/GrYUVEffect.h" @@ -126,7 +126,7 @@ protected: SkMatrix viewMatrix; viewMatrix.setTranslate(x, y); grPaint.addColorFragmentProcessor(std::move(fp)); - sk_sp<GrDrawBatch> batch( + sk_sp<GrDrawOp> batch( GrRectBatchFactory::CreateNonAAFill(GrColor_WHITE, viewMatrix, renderRect, nullptr, nullptr)); renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch.get()); @@ -242,7 +242,7 @@ protected: SkMatrix viewMatrix; viewMatrix.setTranslate(x, y); grPaint.addColorFragmentProcessor(fp); - sk_sp<GrDrawBatch> batch(GrRectBatchFactory::CreateNonAAFill( + sk_sp<GrDrawOp> batch(GrRectBatchFactory::CreateNonAAFill( GrColor_WHITE, viewMatrix, renderRect, nullptr, nullptr)); renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch.get()); } |