Any advice from this list? Since I am digging deep into the chromium code
this list may be more appropriate.
On 9/11/06, Daniel E. Shipton <dan...@gm...> wrote:
>
> 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.
>
> Within my draw function I have:
>
> // Bunch of custom drawing above...
> glPushMatrix();
> bool ran_queue = false;
> while(!ran_queue)
> {
> if(cr_server.run_queue != NULL)
> {
> crServerServiceClients();
> ran_queue = true;
> }
> }
> glPopMatrix();
>
>
> Ideas?
>
> -Dan
>
|