[graphite] Add first stage of unpacking the UniqueKeys
The substantive part of this CL is the addition of Caps::extractGraphicsDescs.
That call unpacks a UniqueKey back into a GraphicsPipelineDesc and a RenderPassDesc.
The GraphitePrecompileTestingSink then makes use of this capability to check that all the UniqueKeys round trip through extractGraphicsDescs.
Bug: b/238759147
Change-Id: Ibd69d12d96254b30394b230323609939e934e3bf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/809605
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
14 files changed