Comment 1 for bug 1085164

Revision history for this message
Antti Ajanki (aajanki) wrote :

Yes, this is currently horribly slow because the whole bitmap is copied on every setPixel() call; Bitmap::updatedData() copies the data into style.bitmap. The copy can be avoided if Bitmap and BitmapData share the same pixel array (which is the whole point of BitmapData class anyway).