*blog... kind of... *rss
Can BitmapData.setPixel() fill your Browser at ~30fps?
0 comments written so far...Well, seems like it can!

This is something I was testing some weeks ago while on holidays. I was testing some tricks to improve the speed of flash raster methods. While at it, I played around with the usual XOR code a bit but I wasn't getting much (~20fps at 512x256).
Weeks later, while having a nice coding session with Texel I found Forrest Briggs post about this same topic, applied everything together, and there we go, 1024x1024 at ~38fps.
The source code is very simple but if you want to take a look... here you have.
So... in short, never forget the BitmapData.lock() and BitmapData.unlock() methods, it gave a ~7 > ~38 fps increase.

Weeks later, while having a nice coding session with Texel I found Forrest Briggs post about this same topic, applied everything together, and there we go, 1024x1024 at ~38fps.
The source code is very simple but if you want to take a look... here you have.
So... in short, never forget the BitmapData.lock() and BitmapData.unlock() methods, it gave a ~7 > ~38 fps increase.
Have your say!
*profile

traditional id: Ricardo Cabello Miguel
based in: London, UK
more: github, twitter, twitpic, soundcloud and flattr
*post nav
Ronny Pries live @ Alpha Box Jan'08
WALL·E
Where do we get the time from?
Story of Stuff
FabricLive 40 DJ Noisia
Can BitmapData.setPixel() fill your Browser at ~30fps?
How-to unlock your Vodafone UK mobile phone
escena.org DVD #1 / 2008 released (with sources)
That's enough.
Inspire08 demo log, day 36
Inspire08 demo log, day 35
*latest comments
Deleted myself from Facebook
Deleted myself from Facebook
Deleted myself from Facebook
César Alierta y las anotaciones de Youtube
La profesionalidad de Recreo comunicación
Nathan Fake the Sky Was Pink (edicion Leonardo Martin)
César Alierta y las anotaciones de Youtube
César Alierta y las anotaciones de Youtube
César Alierta y las anotaciones de Youtube
César Alierta y las anotaciones de Youtube