aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrShadowRRectOp.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2016-12-14 21:07:01 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-15 14:40:59 +0000
commitfc527d27641bb693a0a7703ba9d35100f7500fd7 (patch)
tree5cb9eb7c5fd6304ca7f98cfe9301b4c36f2fa5f6 /src/gpu/batches/GrShadowRRectOp.h
parentebccb82680fc13cc92d9051e8520de6b460df074 (diff)
Even more batch->op and sk_sp'ification.
Change-Id: I9930381465ebad690206e2251171004f9579fbcd Reviewed-on: https://skia-review.googlesource.com/6100 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/batches/GrShadowRRectOp.h')
-rwxr-xr-xsrc/gpu/batches/GrShadowRRectOp.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/gpu/batches/GrShadowRRectOp.h b/src/gpu/batches/GrShadowRRectOp.h
new file mode 100755
index 0000000000..3508cb8fab
--- /dev/null
+++ b/src/gpu/batches/GrShadowRRectOp.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef GrShadowRRectOp_DEFINED
+#define GrShadowRRectOp_DEFINED
+
+#include "GrColor.h"
+#include "SkRefCnt.h"
+
+class GrDrawOp;
+class GrShaderCaps;
+class SkMatrix;
+class SkRRect;
+class SkStrokeRec;
+
+namespace GrShadowRRectOp {
+
+sk_sp<GrDrawOp> Make(GrColor, const SkMatrix& viewMatrix, const SkRRect& rrect,
+ const SkScalar blurRadius, const SkStrokeRec& stroke,
+ const GrShaderCaps* shaderCaps);
+}
+
+#endif