qemu/hw/display
Sebastian Bauer a69232e2a3 sm501: Fix hardware cursor color conversion
According to the sm501 specs the hardware cursor colors are to be given in
the rgb565 format, but the code currently interprets them as bgr565.

Therefore, the colors of the hardware cursors are wrong in the QEMU
display, e.g., the standard mouse pointer of AmigaOS appears blue instead
of red. This change fixes this issue by replacing the existing naive
bgr565 => rgb888 conversion with a standard rgb565 => rgb888 one that also
scales the color component values properly.

Signed-off-by: Sebastian Bauer <mail@sebastianbauer.info>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2018-06-21 21:22:53 +10:00
..
ads7846.c
bcm2835_fb.c display: use local path for local headers 2018-06-01 19:20:37 +03:00
blizzard.c
bochs-display.c bochs-display: add missing break 2018-06-04 09:44:10 +02:00
cg3.c
cirrus_vga_rop2.h
cirrus_vga_rop.h
cirrus_vga.c
dpcd.c
exynos4210_fimd.c
framebuffer.c
framebuffer.h
g364fb.c
jazz_led.c
Makefile.objs hw/display: add standalone ramfb device 2018-06-18 11:22:15 +02:00
milkymist-tmu2.c
milkymist-vgafb_template.h
milkymist-vgafb.c
omap_dss.c
omap_lcd_template.h
omap_lcdc.c
pl110_template.h
pl110.c
pxa2xx_lcd.c
pxa2xx_template.h
qxl-logger.c
qxl-render.c qxl: fix local renderer crash 2018-05-07 11:47:57 +02:00
qxl.c
qxl.h
ramfb-standalone.c hw/display: add standalone ramfb device 2018-06-18 11:22:15 +02:00
ramfb.c hw/display: add ramfb, a simple boot framebuffer living in guest ram 2018-06-18 11:22:15 +02:00
sii9022.c
sm501_template.h
sm501.c sm501: Fix hardware cursor color conversion 2018-06-21 21:22:53 +10:00
ssd0303.c hw/i2c: Use DeviceClass::realize instead of I2CSlaveClass::init 2018-06-01 15:14:31 +02:00
ssd0323.c
tc6393xb_template.h
tc6393xb.c hw: Do not include "sysemu/block-backend.h" if it is not necessary 2018-06-01 14:15:10 +02:00
tcx.c
trace-events
vga_int.h vga: move bochs vbe defines to header file 2018-05-24 10:42:13 +02:00
vga_regs.h
vga-helpers.h
vga-isa-mm.c
vga-isa.c
vga-pci.c vga-pci: use PCI_VGA_MMIO_SIZE 2018-05-24 10:42:13 +02:00
vga.c vga: cleanup surface handling 2018-06-04 09:44:10 +02:00
virtio-gpu-3d.c
virtio-gpu-pci.c
virtio-gpu.c
virtio-vga.c
vmware_vga.c
xenfb.c
xlnx_dp.c object: fix OBJ_PROP_LINK_UNREF_ON_RELEASE ambivalence 2018-06-12 12:07:30 +02:00