aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrPLSPathRenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/batches/GrPLSPathRenderer.cpp')
-rw-r--r--src/gpu/batches/GrPLSPathRenderer.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gpu/batches/GrPLSPathRenderer.cpp b/src/gpu/batches/GrPLSPathRenderer.cpp
index 1cccc10018..f233cccd8d 100644
--- a/src/gpu/batches/GrPLSPathRenderer.cpp
+++ b/src/gpu/batches/GrPLSPathRenderer.cpp
@@ -7,27 +7,27 @@
#include "GrPLSPathRenderer.h"
-#include "SkChunkAlloc.h"
-#include "SkGeometry.h"
-#include "SkPathPriv.h"
-#include "SkString.h"
-#include "SkTSort.h"
-#include "SkTraceEvent.h"
#include "GrBatchFlushState.h"
#include "GrBatchTest.h"
#include "GrCaps.h"
#include "GrContext.h"
#include "GrDefaultGeoProcFactory.h"
-#include "GrPLSGeometryProcessor.h"
#include "GrInvariantOutput.h"
+#include "GrPLSGeometryProcessor.h"
#include "GrPathUtils.h"
-#include "GrProcessor.h"
#include "GrPipelineBuilder.h"
+#include "GrProcessor.h"
#include "GrStyle.h"
#include "GrTessellator.h"
-#include "batches/GrVertexBatch.h"
-#include "glsl/GrGLSLGeometryProcessor.h"
+#include "SkChunkAlloc.h"
+#include "SkGeometry.h"
+#include "SkPathPriv.h"
+#include "SkString.h"
+#include "SkTSort.h"
+#include "SkTraceEvent.h"
+#include "batches/GrMeshDrawOp.h"
#include "gl/builders/GrGLProgramBuilder.h"
+#include "glsl/GrGLSLGeometryProcessor.h"
#include "glsl/GrGLSLPLSPathRendering.h"
GrPLSPathRenderer::GrPLSPathRenderer() {
@@ -763,7 +763,7 @@ bool GrPLSPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const {
path.getFillType() == SkPath::FillType::kWinding_FillType;
}
-class PLSPathBatch : public GrVertexBatch {
+class PLSPathBatch : public GrMeshDrawOp {
public:
DEFINE_OP_CLASS_ID
PLSPathBatch(GrColor color, const SkPath& path, const SkMatrix& viewMatrix)
@@ -924,7 +924,7 @@ private:
GrColor fColor;
SkPath fPath;
SkMatrix fViewMatrix;
- typedef GrVertexBatch INHERITED;
+ typedef GrMeshDrawOp INHERITED;
};
SkDEBUGCODE(bool inPLSDraw = false;)