Demos (master): eglinfo: Note when an EGLConfig is streams-compatible
Adam Jackson
ajax at kemper.freedesktop.org
Wed Apr 20 20:49:19 UTC 2016
Module: Demos
Branch: master
Commit: 7bb5775189fbcdf0ddb62f72f00a69c635270a08
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=7bb5775189fbcdf0ddb62f72f00a69c635270a08
Author: Adam Jackson <ajax at redhat.com>
Date: Tue Apr 19 15:30:41 2016 -0400
eglinfo: Note when an EGLConfig is streams-compatible
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
src/egl/opengl/eglinfo.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/egl/opengl/eglinfo.c b/src/egl/opengl/eglinfo.c
index 1f79fef..ca22df2 100644
--- a/src/egl/opengl/eglinfo.c
+++ b/src/egl/opengl/eglinfo.c
@@ -93,6 +93,8 @@ PrintConfigs(EGLDisplay d)
strcat(surfString, "pb,");
if (surfaces & EGL_PIXMAP_BIT)
strcat(surfString, "pix,");
+ if (surfaces & EGL_STREAM_BIT_KHR)
+ strcat(surfString, "str,");
if (strlen(surfString) > 0)
surfString[strlen(surfString) - 1] = 0;
More information about the mesa-commit
mailing list