egl: inline _EGLAPI into _EGLDriver

Graphics / Mesa 3D Graphics Library / Mesa - Eric Engestrom [engestrom.ch] - 21 July 2020 00:59 UTC

_EGLDriver was an empty wrapper around _EGLAPI, so let's only keep one of them. "driver" represents better what's being accessed, so that's the one we're keeping.

cc03448008b egl: inline _EGLAPI into _EGLDriver
src/egl/Makefile.sources | 1 -
src/egl/drivers/dri2/egl_dri2.c | 106 ++++++++---------
src/egl/drivers/dri2/platform_wayland.c | 6 +-
src/egl/drivers/dri2/platform_x11.c | 4 +-
src/egl/drivers/dri2/platform_x11_dri3.c | 2 +-
src/egl/drivers/haiku/egl_haiku.cpp | 24 ++--
src/egl/main/README.txt | 6 +-
src/egl/main/eglapi.c | 99 ++++++++--------
src/egl/main/eglapi.h | 198 -------------------------------
src/egl/main/egldisplay.c | 8 +-
src/egl/main/egldriver.c | 6 +-
src/egl/main/egldriver.h | 150 ++++++++++++++++++++++-
src/egl/main/eglsurface.c | 2 +-
src/egl/main/eglsync.c | 2 +-
src/egl/main/egltypedefs.h | 2 -
src/egl/meson.build | 1 -
16 files changed, 279 insertions(+), 338 deletions(-)

Upstream: cgit.freedesktop.org


  • Share