Re: glReadBuffer() behavior on MAC
Posted by stepasite on Jan 29, 2013; 3:23pm
URL: https://forum.jogamp.org/glReadBuffer-behavior-on-MAC-tp4028039p4028044.html
Hi Sven,
thanks for the reply, I wasn't aware of getDefaultReadBuffer() method. Anyway, I always want to read data from front buffer (from the screen). Is it possible with FBO rendering enabled?
I think it should as:
glCanvas.getChosenGLCapabilities().getDoubleBuffered();
returns true when:
glCanvas.getChosenGLCapabilities().isFBO();
returns true.
But I am not sure whether GL_COLOR_ATTACHMENT0 is considered as front or back buffer (in the case that such terminology is meaningful with FBO rendering).
Thanks in advance,
Pavel