Commit 0b4e2a1b authored by chadversary's avatar chadversary

wflinfo: Support --platform=surfaceless_egl

Cc: Gurchetan Singh <gurchetansingh@chromium.org>
Cc: Haixia Shi <hshi@chromium.org>
Reviewed-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
parent cdd808d3
......@@ -75,6 +75,7 @@
<member>cgl</member>
<member>gbm</member>
<member>glx</member>
<member>surfaceless_egl (or short alias 'sl')</member>
<member>wayland</member>
<member>wgl</member>
<member>x11_egl</member>
......
......@@ -64,7 +64,8 @@ static const char *usage_message =
"\n"
"Required Parameters:\n"
" -p, --platform <platform>\n"
" One of: android, cgl, gbm, glx, wayland, wgl or x11_egl\n"
" One of: android, cgl, gbm, glx, surfaceless_egl (or short\n"
" alias 'sl'), wayland, wgl, or x11_egl.\n"
"\n"
" -a, --api <api>\n"
" One of: gl, gles1, gles2 or gles3\n"
......@@ -289,6 +290,8 @@ static const struct enum_map platform_map[] = {
{WAFFLE_PLATFORM_WAYLAND, "wayland" },
{WAFFLE_PLATFORM_WGL, "wgl" },
{WAFFLE_PLATFORM_X11_EGL, "x11_egl" },
{WAFFLE_PLATFORM_SURFACELESS_EGL, "surfaceless_egl" },
{WAFFLE_PLATFORM_SURFACELESS_EGL, "sl" },
{0, 0 },
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment