Custom crServer sync question

"Daniel E. Shipton" <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <[email protected]>
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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Chromium-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chromium-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.