VNC SPU not sending frame updates, currDirtyRegion being the cause
Andres Lagar Cavilla <[email protected]> Thu, 23 Feb 2006 09:49:15 -0500
| Newsgroups | gmane.comp.graphics.chromium.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I just checked out the cvs head. I'm using one of the demo apps, city and a vnc spu. If I connect a vncviewer to the vnc reflector offered by the spu, I get no updates, only a blank screen. I believe this has been reported before. I've looked into the code and so far identified that the currDirtyRegion struct is *never* updated. Therefore the SPU thinks there isn'y anything dirty to put into a framebuffer update. A quick hack by forcing newWindowSize to true (and therefore filling the dirtyRegion with the whole window) confirms this is the case: framebuffer updates will be sent to the vncviewer. The same happens if I disable "use_bounding_boxes" Even with this quick fix, framebuffer updates are sent to the viewer in a very choppy manner. I think there is some mishandling of the RFB porotocol going on as well. I hope this inspires someone more adept with this code to find the appropriate fixes. Thanks a lot Andres ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642