commit | e9d172af84fff5d76e19180a0c2b7b3cc51e90a2 | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Mon Nov 20 12:12:24 2017 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Nov 20 20:34:38 2017 +0000 |
tree | 115bce6c41c0e7fada2f45de6e7b5e90b464e00a | |
parent | 53d863c18cd3b53d8b4c4dcb8505f2c52f1e5c59 [diff] [blame] |
converted ConstColorProcessor to SkSL Bug: skia: Change-Id: Ic3b18f82c1ab940637fb26dec1cf376dd859b35d Reviewed-on: https://skia-review.googlesource.com/73720 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
diff --git a/src/gpu/effects/GrCircleEffect.cpp b/src/gpu/effects/GrCircleEffect.cpp index d3eecb7..3bd2138 100644 --- a/src/gpu/effects/GrCircleEffect.cpp +++ b/src/gpu/effects/GrCircleEffect.cpp
@@ -75,8 +75,8 @@ prevRadius = radius; } } - SkPoint prevCenter; - float prevRadius; + SkPoint prevCenter = half2(0); + float prevRadius = 0; UniformHandle fCircleVar; }; GrGLSLFragmentProcessor* GrCircleEffect::onCreateGLSLInstance() const {