qemu-e2k/hw/display
Gerd Hoffmann 2c62f08ddb console: simplify screendump
Screendumps are alot simpler as we can update non-active
QemuConsoles now.  So we only need to update the QemuConsole
we want write out, then dump the DisplaySurface content into
a ppm file.  Done.

No console switching needed.  No special support code in the
gfx card emulation needed.  Zap it all.  Also move ppm_save
out of the vga code and next to the qmp_screendump function.

For now screen dumping is limited to console #0 (like it used
to be), even though it is dead simple to extend it to other
consoles.  I wanna finish the console cleanup before setting
new qapi interfaces into stone.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Igor Mitsyanko <i.mitsyanko@gmail.com>
2013-04-16 09:03:48 +02:00
..
Makefile.objs hw: move display devices to hw/display/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
ads7846.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
blizzard.c console: simplify screendump 2013-04-16 09:03:48 +02:00
blizzard_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
cirrus_vga.c console: simplify screendump 2013-04-16 09:03:48 +02:00
cirrus_vga_rop.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
cirrus_vga_rop2.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
cirrus_vga_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
exynos4210_fimd.c console: simplify screendump 2013-04-16 09:03:48 +02:00
framebuffer.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
framebuffer.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
g364fb.c console: simplify screendump 2013-04-16 09:03:48 +02:00
jazz_led.c console: simplify screendump 2013-04-16 09:03:48 +02:00
milkymist-tmu2.c hw: move display devices to hw/display/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
milkymist-vgafb.c console: simplify screendump 2013-04-16 09:03:48 +02:00
milkymist-vgafb_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
omap_dss.c hw: move display devices to hw/display/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
omap_lcd_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
omap_lcdc.c console: simplify screendump 2013-04-16 09:03:48 +02:00
pl110.c console: simplify screendump 2013-04-16 09:03:48 +02:00
pl110_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
pxa2xx_lcd.c console: simplify screendump 2013-04-16 09:03:48 +02:00
pxa2xx_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
qxl-logger.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
qxl-render.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
qxl.c console: simplify screendump 2013-04-16 09:03:48 +02:00
qxl.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
sm501.c console: simplify screendump 2013-04-16 09:03:48 +02:00
sm501_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ssd0303.c console: simplify screendump 2013-04-16 09:03:48 +02:00
ssd0323.c console: simplify screendump 2013-04-16 09:03:48 +02:00
tc6393xb.c console: simplify screendump 2013-04-16 09:03:48 +02:00
tc6393xb_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
tcx.c console: simplify screendump 2013-04-16 09:03:48 +02:00
vga-isa-mm.c console: simplify screendump 2013-04-16 09:03:48 +02:00
vga-isa.c console: simplify screendump 2013-04-16 09:03:48 +02:00
vga-pci.c console: simplify screendump 2013-04-16 09:03:48 +02:00
vga.c console: simplify screendump 2013-04-16 09:03:48 +02:00
vga.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
vga_int.h console: simplify screendump 2013-04-16 09:03:48 +02:00
vga_template.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
vmware_vga.c console: simplify screendump 2013-04-16 09:03:48 +02:00
xenfb.c console: simplify screendump 2013-04-16 09:03:48 +02:00