qemu/hw
Mark Cave-Ayland 1f11051619 artist: only render dirty scanlines on the display surface
The framebuffer_update_display() function returns the dirty scanlines that were
touched since the last display update, however artist_update_display() always calls
dpy_gfx_update() with start and end scanlines of 0 and s->height causing the
entire display surface to be rendered on every update.

Update artist_update_display() so that dpy_gfx_update() only renders the dirty
scanlines on the display surface, bypassing the display surface rendering
completely if framebuffer_update_display() indicates no changes occurred.

This noticeably improves boot performance when the framebuffer is enabled on my
rather modest laptop here, including making the GTK UI usable.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20220504153708.10352-4-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Helge Deller <deller@gmx.de>
Reviewed-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
2022-05-08 18:52:37 +01:00
..
9pfs
acpi
adc
alpha
arm
audio pc: remove -soundhw pcspk 2022-05-07 07:46:59 +02:00
avr
block
char
core
cpu
cris
display artist: only render dirty scanlines on the display surface 2022-05-08 18:52:37 +01:00
dma
gpio
hppa hppa: simplify machine function names in machine.c 2022-05-08 18:52:37 +01:00
hyperv
i2c
i386
ide
input
intc
ipack
ipmi
isa
m68k
mem
microblaze
mips
misc lasi: move from hw/hppa to hw/misc 2022-05-08 18:52:37 +01:00
net
nios2
nubus
nvme
nvram
openrisc
pci
pci-bridge
pci-host dino: move from hw/hppa to hw/pci-host 2022-05-08 18:52:36 +01:00
pcmcia
ppc
rdma
remote
riscv
rtc
rx
s390x
scsi
sd
sensor
sh4
smbios
sparc
sparc64
ssi
timer
tpm
tricore
usb
vfio
virtio
watchdog
xen
xenpv
xtensa
Kconfig
meson.build