egl/dri2: rework dri2_egl_display::extensions storage
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 24 Aug 2016 22:32:27 +0000 (23:32 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 11:42:22 +0000 (12:42 +0100)
commitf871946594129500a67c05a6d9fe99db54b4bb64
treed608d3b7429b4b2328ea7843a884f238ba5f268c
parentf7b8108289fbef03ec465cf3b418eb65ff18d80d
egl/dri2: rework dri2_egl_display::extensions storage

Remove the error prone fixed size array.
While we're here also rename to loader_extensions like in the GLX code.

v2: Rebase. Keep image_loader_extension within the wayland_drm
dri2_loader_extensions list.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/egl_dri2.h
src/egl/drivers/dri2/platform_android.c
src/egl/drivers/dri2/platform_surfaceless.c
src/egl/drivers/dri2/platform_wayland.c
src/egl/drivers/dri2/platform_x11.c