GUI library

Anders Runesson anders at runesson.info
Fri Jul 28 04:16:47 PDT 2006


fre 2006-07-28 klockan 12:21 +0200 skrev freeagle:

> I already have coded something like you, singlethreaded too. But i 
> realized its very performance limiting when you try to open more than 
> one openGL window in a single thread. Switching to multithreading will 
> make the coding harder, but i think it has more pros than cons, much 
> more. 
Yup. But from what I hear, opengl is extremely sensitive to being called
from different threads simultaneously. The rendering needs to be done in
one single thread, for all windows. Anything else is apparently asking
for trouble.

/Anders




More information about the Digitalmars-d mailing list