forked from enlightenment/efl
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:
parent
2a35811c9d
commit
2aec9927b3
|
@ -662,6 +662,11 @@ evas_gl_common_context_new(void)
|
||||||
else if (strstr(s, "NVIDIA Tegra"))
|
else if (strstr(s, "NVIDIA Tegra"))
|
||||||
shared->info.tune.pipes.max = DEF_PIPES_TEGRA_2;
|
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) \
|
#define GETENVOPT(name, tune_param, min, max) \
|
||||||
do { \
|
do { \
|
||||||
|
|
Loading…
Reference in New Issue