Il 19/06/2014 14:33, Gerd Hoffmann ha scritto:
I'm thinking about splitting the conversion (for truecolor modes, still need to think about how to do paletted modes best) into two steps: First byteswap to bring the data into a format pixman can handle, then feed into pixman for further conversion. Which probably comes with a performance penalty (but maybe not due to pixman performing better than our self-made conversion code). It will only hit the more unusual guest framebuffer formats which I can't feed into pixman directly. Acceptable or not?
It's probably not going to have a performance penalty if you vectorize the word-swap. (Which can be done later).
Paolo