aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/README
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-07-31 11:18:22 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-31 15:44:32 +0000
commitf57c0d67611186ba74179b53b421e64b63a579c7 (patch)
tree6e9cdae25bdc158bcd1a0b667bc95bb8185182f8 /src/sksl/README
parent45b0f15688c1c508204143a3239e0691abd14032 (diff)
automatically generate clone() methods for SkSL fragment processors
Bug: skia: Change-Id: Ib7b90f20d2b1558aad14f38f95c7c884e654c96d Reviewed-on: https://skia-review.googlesource.com/28620 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/sksl/README')
-rw-r--r--src/sksl/README1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sksl/README b/src/sksl/README
index 012895412e..329fa08ad7 100644
--- a/src/sksl/README
+++ b/src/sksl/README
@@ -83,6 +83,7 @@ Within an '.fp' fragment processor file:
@emitCode (extra code for the emitCode function)
@fields (extra private fields, each terminated with a semicolon)
@make (replaces the default Make function)
+ @clone (replaces the default clone() function)
@setData(<pdman>) (extra code for the setData function, where <pdman> is
the name of the GrGLSLProgramDataManager)
@test(<testData>) (the body of the TestCreate function, where <testData> is