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: 1305 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: Sat Aug 23 00:54:02 CEST 2025
Total time taken to generate the page: 0.08628 seconds
|