54ef97c273
This adds a new set of Via-style config tags for changing the color space of the underlying Sink. Now, instead of needing to invent more names for combinations of color types and color spaces, we can just separate the two concepts: f16 -> linear-f16 srgb -> srgb-8888 esrgb -> srgb-f16 esgbr -> spin-f16 ... This also makes it easy to test novel combinations that don't currently exist, and the mechanism works with GPU configs, too (where the explosion of premade configs is even worse, thanks to multiple backends). Next step is to update all of our bots to use the new syntax when specifying configs (this only applies to the BonusConfigs bots, I think), then remove all of the previous special config names. This is ultimately motivated by the addition of an sRGB *color type*, which was going to make the existing system even more confusing and untenable. Change-Id: I66862e97adb3a6131ff2ab35185b1253b80e0656 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/438756 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com> |
||
---|---|---|
.. | ||
DM.cpp | ||
DMGpuTestProcs.cpp | ||
DMJsonWriter.cpp | ||
DMJsonWriter.h | ||
DMSrcSink.cpp | ||
DMSrcSink.h |