From 9afd371a8a66f992f98eb2a3fc75ae64bddc730b Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Thu, 1 Dec 2016 10:59:09 -0500 Subject: Rename GrDrawBatch->GrDrawOp Change-Id: I18f520924b8a2548566fd61dbea4e3e12bd253dd Reviewed-on: https://skia-review.googlesource.com/5411 Commit-Queue: Brian Salomon Reviewed-by: Brian Osman --- gm/yuvtorgbeffect.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gm/yuvtorgbeffect.cpp') 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 batch( + sk_sp 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 batch(GrRectBatchFactory::CreateNonAAFill( + sk_sp batch(GrRectBatchFactory::CreateNonAAFill( GrColor_WHITE, viewMatrix, renderRect, nullptr, nullptr)); renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch.get()); } -- cgit v1.2.3