开发者

Video memory and android applications

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜