aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrFragmentProcessor.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-07-25 10:36:38 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-25 14:57:23 +0000
commitd89d7a7b0a6616dedc6250b2d59e932213299eb2 (patch)
tree5dad040d5eba9a2d0bcce55681739670ba43814b /src/gpu/GrFragmentProcessor.h
parent02611d9afdd887ee443825ac88377f2eea093380 (diff)
Add clone() to three more fragment processor classes
ColorMatrixEffect NormalFlatFP NormalMapFP Change-Id: Iea3d103baff09808fd4c96685475d67f4fe75083 Reviewed-on: https://skia-review.googlesource.com/26420 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrFragmentProcessor.h')
-rw-r--r--src/gpu/GrFragmentProcessor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrFragmentProcessor.h b/src/gpu/GrFragmentProcessor.h
index e86d798b00..02ed0c7e68 100644
--- a/src/gpu/GrFragmentProcessor.h
+++ b/src/gpu/GrFragmentProcessor.h
@@ -92,7 +92,7 @@ public:
* has a default implementation that fails. This is temporary until it can be implemented
* for all fragemnt processor leaf classes.
*/
- virtual sk_sp<GrFragmentProcessor> clone() { return nullptr; }
+ virtual sk_sp<GrFragmentProcessor> clone() const { return nullptr; }
GrGLSLFragmentProcessor* createGLSLInstance() const;