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

Commit f6b21959 authored by Kevin Lubick's avatar Kevin Lubick
Browse files

[base] Use newer GrDirectContexts::MakeVulkan

This was added in http://review.skia.org/764516 and the old versions were deprecated.

This should not change any functionality as the deprecated APIs call the new APIs.

Change-Id: I817acb74611a4ba1b83339ff20c42c5efc4684d2
Bug: b:293490566
parent 0c970db0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@
#include <gui/TraceUtils.h>
#include <include/gpu/ganesh/SkSurfaceGanesh.h>
#include <include/gpu/ganesh/vk/GrVkBackendSurface.h>
#include <include/gpu/ganesh/vk/GrVkDirectContext.h>
#include <ui/FatVector.h>
#include <vk/GrVkExtensions.h>
#include <vk/GrVkTypes.h>
@@ -435,7 +436,7 @@ sk_sp<GrDirectContext> VulkanManager::createContext(GrContextOptions& options,
    options.fContextDeleteContext = this;
    options.fContextDeleteProc = onGrContextReleased;

    return GrDirectContext::MakeVulkan(backendContext, options);
    return GrDirectContexts::MakeVulkan(backendContext, options);
}

VkFunctorInitParams VulkanManager::getVkFunctorInitParams() const {