elementary: Add drm to list of available engine names, and add env

check for drm engine.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-03-28 07:24:47 +00:00
parent 2338b5ad74
commit 2d1276bd32
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,7 @@ const char *_elm_engines[] = {
"psl1ght",
"wayland_shm",
"wayland_egl",
"drm",
NULL
};
@ -1884,6 +1885,8 @@ _env_get(void)
eina_stringshare_replace(&_elm_config->engine, ELM_WAYLAND_SHM);
else if ((!strcasecmp(s, "wayland_egl")))
eina_stringshare_replace(&_elm_config->engine, ELM_WAYLAND_EGL);
else if ((!strcasecmp(s, "drm")))
eina_stringshare_replace(&_elm_config->engine, ELM_DRM);
else
ERR("Unknown engine '%s'.", s);
}