diff options
author | 2016-12-14 16:21:37 -0500 | |
---|---|---|
committer | 2016-12-14 22:08:58 +0000 | |
commit | 7dae46a6783de5f6bc461870306eb7d648386980 (patch) | |
tree | e70780be1a68ef514894859ef7af9d3d8cb6f341 /src/gpu/GrRenderTargetContext.cpp | |
parent | 25351021a6fddd390273fbc8bbdb84a56865b561 (diff) |
Some more batch->op renaming
Change-Id: I5cbdc606170186d2d908d518af0e0fd1094fcf78
Reviewed-on: https://skia-review.googlesource.com/6089
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetContext.cpp')
-rw-r--r-- | src/gpu/GrRenderTargetContext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrRenderTargetContext.cpp b/src/gpu/GrRenderTargetContext.cpp index 1c0832b7ec..adf9ab1c3e 100644 --- a/src/gpu/GrRenderTargetContext.cpp +++ b/src/gpu/GrRenderTargetContext.cpp @@ -19,7 +19,7 @@ #include "GrResourceProvider.h" #include "SkSurfacePriv.h" -#include "batches/GrClearBatch.h" +#include "batches/GrClearOp.h" #include "batches/GrDrawAtlasBatch.h" #include "batches/GrDrawVerticesBatch.h" #include "batches/GrNinePatch.h" // TODO Factory @@ -276,7 +276,7 @@ void GrRenderTargetContextPriv::absClear(const SkIRect* clearRect, const GrColor // This path doesn't handle coalescing of full screen clears b.c. it // has to clear the entire render target - not just the content area. // It could be done but will take more finagling. - sk_sp<GrOp> batch(GrClearBatch::Make(rtRect, color, + sk_sp<GrOp> batch(GrClearOp::Make(rtRect, color, fRenderTargetContext->accessRenderTarget(), !clearRect)); if (!batch) { @@ -333,7 +333,7 @@ void GrRenderTargetContext::internalClear(const GrFixedClip& clip, if (!this->accessRenderTarget()) { return; } - sk_sp<GrOp> op(GrClearBatch::Make(clip, color, this->accessRenderTarget())); + sk_sp<GrOp> op(GrClearOp::Make(clip, color, this->accessRenderTarget())); if (!op) { return; } |