| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<registry> |
| 3 |
<!-- |
| 4 |
(C) Copyright 2016, NVIDIA CORPORATION. |
| 5 |
All Rights Reserved. |
| 6 |
|
| 7 |
Permission is hereby granted, free of charge, to any person obtaining a |
| 8 |
copy of this software and associated documentation files (the "Software"), |
| 9 |
to deal in the Software without restriction, including without limitation |
| 10 |
on the rights to use, copy, modify, merge, publish, distribute, sub |
| 11 |
license, and/or sell copies of the Software, and to permit persons to whom |
| 12 |
the Software is furnished to do so, subject to the following conditions: |
| 13 |
|
| 14 |
The above copyright notice and this permission notice (including the next |
| 15 |
paragraph) shall be included in all copies or substantial portions of the |
| 16 |
Software. |
| 17 |
|
| 18 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 19 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 20 |
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL |
| 21 |
IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 22 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 23 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
| 24 |
IN THE SOFTWARE. |
| 25 |
|
| 26 |
Authors: |
| 27 |
Kyle Brenneman <[email protected]> |
| 28 |
--> |
| 29 |
|
| 30 |
<comment> |
| 31 |
This file contains any EGL extension functions that are missing from |
| 32 |
the normal egl.xml list. |
| 33 |
</comment> |
| 34 |
<types> |
| 35 |
<type>struct <name>mesa_glinterop_device_info</name>;</type> |
| 36 |
<type>struct <name>mesa_glinterop_export_in</name>;</type> |
| 37 |
<type>struct <name>mesa_glinterop_export_out</name>;</type> |
| 38 |
<type>struct <name>mesa_glinterop_flush_out</name>;</type> |
| 39 |
</types> |
| 40 |
<commands namespace="EGL"> |
| 41 |
<!-- EGL_WL_bind_wayland_display --> |
| 42 |
<command> |
| 43 |
<proto>struct wl_buffer * <name>eglCreateWaylandBufferFromImageWL</name></proto> |
| 44 |
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> |
| 45 |
<param><ptype>EGLImage</ptype> <name>image</name></param> |
| 46 |
</command> |
| 47 |
|
| 48 |
<command> |
| 49 |
<proto>EGLBoolean <name>eglUnbindWaylandDisplayWL</name></proto> |
| 50 |
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> |
| 51 |
<param><ptype>struct wl_display *</ptype> <name>display</name></param> |
| 52 |
</command> |
| 53 |
|
| 54 |
<command> |
| 55 |
<proto>EGLBoolean <name>eglQueryWaylandBufferWL</name></proto> |
| 56 |
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> |
| 57 |
<param><ptype>struct wl_resource *</ptype> <name>buffer</name></param> |
| 58 |
<param><ptype>EGLint</ptype> <name>attribute</name></param> |
| 59 |
<param><ptype>EGLint *</ptype> <name>value</name></param> |
| 60 |
</command> |
| 61 |
|
| 62 |
<command> |
| 63 |
<proto>EGLBoolean <name>eglBindWaylandDisplayWL</name></proto> |
| 64 |
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> |
| 65 |
<param><ptype>struct wl_display *</ptype> <name>display</name></param> |
| 66 |
</command> |
| 67 |
|
| 68 |
<!-- EGL_CHROMIUM_get_sync_values --> |
| 69 |
<command> |
| 70 |
<proto>EGLBoolean <name>eglGetSyncValuesCHROMIUM</name></proto> |
| 71 |
<param><ptype>EGLDisplay</ptype> <name>display</name></param> |
| 72 |
<param><ptype>EGLSurface</ptype> <name>surface</name></param> |
| 73 |
<param><ptype>EGLuint64KHR *</ptype> <name>ust</name></param> |
| 74 |
<param><ptype>EGLuint64KHR *</ptype> <name>msc</name></param> |
| 75 |
<param><ptype>EGLuint64KHR *</ptype> <name>sbc</name></param> |
| 76 |
</command> |
| 77 |
|
| 78 |
<!-- EGL_ANGLE_sync_control_rate --> |
| 79 |
<command> |
| 80 |
<proto>EGLBoolean <name>eglGetMscRateANGLE</name></proto> |
| 81 |
<param><ptype>EGLDisplay</ptype> <name>display</name></param> |
| 82 |
<param><ptype>EGLSurface</ptype> <name>surface</name></param> |
| 83 |
<param><ptype>EGLint *</ptype> <name>numerator</name></param> |
| 84 |
<param><ptype>EGLint *</ptype> <name>denominator</name></param> |
| 85 |
</command> |
| 86 |
|
| 87 |
<!-- EGL_MESA_gl_interop --> |
| 88 |
<command> |
| 89 |
<proto><ptype>EGLint</ptype> <name>eglGLInteropQueryDeviceInfoMESA</name></proto> |
| 90 |
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> |
| 91 |
<param><ptype>EGLContext</ptype> <name>ctx</name></param> |
| 92 |
<param>struct <ptype>mesa_glinterop_device_info</ptype> *<name>out</name></param> |
| 93 |
</command> |
| 94 |
<command> |
| 95 |
<proto><ptype>EGLint</ptype> <name>eglGLInteropExportObjectMESA</name></proto> |
| 96 |
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> |
| 97 |
<param><ptype>EGLContext</ptype> <name>ctx</name></param> |
| 98 |
<param>struct <ptype>mesa_glinterop_export_in</ptype> *<name>in</name></param> |
| 99 |
<param>struct <ptype>mesa_glinterop_export_out</ptype> *<name>out</name></param> |
| 100 |
</command> |
| 101 |
<command> |
| 102 |
<proto><ptype>EGLint</ptype> <name>eglGLInteropFlushObjectsMESA</name></proto> |
| 103 |
<param><ptype>EGLDisplay</ptype> <name>dpy</name></param> |
| 104 |
<param><ptype>EGLContext</ptype> <name>ctx</name></param> |
| 105 |
<param>unsigned <name>count</name></param> |
| 106 |
<param>struct <ptype>mesa_glinterop_export_in</ptype> *<name>objects</name></param> |
| 107 |
<param>struct <ptype>mesa_glinterop_flush_out</ptype> *<name>out</name></param> |
| 108 |
</command> |
| 109 |
</commands> |
| 110 |
</registry> |
| 111 |
|
| 112 |
|