From d23c2293f5de5e015c7045e82453fd0c8f28c164 Mon Sep 17 00:00:00 2001 From: Sangjin Kim Date: Fri, 12 Apr 2013 19:36:25 +0900 Subject: [PATCH] Change the FB configs limitaion from 10 to 32 for each process. Change-Id: Ic816341abc92e229b9a51d51da467edf5b929319 Signed-off-by: Sangjin Kim --- package/changelog | 3 +++ package/pkginfo.manifest | 2 +- tizen/src/hw/opengl_exec.c | 5 +++-- 3 files changed, 7 insertions(+), 3 deletions(-) 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 { -- 2.34.1