| Flutter Impeller |

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
6 namespace 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.
12 constexpr size_t kImageSizeThresholdForDedicatedMemoryAllocation =
13 4 * 1024 * 1024;
14
15 } // namespace impeller
16
17 #endif // FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_LIMITS_VK_H_
impeller::kImageSizeThresholdForDedicatedMemoryAllocation
constexpr size_t kImageSizeThresholdForDedicatedMemoryAllocation
Definition: limits_vk.h:12
impeller
Definition: aiks_blur_unittests.cc:20