Re: GLCapabilities setSampleBuffers(true) stops painting
Posted by jeffreportmill on Jan 20, 2022; 9:59pm
URL: https://forum.jogamp.org/GLCapabilities-setSampleBuffers-true-stops-painting-tp4041586p4041592.html
So I got it to work by changing my AutoDrawable to be:
GLWindow glWindow = GLWindow.create(glCaps);
Instead of:
GLDrawableFactory factory = GLDrawableFactory.getFactory(glProfile);
GLAutoDrawable drawable = factory.createOffscreenAutoDrawable(null, glCaps, null, _width, _height);
The "Upstream Widget" for GLWindow is NEWT. For the second it is null. And while it works now, I have a bogus onscreen window for every offscreen AutoDrawable that I would have to hide somehow.
Any idea why it works for GLWindow and not GLDrawableFactory.createOffscreenAutoDrawable()?