Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
limits_vk.h
Go to the documentation of this file.
1#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_LIMITS_VK_H_
2#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_LIMITS_VK_H_
3
4#include <stdint.h>
5
6namespace impeller {
7
8// Maximum size to use VMA image suballocation. Any allocation greater than or
9// equal to this value will use a dedicated VkDeviceMemory.
10//
11// This value was taken from ANGLE.
13 4 * 1024 * 1024;
14
15} // namespace impeller
16
17#endif // FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_LIMITS_VK_H_
constexpr size_t kImageSizeThresholdForDedicatedMemoryAllocation
Definition limits_vk.h:12