Commit 65b12e26 authored by Eric Engestrom's avatar Eric Engestrom
Browse files

add support for EGL_EXT_device_query_pci

parent cad3b523
Pipeline #171834 passed with stages
in 1 minute and 19 seconds
......@@ -707,6 +707,16 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDisplayAttribEXT (EGLDisplay dpy, EGLint a
#define EGL_EXT_device_query 1
#endif /* EGL_EXT_device_query */
#ifndef EGL_EXT_device_query_pci
#define EGL_EXT_device_query_pci 1
#define EGL_QUERY_PCI_VENDOR_ID_EXT 0x3290
#define EGL_QUERY_PCI_DEVICE_ID_EXT 0x3291
#define EGL_QUERY_PCI_DOMAIN_EXT 0x3292
#define EGL_QUERY_PCI_BUS_EXT 0x3293
#define EGL_QUERY_PCI_SLOT_EXT 0x3294
#define EGL_QUERY_PCI_FUNCTION_EXT 0x3295
#endif /* EGL_EXT_device_query_pci */
#ifndef EGL_EXT_gl_colorspace_bt2020_linear
#define EGL_EXT_gl_colorspace_bt2020_linear 1
#define EGL_GL_COLORSPACE_BT2020_LINEAR_EXT 0x333F
......
......@@ -752,7 +752,13 @@
</enums>
<enums namespace="EGL" start="0x3290" end="0x329F" vendor="MESA" comment="Reserved for John K&#229;re Alsaker (Public bug 757)">
<unused start="0x3290" end="0x329F"/>
<enum value="0x3290" name="EGL_QUERY_PCI_VENDOR_ID_EXT"/>
<enum value="0x3291" name="EGL_QUERY_PCI_DEVICE_ID_EXT"/>
<enum value="0x3292" name="EGL_QUERY_PCI_DOMAIN_EXT"/>
<enum value="0x3293" name="EGL_QUERY_PCI_BUS_EXT"/>
<enum value="0x3294" name="EGL_QUERY_PCI_SLOT_EXT"/>
<enum value="0x3295" name="EGL_QUERY_PCI_FUNCTION_EXT"/>
<unused start="0x3296" end="0x329F"/>
</enums>
<enums namespace="EGL" start="0x32A0" end="0x32AF" vendor="Samsung" comment="Reserved for Dongyeon Kim (Public bug 880)">
......@@ -2395,6 +2401,16 @@
<command name="eglQueryDisplayAttribEXT"/>
</require>
</extension>
<extension name="EGL_EXT_device_query_pci" supported="egl">
<require>
<enum name="EGL_QUERY_PCI_VENDOR_ID_EXT"/>
<enum name="EGL_QUERY_PCI_DEVICE_ID_EXT"/>
<enum name="EGL_QUERY_PCI_DOMAIN_EXT"/>
<enum name="EGL_QUERY_PCI_BUS_EXT"/>
<enum name="EGL_QUERY_PCI_SLOT_EXT"/>
<enum name="EGL_QUERY_PCI_FUNCTION_EXT"/>
</require>
</extension>
<extension name="EGL_EXT_gl_colorspace_bt2020_linear" supported="egl">
<require>
<enum name="EGL_GL_COLORSPACE_BT2020_LINEAR_EXT"/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment