[waffle] [PATCH 6/7] wflinfo: Support --platform=surfaceless_egl
Chad Versace
chadversary at chromium.org
Tue Oct 18 17:33:04 UTC 2016
Cc: Gurchetan Singh <gurchetansingh at chromium.org>
Cc: Haixia Shi <hshi at chromium.org>
---
man/wflinfo.1.xml | 1 +
src/utils/wflinfo.c | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/man/wflinfo.1.xml b/man/wflinfo.1.xml
index a1c2589..2f54aaa 100644
--- a/man/wflinfo.1.xml
+++ b/man/wflinfo.1.xml
@@ -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>
diff --git a/src/utils/wflinfo.c b/src/utils/wflinfo.c
index af5d0b1..a3752d8 100644
--- a/src/utils/wflinfo.c
+++ b/src/utils/wflinfo.c
@@ -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 },
};
--
2.10.0
More information about the waffle
mailing list