Fix RP::Program to work properly when SKSL_STANDALONE is set.
We now assemble the program into an SkTArray of SkRasterPipelineOps
and context pointers, and then append the array contents into the
SkRasterPipeline as a separate step. There is now only one function
which needs to be excluded from SKSL_STANDALONE--the one which
appends the array onto the raster pipeline itself.
Change-Id: Idfb642623f16cbf77944454f65fd961d7ddc2f3f
Bug: skia:14042
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/630076
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Arman Uguray <armansito@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2 files changed