aw: Multiple AwVulkanContextProvider
VulkanContextProvider currently owns things such as GrVkSecondaryCBDrawContext that is per-webview rather than (assumed) global. Factor out a AwVulkanContextProvider::Global that provides of sharing things that are (assumed) global, and create new instances of AwVulkanContextProvider for each draw functor instance. Need to pass the right instance of AwVulkanContextProvider into viz. Only hook this up for the viz code path. Bug: 1141683 Change-Id: Ia98a2e9edb74ccdda56f75944a3257e64efc79fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485778Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#820438}
Showing
Please register or sign in to comment