From: Sangjin Kim Date: Thu, 17 Jan 2013 12:59:06 +0000 (+0900) Subject: Package: GL X-Git-Tag: TizenStudio_2.0_p2.3~1025 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1f3b3d13ab5ad4d0e7ea10d58955088629ac93d;p=sdk%2Femulator%2Fqemu.git Package: GL Fix emulator crash problem when using EffectsApp. Signed-off-by: Sangjin Kim --- diff --git a/package/changelog b/package/changelog index ccf01af..51db0c9 100644 --- a/package/changelog +++ b/package/changelog @@ -1,3 +1,6 @@ +* 1.4.65 +- Fix emulator crash when using EffectsApp. +== Sangjin Kim 2013-01-17 * 1.4.64 - removed ifndef for screenshot == Sungmin Ha 2013-01-17 diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index d38c7f0..63a912b 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,4 +1,4 @@ -Version: 1.4.64 +Version: 1.4.65 Maintainer: Yeong-Kyoon Lee Source: emulator diff --git a/tizen/src/hw/opengl_exec.c b/tizen/src/hw/opengl_exec.c index d10a845..7f14336 100644 --- a/tizen/src/hw/opengl_exec.c +++ b/tizen/src/hw/opengl_exec.c @@ -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);