Package: GL
authorSangjin Kim <sangjin3.kim@samsung.com>
Thu, 17 Jan 2013 12:59:06 +0000 (21:59 +0900)
committerSangjin Kim <sangjin3.kim@samsung.com>
Thu, 17 Jan 2013 12:59:06 +0000 (21:59 +0900)
Fix emulator crash problem when using EffectsApp.
Signed-off-by: Sangjin Kim <sangjin3.kim@samsung.com>
package/changelog
package/pkginfo.manifest
tizen/src/hw/opengl_exec.c

index ccf01af..51db0c9 100644 (file)
@@ -1,3 +1,6 @@
+* 1.4.65
+- Fix emulator crash when using EffectsApp.
+== Sangjin Kim <sangjin3.kim@samsung.com> 2013-01-17
 * 1.4.64
 - removed ifndef for screenshot
 == Sungmin Ha <sungmin82.ha@samsung.com> 2013-01-17
index d38c7f0..63a912b 100644 (file)
@@ -1,4 +1,4 @@
-Version: 1.4.64
+Version: 1.4.65
 Maintainer: Yeong-Kyoon Lee<yeongkyoon.lee@samsung.com>
 Source: emulator
 
index d10a845..7f14336 100644 (file)
@@ -944,6 +944,14 @@ static void do_glClientActiveTextureARB(int texture)
 static void destroy_gl_state(GLState *state)
 {
     int i;
+
+    /* XXX:Current limitation is that each surface is binded to one
+     * context, thus not support sharing surface between contexts. If guest
+     * does this, deleting surface in one context make trouble to other
+     * context. Leave the work until the uninitialization. Need clean the code
+     * and decouple the context and surface in future.
+     */
+#if 0
     QGloSurface *qsurface, *tmp;
 
     QTAILQ_FOREACH_SAFE(qsurface, &state->qsurfaces, next, tmp) {
@@ -951,6 +959,7 @@ static void destroy_gl_state(GLState *state)
         QTAILQ_REMOVE(&state->qsurfaces, qsurface, next);
         g_free(qsurface);
     }
+#endif
         
     if (state->context)
       glo_context_destroy(state->context);