[Buildroot] [RFC 0/4] Try to clean up proprietary OpenGL drivers

Jérôme Pouiller jezz at sysmic.org
Wed Jan 21 11:23:24 UTC 2015


Until now, xorg-xserver depends on mesa3d to compile with GLX/DRI support.
However, there was problem with proprietary OpenGL drivers. These ones depends
on GLX/DRI support (so, they depends on mesa3d) and overwrite files provided by
mesa3d (so, they conflict with mesa3d).

Thanks to opengl-registry, it is possible to change proprietary OpenGL drivers
in real LibGL provider and compile GLX/DRI support using proprietary drivers
instead of mesa3d.

Notice this series aim to highlight the problem described above. It does not
aim to be upstreamed. It apply on top of Yann series about nvidia driver and
my series about imx6 gpu driver.

Jérôme Pouiller (4):
  nvidia-driver: Add gl.pc
  gpu-viv-bin-mx6q: is a libgl provider
  opengl-registry: Also provide DRI interface
  xorg-server: Depends on libgl to enable DRI/GLX

 package/freescale-imx/gpu-viv-bin-mx6q/Config.in   |    5 +
 package/freescale-imx/gpu-viv-bin-mx6q/gl.pc       |   10 +
 .../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.mk           |    5 +-
 package/nvidia-driver/gl.pc                        |   11 +
 package/nvidia-driver/nvidia-driver.mk             |    1 +
 .../opengl/khronos-registry/opengl-registry/dri.pc |   11 +
 .../opengl-registry/dri_interface.h                | 1464 ++++++++++++++++++++
 .../opengl-registry/opengl-registry.mk             |    4 +
 package/x11r7/xdriver_xf86-video-imx-viv/Config.in |    2 -
 .../xserver_xorg-server/xserver_xorg-server.mk     |    7 +-
 10 files changed, 1514 insertions(+), 6 deletions(-)
 create mode 100644 package/freescale-imx/gpu-viv-bin-mx6q/gl.pc
 create mode 100644 package/nvidia-driver/gl.pc
 create mode 100644 package/opengl/khronos-registry/opengl-registry/dri.pc
 create mode 100644 package/opengl/khronos-registry/opengl-registry/dri_interface.h

-- 
1.9.1



More information about the buildroot mailing list