From: Daniel E. S. <dan...@gm...> - 2006-09-14 19:04:21
|
[snip] > > > > I have a custom crServer that is embedded into a frame loop. Every > > frame the server checks for client data which is drawn along with my > > custom drawing updates... This results in choppy frames because the > > frames aren't synchronized that are coming over the wire on a > > glFlush/SwapBuffers/etc(spu that no-ops them). I am trying to find > > a way to find out when a client(in our case there will always just > > be one) is done with the current frame(buffer swapping for my app is > > > done for me so its out of my control). I see where I can check to > > see if the server is in between Begin/End calls..but not between > > frames. > > OpenGL doesn't have any explicit begin/end-frame commands. The > closest approximation is glClear and SwapBuffers/glFlush. This I know. I am not using Chromium like most though. I am trying to insert crServer into a frame loop that I don't have much control over(VR Juggler). If your app calls [glX/wgl]SwapBuffers() you can intercept that in > Chromium and do end-of-frame processing. This is what I was asking. I want to intercept these in the server stream, not in an SPU. Is anything like this supported/can I make it happen? -Dan |