GUI library

Anders Runesson anders at runesson.info
Fri Jul 28 05:21:27 PDT 2006


fre 2006-07-28 klockan 13:50 +0200 skrev freeagle:

> hmm, i havent found any prob on the net when using 
> context-per-thread-per-window approach. People only mention there is a 
> problem when you try to draw to a single context from multiple threads, 
> or drawing to the same window using multiple contexts from different 
> threads. And im not planning to do that. And if possible, prevent the 
> user from doing it as well. But if you found something else, plz, post a 
> link to that article, id like to read it.

I have never tried it myself, I just repeated something I heard. People
ask about threads often on comp.graphics.api.opengl, and often people
answer "be careful about threading with opengl!". But you are probably
right, it's single context-multiple threads that cause worries.

/Anders






More information about the Digitalmars-d mailing list