[Title] pixmap detection bug fix. master 2.0_alpha submit/master/20120920.151203
authorSangjin Kim <sangjin3.kim@samsung.com>
Fri, 7 Sep 2012 09:18:29 +0000 (18:18 +0900)
committerSangjin Kim <sangjin3.kim@samsung.com>
Fri, 7 Sep 2012 09:18:29 +0000 (18:18 +0900)
[Type] bug fix
[Module] opengl
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

debian/changelog
libGL/client_glx.c
packaging/simulator-opengl.spec

index 09dbf96..279d383 100644 (file)
@@ -1,3 +1,11 @@
+simulator-opengl (0.1.34) unstable; urgency=low
+
+  * pixmap detection check.
+  * Git: 112.106.1.251:sdk/simulator-opengl
+  * Tag: simulator-opengl_0.1.34
+
+ -- Sangjin3.kim <sangjin3.kim@samsung.com>  Fri, 07 Sep 2012 18:15:52 +0900
+
 simulator-opengl (0.1.33) unstable; urgency=low
 
   * WebProcess crash bug fix.
index 77a9c76..dd23ea1 100755 (executable)
@@ -511,9 +511,12 @@ static void _get_window_info(Display *dpy, Window win, WindowInfoStruct* info)
 
 #ifndef XCB_EVENT_ERROR_BAD_MATCH
 #define XCB_EVENT_ERROR_BAD_MATCH 8
+#define XCB_EVENT_ERROR_BAD_WINDOW 3
 #endif
        /* BAD_MATCH indicate the drawable is PIXMAP instead of window */
-       if ( !attr && error->error_code != XCB_EVENT_ERROR_BAD_MATCH )
+       if ( !attr && 
+                 error->error_code != XCB_EVENT_ERROR_BAD_MATCH &&
+                 error->error_code != XCB_EVENT_ERROR_BAD_WINDOW )
        {
                info->width = 0;
                info->height= 0;
index 33bd76f..5bdce88 100755 (executable)
@@ -1,7 +1,7 @@
 #sbs-git:slp/sdk/simulator-opengl     
 Name:       simulator-opengl    
 Summary:    opengl-es acceleration module for emulator  
-Version:    0.1.33
+Version:    0.1.34
 Release:    1    
 Group:      TO_BE/FILLED_IN    
 License:    TO_BE/FILLED_IN