From: Sangjin Kim Date: Fri, 12 Apr 2013 10:36:25 +0000 (+0900) Subject: Change the FB configs limitaion from 10 to 32 for each process. X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1006^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d23c2293f5de5e015c7045e82453fd0c8f28c164;p=sdk%2Femulator%2Fqemu.git Change the FB configs limitaion from 10 to 32 for each process. Change-Id: Ic816341abc92e229b9a51d51da467edf5b929319 Signed-off-by: Sangjin Kim --- diff --git a/package/changelog b/package/changelog index d932dda164..8d57eca5fb 100644 --- a/package/changelog +++ b/package/changelog @@ -1,3 +1,6 @@ +* 1.5.27 +- Change the FB configs limitaion from 10 to 32 for each process. +== Sangjin Kim 2013-04-12 * 1.5.26 - Add glFinish() after AGL function aglTexImagePBuffer() cause of pbuffer bug on MAC os. == Sangjin Kim 2013-04-11 diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index 961b4fc3aa..cca7a4f9b7 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,4 +1,4 @@ -Version: 1.5.26 +Version: 1.5.27 Maintainer: Yeong-Kyoon Lee Source: emulator diff --git a/tizen/src/hw/opengl_exec.c b/tizen/src/hw/opengl_exec.c index 67612ffdb1..09cb146743 100644 --- a/tizen/src/hw/opengl_exec.c +++ b/tizen/src/hw/opengl_exec.c @@ -184,7 +184,7 @@ typedef struct { #define MAX_HANDLED_PROCESS 100 #define MAX_ASSOC_SIZE 100 -#define MAX_FBCONFIG 10 +#define MAX_FBCONFIG 32 #define MAX_PENDING_DRAWABLE 8 @@ -1832,7 +1832,8 @@ int do_function_call(ProcessState *process, int func_number, unsigned long *args case glXChooseFBConfig_func: { - if (process->nfbconfig == MAX_FBCONFIG) { + if (process->nfbconfig >= MAX_FBCONFIG) { + fprintf(stderr, "[%s]:%d Request FB configs error, excceed the MAX FBCONFIG of one process, return NULL!\n", __FUNCTION__, __LINE__); *(int *) args[3] = 0; ret.i = 0; } else {