开发者

Video memory and android applications

开发者 https://www.devze.com 2023-03-28 19:40 出处:网络
I would like to know if the video memory (VRAM) that an android OpenGL application can use is开发者_如何学Go limited ? If so, would you know what the limit is?The limit depends on how much the device

I would like to know if the video memory (VRAM) that an android OpenGL application can use is开发者_如何学Go limited ? If so, would you know what the limit is?


The limit depends on how much the device has. On many devices, the VRAM is actually part of the general purpose RAM. I don't think there is a way to find how much there is at runtime. The total RAM on current devices will vary between about 256 MB and up. However, you may have problems allocating more than a certain limit (16MB, 24MB, 28MB etc.) that is fixed per device. See VM Limit in Android 2.0 for details.


The OpenGL driver allocates normal RAM until you run out of it and normal RAM size is device independent.

0

精彩评论

暂无评论...
验证码 换一张
取 消