diff options
author | 2016-12-01 10:59:09 -0500 | |
---|---|---|
committer | 2016-12-01 16:45:27 +0000 | |
commit | 9afd371a8a66f992f98eb2a3fc75ae64bddc730b (patch) | |
tree | 7c4853fe590fa370be28e92fe772356aa61b9ccd /gm/rrects.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/rrects.cpp')
-rw-r--r-- | gm/rrects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/rrects.cpp b/gm/rrects.cpp index 29e81bd298..268e449319 100644 --- a/gm/rrects.cpp +++ b/gm/rrects.cpp @@ -9,7 +9,7 @@ #if SK_SUPPORT_GPU #include "GrContext.h" #include "GrRenderTargetContextPriv.h" -#include "batches/GrDrawBatch.h" +#include "batches/GrDrawOp.h" #include "batches/GrRectBatchFactory.h" #include "effects/GrRRectEffect.h" #endif @@ -115,7 +115,7 @@ protected: SkRect bounds = rrect.getBounds(); bounds.outset(2.f, 2.f); - sk_sp<GrDrawBatch> batch( + sk_sp<GrDrawOp> batch( GrRectBatchFactory::CreateNonAAFill(0xff000000, SkMatrix::I(), bounds, nullptr, nullptr)); renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch.get()); |