[Mesa-dev] [PATCH 00/14] mesa_glinterop: header and misc fixes

Emil Velikov emil.l.velikov at gmail.com
Tue May 24 14:32:42 UTC 2016


Hi all,

This series starts with reverting the temporary fix we had for building
mesa on X11-less systems. Then it's followed by 7 patches which remove
various GLX/EGL specifics and removes the include for either of the two
headers.

With patch 08 we correct what the 'version' field means and how it
should be used. Followed by a collection of 'good to have' changes.

The final two rework the way caller/callee communicate about the
specific version of the structs. There is an alternative solution
mentioned in there, if people are not keep on the actual patches.

In either case, the scheme we have now is quite fragile and/or likely to
cause us grief as we are to extend it. From a quick look the original
idea of using "size" seems to suffer from the same issues, so at least
that's a relief

Note: since we don't have any users and/or tests the series is only
compile tested.

Emil Velikov (13):
  Revert "mesa: Build EGL without X11 headers after interop patchset"
  mesa_glinterop: use consistent naming scheme for GL interop
  mesa_glinterop: use generic variable types for the GL interop
  mesa_glinterop: replace GL types with their native counterpart.
  mesa_glinterop: remove unneeded GLAPI/GLAPIENTRY/APIENTRYP symbols
  mesa_glinterop: remove inclusion of GLX header
  mesa_glinterop: remove inclusion of EGL header
  mesa_glinterop: fix GL interop *_VERSION comments
  mesa_glinterop: s/struct_version/version/
  mesa_glinterop: rename MESA_GLINTEROP_INVALID_{VALUE,VERSION}
  st/dri: add note about GL interop version checks
  mesa_glinterop: drop mesa_glinterop_device_info::interop_version
  mesa_glinterop: make GL interop version field bidirectional

Juan A. Suarez Romero (1):
  i965: fix double-precision vertex inputs measurement

 include/GL/internal/dri_interface.h            |   2 +-
 include/GL/mesa_glinterop.h                    | 120 +++++++++++++------------
 src/egl/drivers/dri2/egl_dri2.c                |   2 +-
 src/egl/main/eglapi.c                          |   6 +-
 src/egl/main/eglapi.h                          |   2 +-
 src/gallium/state_trackers/dri/dri2.c          |  25 ++++--
 src/glx/dri2_priv.h                            |   2 +-
 src/glx/dri3_priv.h                            |   2 +-
 src/glx/dri_common_interop.c                   |   4 +-
 src/glx/glxclient.h                            |   2 +-
 src/glx/glxcmds.c                              |   6 +-
 src/mesa/drivers/dri/i965/brw_fs.cpp           |   2 +-
 src/mesa/drivers/dri/i965/brw_shader.h         |   1 +
 src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp |  66 ++++++++++----
 14 files changed, 145 insertions(+), 97 deletions(-)

-- 
2.8.2



More information about the mesa-dev mailing list