[Title] add comments
authorgiwoong.kim <giwoong.kim@samsung.com>
Tue, 13 Mar 2012 07:48:51 +0000 (16:48 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Tue, 13 Mar 2012 07:48:51 +0000 (16:48 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

tizen/src/maru_common.h
tizen/src/maru_sdl.c

index fc406c70193aa6d99c9cd738fee92f7662242d5d..89d19058e213985e5c9332b5ae635eca5a9a2cfc 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Contact: 
  * SeokYeon Hwang <syeon.hwang@samsung.com>
- * Hyunjun Son <hj79.son@samsung.com>
+ * HyunJun Son <hj79.son@samsung.com>
  * MunKyu Im <munkyu.im@samsung.com>
  * GiWoong Kim <giwoong.kim@samsung.com>
  * YeongKyoon Lee <yeongkyoon.lee@samsung.com>
@@ -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 <stdint.h>
 #include <stdbool.h>
 
-#endif
+#endif /* __MARU_COMMON_H__ */
index 08ad60af28c9b3a099c6909eec7011675ec95b2d..850ccf64f6127d84097681661cfaa893b1e1dfb2 100644 (file)
@@ -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
 }