aboutsummaryrefslogtreecommitdiff
path: root/sdl_zoom.c
AgeCommit message (Collapse)Author
2009-07-01Fix sdl_zoom compile problems on OpenBSDBlue Swirl
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-06-29sdl zoomingStefano Stabellini
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>