facebook / igl

Intermediate Graphics Library (IGL) is a cross-platform library that commands the GPU. It provides a single low-level cross-platform interface on top of various graphics APIs (e.g. OpenGL, Metal and Vulkan).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The memory usage of the Vulkan is three times higher than the OpenGL ?

vinsentli opened this issue · comments

Is it normal for the memory usage of the Vulkan demo in the Textured3DCubeSession to be three times higher than the OpenGL demo?

The memory usage of Textured3DCubeSession On my Huawei Mate60 phone:
Vulkan, GL Memory : 334M
image

But the OpenGLES3.0 GL Memory only : 97M
image

@vinsentli You can set the parameter VulkanContextConfig::vmaPreferredLargeHeapBlockSize to 16Mb to reduce the amount of memory preallocated for VMA pools. 2a63241