Login  Register

Re: Enabling Stencil buffer breaks rendering (OSX, R11)?

Posted by Sven Gothel on Nov 22, 2012; 3:32am
URL: https://forum.jogamp.org/Enabling-Stencil-buffer-breaks-rendering-OSX-R11-tp4026857p4027155.html

On 11/11/2012 10:33 PM, Sven Gothel wrote:

> On 11/11/2012 10:26 PM, ac [via jogamp] wrote:
>> I see the following line:
>>
>> // capabilities.setStencilBits(8); // No Stencil on OSX w/ hw-accel !
>>
>> in TestGLCanvasAWTActionDeadlock02AWT. But the stencil buffer used to work on
>> OSX until recently, as far as I remember...
>
> Yes .. 'Huston, we have a problem' :)
>
> Well, it doesn't generate the proper hw-accel GL context w/ onscreen AFAIK.
> FBO does support depth/stencil.
>
> We have to validate this behavior in a different unit test,
> i.e. one of the *Capabilities* tests w/ AutoDrawable.
>
> For sure .. there is something wrong.
Fixed yesterday w/
  <http://jogamp.org/git/?p=jogl.git;a=commit;h=7e5371ca8eafce28c242fa7fbd8aec045fc81b71>

Next builds will include the fix, maybe use the source 1st to validate.

~Sven



signature.asc (909 bytes) Download Attachment