1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
gpu / vulkan / init / skia_vk_memory_allocator_impl.h [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_VULKAN_INIT_SKIA_VK_MEMORY_ALLOCATOR_IMPL_H_
#define GPU_VULKAN_INIT_SKIA_VK_MEMORY_ALLOCATOR_IMPL_H_
#include "base/component_export.h"
#include "third_party/skia/include/gpu/vk/VulkanMemoryAllocator.h"
namespace gpu {
class VulkanDeviceQueue;
COMPONENT_EXPORT(VULKAN_INIT)
sk_sp<skgpu::VulkanMemoryAllocator> CreateSkiaVulkanMemoryAllocator(
VulkanDeviceQueue* device_queue);
} // namespace gpu
#endif // GPU_VULKAN_INIT_SKIA_VK_MEMORY_ALLOCATOR_IMPL_H_