Hash :
2d3ce72d
Author :
Date :
2022-01-20T10:13:06
Refactor shared library load to avoid allocations. Fixes a leak of an angle::Library detected in the EGL loader. Bug: angleproject:6937 Change-Id: I623aa6172b98a35465e1d2641b92f67bdc5d24e7 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3403060 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
//
// Copyright 2021 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// libvulkan_loader.h:
// Helper functions for the loading Vulkan libraries.
//
#include <memory>
#ifndef LIBANGLE_COMMON_VULKAN_LIBVULKAN_LOADER_H_
# define LIBANGLE_COMMON_VULKAN_LIBVULKAN_LOADER_H_
namespace angle
{
namespace vk
{
void *OpenLibVulkan();
}
} // namespace angle
#endif // LIBANGLE_COMMON_VULKAN_LIBVULKAN_LOADER_H_