aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-03-17 14:18:52 +0900
committerChris Michael <cp.michael@samsung.com>2013-03-26 08:53:32 +0000
commit3efb72881d9a6d9e8cce612a6291ff0d849e8195 (patch)
tree946efb95946747f7a6d8e6c2e9dbcd2264d1cd50
parentupdate on recent symbol finding changes in evas - use dlsym for fbo's (diff)
downloadefl-3efb72881d9a6d9e8cce612a6291ff0d849e8195.tar.gz
seems tegra has gotten better so up pipe max number in gl engine.
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_common.h6
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_context.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_common.h b/src/modules/evas/engines/gl_common/evas_gl_common.h
index f059dd5a72..0caa3ad068 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_common.h
+++ b/src/modules/evas/engines/gl_common/evas_gl_common.h
@@ -230,11 +230,11 @@ struct _Evas_GL_Shared
#define MAX_CUTOUT 512
#define DEF_CUTOUT 512
-// FIXME bug with pipes > 1 right now, should default to 32
#define MAX_PIPES 128
#define DEF_PIPES 32
-#define DEF_PIPES_SGX_540 32
-#define DEF_PIPES_TEGRA_2 1
+#define DEF_PIPES_SGX_540 24
+#define DEF_PIPES_TEGRA_2 8
+#define DEF_PIPES_TEGRA_3 24
#define MIN_ATLAS_ALLOC 16
#define MAX_ATLAS_ALLOC 1024
diff --git a/src/modules/evas/engines/gl_common/evas_gl_context.c b/src/modules/evas/engines/gl_common/evas_gl_context.c
index 945c578fdd..6668dcd504 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_context.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_context.c
@@ -657,6 +657,8 @@ evas_gl_common_context_new(void)
{
if (strstr(s, "PowerVR SGX 540"))
shared->info.tune.pipes.max = DEF_PIPES_SGX_540;
+ else if (strstr(s, "NVIDIA Tegra 3"))
+ shared->info.tune.pipes.max = DEF_PIPES_TEGRA_3;
else if (strstr(s, "NVIDIA Tegra"))
shared->info.tune.pipes.max = DEF_PIPES_TEGRA_2;
}