mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
qxl: remove flipped
Tested on linux and windows guests. For negative stride, qxl_flip copies directly to vga->ds->surface->data, for positive it's reallocated to share qxl->guest_primary.data Signed-off-by: Alon Levy <alevy@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
4295e15aa7
commit
4c19ebb51d
2 changed files with 31 additions and 37 deletions
2
hw/qxl.h
2
hw/qxl.h
|
@ -52,7 +52,7 @@ typedef struct PCIQXLDevice {
|
|||
uint32_t abs_stride;
|
||||
uint32_t bits_pp;
|
||||
uint32_t bytes_pp;
|
||||
uint8_t *data, *flipped;
|
||||
uint8_t *data;
|
||||
} guest_primary;
|
||||
|
||||
struct surfaces {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue