From 11d687edb95e52b0179b7c2577bf72231544b65f Mon Sep 17 00:00:00 2001 From: "giwoong.kim" Date: Tue, 13 Mar 2012 16:48:51 +0900 Subject: [PATCH] [Title] add comments [Type] [Module] [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- tizen/src/maru_common.h | 6 +++--- tizen/src/maru_sdl.c | 10 +++------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/tizen/src/maru_common.h b/tizen/src/maru_common.h index fc406c7..89d1905 100644 --- a/tizen/src/maru_common.h +++ b/tizen/src/maru_common.h @@ -5,7 +5,7 @@ * * Contact: * SeokYeon Hwang - * Hyunjun Son + * HyunJun Son * MunKyu Im * GiWoong Kim * YeongKyoon Lee @@ -31,7 +31,7 @@ /** * @file emulator.h - * @brief - header of file these are config struecture and defines in emulator + * @brief - header of file these are config structures and defines in emulator */ #ifndef __MARU_COMMON_H__ @@ -41,4 +41,4 @@ #include #include -#endif +#endif /* __MARU_COMMON_H__ */ diff --git a/tizen/src/maru_sdl.c b/tizen/src/maru_sdl.c index 08ad60a..850ccf6 100644 --- a/tizen/src/maru_sdl.c +++ b/tizen/src/maru_sdl.c @@ -49,13 +49,10 @@ static int sdl_thread_initialized = 0; static void qemu_update(void) { - SDL_Surface *surface = NULL; - #ifndef SDL_THREAD pthread_mutex_lock(&sdl_mutex); #endif - surface = SDL_GetVideoSurface(); SDL_BlitSurface(surface_qemu, NULL, surface_screen, NULL); SDL_UpdateRect(surface_screen, 0, 0, 0, 0); @@ -143,10 +140,10 @@ static void qemu_ds_refresh(DisplayState *ds) } } - void maruskin_display_init(DisplayState *ds) { - INFO( "qemu_display_init\n"); + INFO( "qemu display initialize\n"); + /* graphics context information */ DisplayChangeListener *dcl; @@ -170,7 +167,6 @@ void maruskin_display_init(DisplayState *ds) #endif } - void maruskin_sdl_init(int swt_handle) { gchar SDL_windowhack[32]; @@ -186,12 +182,12 @@ void maruskin_sdl_init(int swt_handle) exit(1); } + INFO( "qemu_sdl_initialize\n"); surface_screen = SDL_SetVideoMode(480, 800, 0, SDL_HWSURFACE | SDL_ASYNCBLIT | SDL_HWACCEL | SDL_NOFRAME); #ifndef _WIN32 SDL_VERSION(&info.version); SDL_GetWMInfo(&info); - // opengl_exec_set_parent_window(info.info.x11.display, info.info.x11.window); #endif } -- 2.7.4