From f1f3b3d13ab5ad4d0e7ea10d58955088629ac93d Mon Sep 17 00:00:00 2001 From: Sangjin Kim Date: Thu, 17 Jan 2013 21:59:06 +0900 Subject: [PATCH] Package: GL Fix emulator crash problem when using EffectsApp. Signed-off-by: Sangjin Kim --- package/changelog | 3 +++ package/pkginfo.manifest | 2 +- tizen/src/hw/opengl_exec.c | 9 +++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/package/changelog b/package/changelog index ccf01afb2b..51db0c9e87 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 d38c7f0031..63a912b066 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 d10a84560d..7f14336870 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); -- 2.34.1