hi
I’ve always wondered how to get a notification about my textures getting lost, when the GLPanel is moved to another frame or the frame is made fullscreen.
(A solution might be paying attention to how often init is/was called for certain GLAutoDrawable Instance?)
I’d really like JSR231 to provide a way to notify a EventListener about a upcoming ContextDestory, so you might perform some operations. Usually you don’t have to free textures or other resources because they will also be destroyed by OpenGL right ? But what if you have to read back some state or buffer ?
Hope this has a easy answer
Keep up the good work