Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4aa58670 authored by Greg Daniel's avatar Greg Daniel
Browse files

No longer create a GrVkInterface in the VulkanManger.

Test: manual

Change-Id: I5debded1f42cab60bacd3b9b9d2f10ada088c86a
parent 141d67c3
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -327,8 +327,6 @@ void VulkanManager::initialize() {
        }
        return vkGetInstanceProcAddr(instance, proc_name);
    };
    auto interface =
        sk_make_sp<GrVkInterface>(getProc, mInstance, mDevice, extensionFlags);

    GrVkBackendContext backendContext;
    backendContext.fInstance = mInstance;
@@ -339,7 +337,7 @@ void VulkanManager::initialize() {
    backendContext.fMinAPIVersion = VK_MAKE_VERSION(1, 0, 0);
    backendContext.fExtensions = extensionFlags;
    backendContext.fFeatures = featureFlags;
    backendContext.fInterface = std::move(interface);
    backendContext.fGetProc = std::move(getProc);
    backendContext.fOwnsInstanceAndDevice = false;

    // create the command pool for the command buffers