commit | b1daa86732fe70aa4630c89d75ff0fd619d77c77 | [log] [tgz] |
---|---|---|
author | wangyix <wangyix@google.com> | Tue Aug 18 11:29:31 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Aug 18 11:29:32 2015 -0700 |
tree | 9ddc71e82c682c42968343cfdbea68038c2ca11b | |
parent | 935d6cfaa78b6be75c9fcc596805f0f9b8da972e [diff] |
When getGLInstance is called on a frag proc, the resulting GrGLFragmentProcessor will be the root of a tree of GrGLFragmentProcessors that mirrors the GrFragmentProcessor's tree. This allows setData() to be called recursively (removing the responsibility from compose shader) and allows gl instances direct access to their children gl instances so they can emit their code. BUG=skia:4182 Review URL: https://codereview.chromium.org/1287023009