Home » U++ Library support » U++ Library : Other (not classified elsewhere) » How to detect available OpenGL memory?
How to detect available OpenGL memory? [message #57724] |
Thu, 02 December 2021 11:57 |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Hi,
The title says it all: How to detect available OpenGL memory?
I have 32 GB of RAM (most of it free) but my GLCtrl based application panics and runs out of memory somewhere around 256 MB. This happens when creating big OpenGL textures in GLCtrl. Is there a way to cleanly avoid this crash, e.g. by checking available OpenGL memory before allocating more textures?
Best regards,
Tom
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:17:46 CEST 2025
Total time taken to generate the page: 0.00783 seconds
|