Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

OpenGL Mulithreaded

13 views
Skip to first unread message

Rauf ul Hassan

unread,
Aug 30, 2004, 12:46:32 AM8/30/04
to
In OpenGL
glClearColor(r,g,b,a);
glClear(GL_COLOR_BUFFER_BIT);

is used.
The problem with the above command is that it cannot be used
efficiently in a multithreaded application. In multithreaded
application when you have nore than one thread rendering on the screen
only one thread can use the above command.

The question is how to clear a portion of the screen or more
appropriatly color buffer in multithreaded OpenGL applicatoion? Does
any body have multithreaded OpenGL class for C++? Any help will be
appreciated.

Rauf

0 new messages