Motherboard Forums


Reply
Thread Tools Display Modes

How to know when OpenGL is done ?

 
 





















Skybuck Flying
Guest
Posts: n/a

 
      10-01-2009, 10:30 AM


Hello,

My basic question is:

How to know when OpenGL is done ?

So far the only thing I have seen is glFinish which blocks until opengl is
done.

However this website says not to use that:

http://www.opengl.org/wiki/Common_Mistakes

I have also seen glFlush but it doesn't seem to block... at least the
documentation doesn't mention it ?

My basic opengl loop will look something like:

for i:=0 to 1000 do
begin
Draw;
end;

The draw method depends on previous round results like frame buffer objects,
render to texture etc...

Therefore I think I should call glFinish() to be sure that the previous
round completed fully...

Is this really necessary ? (Does it have any drawbacks ?)

Are there other ways ? (Do these offer any adventages ?)

Bye,
Skybuck.


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Xp runs faster than OSX on boot camp Kirby Apple 10 04-22-2006 10:59 PM
OpenGL libraries changed? Ar Fai Ve Apple 1 11-13-2004 07:43 PM
Jaguar, OpenGL GLX extensions Stuart Norris Apple 4 12-05-2003 01:34 AM
Persistent OpenGL crashing problem... Whit Gurley Apple 2 09-30-2003 05:38 AM
Persistent OpenGL crashing problem... Whit Gurley Apple 0 09-16-2003 04:40 AM


All times are GMT. The time now is 08:17 PM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43