commit | 0e05a823f6ff6e9d799172f002e77ab9f2015f0f | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Tue Jul 25 09:43:22 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Jul 25 14:00:53 2017 +0000 |
tree | 4fac7a1b648be3b11aaf3a65122d26bce1df03c4 | |
parent | 22115b4fc6ab169d45a1cfb65dae2dc7e544c80a [diff] |
Add GrFragmentProcessor::clone(), implementation for ColorTableEffect, and unit test. We occasionally make copies of GrPaints. clone() fill facilitate this case when GrFragmentProcessors are non-shareable.. Change-Id: I004e34f6ce8c293f9e0664d26532e44bd6b9fdff Reviewed-on: https://skia-review.googlesource.com/26360 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>