[Mesa-dev] [PATCH demos 1/4] eglinfo: Note when an EGLConfig is streams-compatible

Adam Jackson ajax at redhat.com
Wed Apr 20 20:10:01 UTC 2016


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;
 
-- 
2.7.3



More information about the mesa-dev mailing list