[prev in list] [next in list] [prev in thread] [next in thread] 

List:       osflash-fvnc
Subject:    [FVNC] Window corruption
From:       hardskinone () autistici ! org (hardskinone)
Date:       2007-10-17 16:50:55
Message-ID: 1192639855.7060.7.camel () europa ! hs1 ! eu
[Download RAW message or body]

Your email was very useful.

On Wed, 2007-10-17 at 11:44 -0400, Darron J. Schall wrote:
> In the new setup, I'm favoring using lock() and unlock() on BitmapData
> to perform the screen updates instead of an offScreen/onScreen
> approach.  The new setup uses less memory and lock() and unlock()
> provide the same level of performance as before.  However, the
> copyPixels call now uses the same bitmap for both the source and the
> destination.  I don't know that this is precisely the problem or not,
> but it's where I would start looking.  Before doing the copy, if we
> clone the bitmap data first and the use the clone as the source, maybe
> that will fix the issue.  If so, maybe that means there's a bug in
> copyPixels in the Flash Player itself?  *shrug*

Passing a screenImageData.clone() in copyPixel looks to fix the scar
issue but performance drop is still to high. I'll looking to address
this.

Hope to be helpful.

-- 
http://hs1.eu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://osflash.org/pipermail/fvnc_osflash.org/attachments/20071017/945a0391/attachment.bin 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic