[graphite] First whack at making YCbCr combination method
This handles the Pixel8 Pipeline labels. The ycbcr_merge function will need to be generalized to handle the Pixel9 & Pixel10 labels. Additionally, there are some Android-specific settings that still need to be resolved (e.g., how to get a list of destination surface color spaces).
The PrecompileTestUtils changes are just so the YCbCr test just checks that all the provided labels are covered vs. checking that each PaintOption covers some percentage of the labels.
Bug: b/479836196
Change-Id: I72df356b4fc2f34e8b7d69e91c6c5ec9895e0362
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1153057
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
5 files changed