[graphite] Refactor the precompilation SelectOption and AddToKey methods
This is setting up to add a PaintOption object as a correlate to PaintParams. Such an object would make it easier to pass around all the parameters needed to generate a precompilation key.
Bug: 251493570
Change-Id: I5a5407ab5ebb031975cefe8419247a8074d8ccdd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/756319
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2 files changed