From what I can see from the code..
You can make as many writepixel calls to the pixmap.
Only when you draw it.. it will call a single function that converts the whole pixmap to a drawable frame. What this function does I'm not sure.
But you've got me thinking...
What if we have a huge image type that represents an image of 4000*4000.
This type contains 400*400 smaller images of 10*10. When you write pixel anything to this huge image (it will write to the correct image in the type), when it comes to drawing it will only have to convert the nessecary 10*10 images, rather than the whole 4000*4000 pixels.
This could be a huge saving in speed.
I'm going to play arounf with this tonight.
You can make as many writepixel calls to the pixmap.
Only when you draw it.. it will call a single function that converts the whole pixmap to a drawable frame. What this function does I'm not sure.
But you've got me thinking...
What if we have a huge image type that represents an image of 4000*4000.
This type contains 400*400 smaller images of 10*10. When you write pixel anything to this huge image (it will write to the correct image in the type), when it comes to drawing it will only have to convert the nessecary 10*10 images, rather than the whole 4000*4000 pixels.
This could be a huge saving in speed.
I'm going to play arounf with this tonight.