aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrDrawPathBatch.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2016-12-07 17:06:19 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-07 23:36:31 +0000
commit742e31de1599f3902810aecdf2e2e3eed3b40a09 (patch)
treebbac738ec7cecce88712ad2df993933c8888305e /src/gpu/batches/GrDrawPathBatch.h
parent42521e891081a7a85db4390a457074054649f194 (diff)
Rename GrBatchFlushState to GrOpFlushState
Change-Id: I1a8052c61d7624929caf45ba44e2a465cd0dc1c2 Reviewed-on: https://skia-review.googlesource.com/5649 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/batches/GrDrawPathBatch.h')
-rw-r--r--src/gpu/batches/GrDrawPathBatch.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/batches/GrDrawPathBatch.h b/src/gpu/batches/GrDrawPathBatch.h
index 6dca9dcd98..c6bb55eaee 100644
--- a/src/gpu/batches/GrDrawPathBatch.h
+++ b/src/gpu/batches/GrDrawPathBatch.h
@@ -8,12 +8,12 @@
#ifndef GrDrawPathBatch_DEFINED
#define GrDrawPathBatch_DEFINED
-#include "GrBatchFlushState.h"
#include "GrDrawOp.h"
#include "GrGpu.h"
+#include "GrOpFlushState.h"
#include "GrPath.h"
-#include "GrPathRendering.h"
#include "GrPathProcessor.h"
+#include "GrPathRendering.h"
#include "GrStencilSettings.h"
#include "SkTLList.h"
@@ -50,7 +50,7 @@ private:
fOverrides = overrides;
}
- void onPrepare(GrBatchFlushState*) override; // Initializes fStencilPassSettings.
+ void onPrepare(GrOpFlushState*) override; // Initializes fStencilPassSettings.
SkMatrix fViewMatrix;
GrColor fColor;
@@ -82,7 +82,7 @@ private:
bool onCombineIfPossible(GrOp* t, const GrCaps& caps) override { return false; }
- void onDraw(GrBatchFlushState* state, const SkRect& bounds) override;
+ void onDraw(GrOpFlushState* state, const SkRect& bounds) override;
GrPendingIOResource<const GrPath, kRead_GrIOType> fPath;
@@ -175,7 +175,7 @@ private:
bool onCombineIfPossible(GrOp* t, const GrCaps& caps) override;
- void onDraw(GrBatchFlushState* state, const SkRect& bounds) override;
+ void onDraw(GrOpFlushState* state, const SkRect& bounds) override;
struct Draw {
void set(const InstanceData* instanceData, SkScalar x, SkScalar y) {