sdl zooming
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 24 Jun 2009 10:58:25 +0000 (11:58 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 13:52:44 +0000 (08:52 -0500)
commitc18a2c360e3100bbd71162cf922dcd8c429a8b71
treedea997d9de9b100224a2f2adf25dead03d47df34
parent14899cdf3a6e1fc0d72097a43c1c53a1354fbfbf
sdl zooming

Hi all,
this patch implements zooming capabilities for the sdl interface.
A new sdl_zoom_blit function is added that is able to scale and blit a
portion of a surface into another.
This way we can enable SDL_RESIZABLE and have a real_screen surface with
a different size than the guest surface and let sdl_zoom_blit take care
of the problem.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile
console.h
sdl.c
sdl_zoom.c [new file with mode: 0644]
sdl_zoom.h [new file with mode: 0644]
sdl_zoom_template.h [new file with mode: 0644]