Change the FB configs limitaion from 10 to 32 for each process.
authorSangjin Kim <sangjin3.kim@samsung.com>
Fri, 12 Apr 2013 10:36:25 +0000 (19:36 +0900)
committerSangjin Kim <sangjin3.kim@samsung.com>
Fri, 12 Apr 2013 10:37:14 +0000 (19:37 +0900)
Change-Id: Ic816341abc92e229b9a51d51da467edf5b929319
Signed-off-by: Sangjin Kim <sangjin3.kim@samsung.com>
package/changelog
package/pkginfo.manifest
tizen/src/hw/opengl_exec.c

index d932dda1640049e30ced01cd884e4d44631c53b0..8d57eca5fb49e062b7bdd4663a472bb16b3d4cd8 100644 (file)
@@ -1,3 +1,6 @@
+* 1.5.27
+- Change the FB configs limitaion from 10 to 32 for each process.
+== Sangjin Kim <sangjin3.kim@samsung.com> 2013-04-12
 * 1.5.26
 - Add glFinish() after AGL function aglTexImagePBuffer() cause of pbuffer bug on MAC os.
 == Sangjin Kim <sangjin3.kim@samsung.com> 2013-04-11
index 961b4fc3aa4dccb4806cbd43ede086f0b1548c1c..cca7a4f9b7a955373e7b26678ddf38e2742da660 100644 (file)
@@ -1,4 +1,4 @@
-Version: 1.5.26
+Version: 1.5.27
 Maintainer: Yeong-Kyoon Lee<yeongkyoon.lee@samsung.com>
 Source: emulator
 
index 67612ffdb1d465d637a02a860e473aff4c33cd01..09cb14674319fe3cc2c13eaf17e1939eb0039f3c 100644 (file)
@@ -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 {