disable glmap/unmap buffer bu default in evas gl engine

it seems glmapbuffer can be nasty overhead on some drivers, so go back
to gldrawarrays by default until such a time as we know a lot more...
i'm looking at YOU nvidia! YOU!
This commit is contained in:
Carsten Haitzler 2013-05-07 16:20:02 +09:00
parent 2a35811c9d
commit 2aec9927b3
1 changed files with 5 additions and 0 deletions

View File

@ -662,6 +662,11 @@ evas_gl_common_context_new(void)
else if (strstr(s, "NVIDIA Tegra"))
shared->info.tune.pipes.max = DEF_PIPES_TEGRA_2;
}
if (!getenv("EVAS_GL_MAPBUFFER"))
{
glsym_glMapBuffer = NULL;
glsym_glUnmapBuffer= NULL;
}
#define GETENVOPT(name, tune_param, min, max) \
do { \