You can make as many writepixel calls to the pixmap.
Yep, for a 256*256 pixmap that's 65536 calls.
What write the pixel data to a memory block and then use 1 call to memcopy all the dat in one go?
it will call a single function that converts the whole pixmap to a drawable frame
Yep. I agree.