On Mon, 25 Mar 2013, Gerd Hoffmann wrote:
No, it is not, and yes, this is where the inconsistency comes from. We
read wred+wgreen+wblue directly from the surface whereas depth is cached
in the vmware vga state struct. Patch attached. Not fully tested yet.
Tried that before and it didn't work that time (but maybe things have
improved since). I could not find the "Problem" but you might look at
http://lists.nongnu.org/archive/html/qemu-devel/2012-11/msg00512.html
and commit 1f202568e0553b416483e5993f1bde219c22cf72 for the symptoms and
why these were added back after being removed shortly. If these are not
relevant any more just ignore this message (or use it to get rid of the
dummy depth variable in your patch).
Regards,
BALATON Zoltan