Flutter Impeller
limits_vk.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdint.h>
4 
5 namespace impeller {
6 
7 // Maximum size to use VMA image suballocation. Any allocation greater than or
8 // equal to this value will use a dedicated VkDeviceMemory.
9 //
10 // This value was taken from ANGLE.
12  4 * 1024 * 1024;
13 
14 } // namespace impeller
impeller::kImageSizeThresholdForDedicatedMemoryAllocation
constexpr size_t kImageSizeThresholdForDedicatedMemoryAllocation
Definition: limits_vk.h:11
impeller
Definition: aiks_context.cc:10