diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2009-06-24 11:58:25 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 08:52:44 -0500 |
commit | c18a2c360e3100bbd71162cf922dcd8c429a8b71 (patch) | |
tree | dea997d9de9b100224a2f2adf25dead03d47df34 /Makefile | |
parent | 14899cdf3a6e1fc0d72097a43c1c53a1354fbfbf (diff) |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -165,7 +165,7 @@ OBJS+=$(addprefix audio/, $(AUDIO_OBJS)) OBJS+=keymaps.o ifdef CONFIG_SDL -OBJS+=sdl.o x_keymap.o +OBJS+=sdl.o sdl_zoom.o x_keymap.o endif ifdef CONFIG_CURSES OBJS+=curses.o @@ -209,7 +209,9 @@ cocoa.o: cocoa.m keymaps.o: keymaps.c keymaps.h -sdl.o: sdl.c keymaps.h sdl_keysym.h +sdl_zoom.o: sdl_zoom.c sdl_zoom.h sdl_zoom_template.h + +sdl.o: sdl.c keymaps.h sdl_keysym.h sdl_zoom.h sdl.o audio/sdlaudio.o baum.o: CFLAGS += $(SDL_CFLAGS) |