Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux: How does opengl handle memory management ?

$
0
0

Tool/software: Linux

Our application runs on ram which has only 512 MB, So memory management is important.

-------------------------------------

We found that when we create a opengl tex with glgentexture, the memory does not grow,

and when we call glimagetex2d the memory grow.

That above is reasonable,but when we use that texture for rendering, the memory grows again, and cause a system crash, memory not enough.

Will opengl alloc more memory, when we first use the texture for rendering?


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>