aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLFragmentProcessor.cpp
Commit message (Collapse)AuthorAge
* emitChild() used to generate a mangled outputColor based on the parent's ↵Gravatar wangyix2015-09-08
| | | | | | | | outputColor; now it just accepts an outputColor string. It's now up to the programmer to declare outputColors if needed before emitting child code. BUG=skia:4182 Review URL: https://codereview.chromium.org/1321253003
* This change is in preparation for updating how processor keys and meta keys ↵Gravatar wangyix2015-08-19
| | | | | | | | are generated for frag procs. BUG=skia:4182 Review URL: https://codereview.chromium.org/1298233002
* added emitChild() to GrGLFragmentProcessor; removed ↵Gravatar wangyix2015-08-18
| | | | | | | | AutoFragmentChildProcAdvance class BUG=skia:4182 Review URL: https://codereview.chromium.org/1301523003
* When getGLInstance is called on a frag proc, the resulting ↵Gravatar wangyix2015-08-18
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