Login  Register

Re: NewtCanvasSWT and SashForm

Posted by Sven Gothel on Jan 23, 2013; 7:03pm
URL: https://forum.jogamp.org/NewtCanvasSWT-and-SashForm-tp4027951p4028003.html

On 01/23/2013 05:18 PM, Tomas [via jogamp] wrote:
> BTW: Which threading model does the [JOGAMP] SWT GLCanvas expect. From what I
> could tell from the source it expected the SWT thread to call display and
> update the glcontext.
>
> The Animator however seem to create a new thread and call display directly
> without invoking the SWT thread for the display update ...
>
> Or am I missing something ?

Nope .. we completely ignore any threading restrictions for 'display' calls,
but respect SWT restrictions for lifecycle operations.

~Sven



signature.asc (911 bytes) Download Attachment