aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrAALinearizingConvexPathRenderer.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-09-01 06:50:55 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-01 06:50:55 -0700
commit6335a729769b06f0d6a1450c7c02e03f95bbb049 (patch)
tree86463f9ac9a06a6cc7d333e3cfcdfe602245f8b7 /src/gpu/batches/GrAALinearizingConvexPathRenderer.h
parentfbccb5995dcda645a3a8af51805639cb0c0d2300 (diff)
Move PathRenderers to batches folder
Diffstat (limited to 'src/gpu/batches/GrAALinearizingConvexPathRenderer.h')
-rw-r--r--src/gpu/batches/GrAALinearizingConvexPathRenderer.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gpu/batches/GrAALinearizingConvexPathRenderer.h b/src/gpu/batches/GrAALinearizingConvexPathRenderer.h
new file mode 100644
index 0000000000..57d21e0c1e
--- /dev/null
+++ b/src/gpu/batches/GrAALinearizingConvexPathRenderer.h
@@ -0,0 +1,24 @@
+
+/*
+ * Copyright 2015 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef GrAALinearizingConvexPathRenderer_DEFINED
+#define GrAALinearizingConvexPathRenderer_DEFINED
+
+#include "GrPathRenderer.h"
+
+class GrAALinearizingConvexPathRenderer : public GrPathRenderer {
+public:
+ GrAALinearizingConvexPathRenderer();
+
+private:
+ bool onCanDrawPath(const CanDrawPathArgs&) const override;
+
+ bool onDrawPath(const DrawPathArgs&) override;
+};
+
+#endif