summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-04-19 15:30:41 -0400
committerAdam Jackson <ajax@redhat.com>2016-04-20 16:47:23 -0400
commit7bb5775189fbcdf0ddb62f72f00a69c635270a08 (patch)
tree20e6b7e773ae78e7cb952e9c2233a08ed3fb03e9
parent3e718db463207df7058edb49d2201ab1acc8bf25 (diff)
downloadmesa-demos-7bb5775189fbcdf0ddb62f72f00a69c635270a08.zip
mesa-demos-7bb5775189fbcdf0ddb62f72f00a69c635270a08.tar.xz
eglinfo: Note when an EGLConfig is streams-compatible
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/egl/opengl/eglinfo.c2
1 files changed, 2 insertions, 0 deletions
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;