Loading libs/renderengine/skia/SkiaVkRenderEngine.cpp +4 −3 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ #include <GrContextOptions.h> #include <vk/GrVkExtensions.h> #include <vk/GrVkTypes.h> #include <include/gpu/ganesh/vk/GrVkDirectContext.h> #include <android-base/stringprintf.h> #include <gui/TraceUtils.h> Loading Loading @@ -603,10 +604,10 @@ SkiaRenderEngine::Contexts SkiaVkRenderEngine::createDirectContexts( sSetupVulkanInterface(); SkiaRenderEngine::Contexts contexts; contexts.first = GrDirectContext::MakeVulkan(sVulkanInterface.getBackendContext(), options); contexts.first = GrDirectContexts::MakeVulkan(sVulkanInterface.getBackendContext(), options); if (supportsProtectedContentImpl()) { contexts.second = GrDirectContext::MakeVulkan(sProtectedContentVulkanInterface.getBackendContext(), GrDirectContexts::MakeVulkan(sProtectedContentVulkanInterface.getBackendContext(), options); } Loading Loading
libs/renderengine/skia/SkiaVkRenderEngine.cpp +4 −3 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ #include <GrContextOptions.h> #include <vk/GrVkExtensions.h> #include <vk/GrVkTypes.h> #include <include/gpu/ganesh/vk/GrVkDirectContext.h> #include <android-base/stringprintf.h> #include <gui/TraceUtils.h> Loading Loading @@ -603,10 +604,10 @@ SkiaRenderEngine::Contexts SkiaVkRenderEngine::createDirectContexts( sSetupVulkanInterface(); SkiaRenderEngine::Contexts contexts; contexts.first = GrDirectContext::MakeVulkan(sVulkanInterface.getBackendContext(), options); contexts.first = GrDirectContexts::MakeVulkan(sVulkanInterface.getBackendContext(), options); if (supportsProtectedContentImpl()) { contexts.second = GrDirectContext::MakeVulkan(sProtectedContentVulkanInterface.getBackendContext(), GrDirectContexts::MakeVulkan(sProtectedContentVulkanInterface.getBackendContext(), options); } Loading