• Bo Liu's avatar
    aw: Multiple AwVulkanContextProvider · 4df06a5a
    Bo Liu authored
    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: default avatarVasiliy Telezhnikov <vasilyt@chromium.org>
    Commit-Queue: Bo <boliu@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#820438}
    4df06a5a
surfaces_instance.h 4.25 KB