summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2009-06-24 11:58:25 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 08:52:44 -0500
commit3494943421c23944b283a430e7b7e720405fd9df (patch)
treedea997d9de9b100224a2f2adf25dead03d47df34 /Makefile
parentc4dccceb27bdc485115be82bb818a10caf138b39 (diff)
downloadqemu-3494943421c23944b283a430e7b7e720405fd9df.tar.gz
qemu-3494943421c23944b283a430e7b7e720405fd9df.tar.bz2
qemu-3494943421c23944b283a430e7b7e720405fd9df.zip
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--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a06c9bfc22..f8dc5065dd 100644
--- a/Makefile
+++ b/Makefile
@@ -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)