[graphite] Move VkPipelineCache to VulkanSharedContext
This is part of the CL thread to remove ResourceProvider from Pipeline creation and make Pipeline creation thread-safe. However, it does seem like we want one graphite-wide VkPipelineCache on the VulkanSharedContext rather than one on each VulkanResourceProvider.
Change-Id: I85ca82d2960f4921c2cde0d5cf27df2d2d1adeff
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1061156
Reviewed-by: Nicolette Prevost <nicolettep@google.com>
Reviewed-by: Thomas Smith <thomsmit@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
5 files changed