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 ccf01afb2ba63b648db90c734d919f001d4de4c4..51db0c9e87873154b3a4802c089d74763135aef6 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 d38c7f0031dd3d218a5bd4acb44b6ddd7c46e1da..63a912b066c685b11afed262a14cdc76ac5de291 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 d10a84560d52bb0c1db261afb95588eda6882270..7f14336870b86c8647ccbe5096441fe1041ca77d 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);