Re: VNC SPU not sending frame updates, currDirtyRegion being the cause

Brian Paul <[email protected]> Thu, 23 Feb 2006 09:03:11 -0700
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
Andres Lagar Cavilla wrote:
> 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.

I've been working on the VNC SPU quite a bit lately.  I'll look into 
the bounding box problem you describe.

I think I've solved the choppy update problem but I need to do more 
testing before I check in my stuff.  Maybe in a day or two.

-Brian


-------------------------------------------------------
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