aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrCopySurfaceBatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/batches/GrCopySurfaceBatch.h')
-rw-r--r--src/gpu/batches/GrCopySurfaceBatch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/batches/GrCopySurfaceBatch.h b/src/gpu/batches/GrCopySurfaceBatch.h
index a808b2f181..b28b38348f 100644
--- a/src/gpu/batches/GrCopySurfaceBatch.h
+++ b/src/gpu/batches/GrCopySurfaceBatch.h
@@ -8,9 +8,9 @@
#ifndef GrCopySurfaceBatch_DEFINED
#define GrCopySurfaceBatch_DEFINED
-#include "GrBatchFlushState.h"
#include "GrGpu.h"
#include "GrOp.h"
+#include "GrOpFlushState.h"
#include "GrRenderTarget.h"
class GrCopySurfaceBatch final : public GrOp {
@@ -66,9 +66,9 @@ private:
bool onCombineIfPossible(GrOp* that, const GrCaps& caps) override { return false; }
- void onPrepare(GrBatchFlushState*) override {}
+ void onPrepare(GrOpFlushState*) override {}
- void onDraw(GrBatchFlushState* state, const SkRect& /*bounds*/) override {
+ void onDraw(GrOpFlushState* state, const SkRect& /*bounds*/) override {
if (!state->commandBuffer()) {
state->gpu()->copySurface(fDst.get(), fSrc.get(), fSrcRect, fDstPoint);
} else {