summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2019-11-21 23:01:28 -0800
committerKenneth Graunke <kenneth@whitecape.org>2019-11-26 01:13:45 -0800
commit195c2ef8f9f07b9bdabc0f554a9033b7857b99c7 (patch)
tree5bbf6b02f4d071aa78cf58461115396f2c043088 /include
parent60003023fa5b301dd621da4797f8a93035ebeeca (diff)
glamor: Add a function to get the driver name via EGL_MESA_query_driver
This maps to eglGetDisplayDriverName if EGL_MESA_query_render is supported, otherwise it returns NULL.
Diffstat (limited to 'include')
-rw-r--r--include/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/meson.build b/include/meson.build
index 070178473..a01cb1709 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -97,6 +97,8 @@ conf_data.set('HAVE_XSHMFENCE', xshmfence_dep.found())
conf_data.set('WITH_LIBDRM', libdrm_required)
conf_data.set('GLAMOR_HAS_EGL_QUERY_DMABUF',
epoxy_dep.found() and epoxy_dep.version().version_compare('>= 1.4.4'))
+conf_data.set('GLAMOR_HAS_EGL_QUERY_DRIVER',
+ epoxy_dep.found() and epoxy_dep.version().version_compare('>= 1.5.4'))
conf_data.set('GLXEXT', build_glx)
conf_data.set('GLAMOR', build_glamor)
conf_data.set('GLAMOR_HAS_GBM', gbm_dep.found())