blacklisted drivers now disableable via env var.

SVN revision: 76645
This commit is contained in:
Carsten Haitzler 2012-09-14 07:33:03 +00:00
parent 6474d29127
commit 058bcc9fed
3 changed files with 7 additions and 2 deletions

View File

@ -1035,3 +1035,7 @@
* Fix image alpha set bug if the image data has not been loaded * Fix image alpha set bug if the image data has not been loaded
yet from disk. Fixes across software and gl engines needed. yet from disk. Fixes across software and gl engines needed.
* Fix map surface leak. * Fix map surface leak.
2012-09-14 Carsten Haitzler (The Rasterman)
* Add env EVAS_GL_NO_BLACKLIST to disable blacklisting.

View File

@ -11,6 +11,7 @@ Additions:
Improvements: Improvements:
* Function to rotate an evas map with a quaternion: evas_map_util_quat_rotate(). * Function to rotate an evas map with a quaternion: evas_map_util_quat_rotate().
* EVAS_GL_NO_BLACKLIST env var to turn off blacklisted drivers in gl
Fixes: Fixes:

View File

@ -239,7 +239,7 @@ eng_window_new(Display *disp,
blacklist = 1; blacklist = 1;
if (strstr((const char *)renderer, "llvmpipe")) if (strstr((const char *)renderer, "llvmpipe"))
blacklist = 1; blacklist = 1;
if (blacklist) if ((blacklist) && (!getenv("EVAS_GL_NO_BLACKLIST")))
{ {
ERR("OpenGL Driver blacklisted:"); ERR("OpenGL Driver blacklisted:");
ERR("Vendor: %s", (const char *)vendor); ERR("Vendor: %s", (const char *)vendor);
@ -403,7 +403,7 @@ eng_window_new(Display *disp,
blacklist = 1; blacklist = 1;
if (strstr((const char *)renderer, "llvmpipe")) if (strstr((const char *)renderer, "llvmpipe"))
blacklist = 1; blacklist = 1;
if (blacklist) if ((blacklist) && (!getenv("EVAS_GL_NO_BLACKLIST")))
{ {
ERR("OpenGL Driver blacklisted:"); ERR("OpenGL Driver blacklisted:");
ERR("Vendor: %s", (const char *)vendor); ERR("Vendor: %s", (const char *)vendor);