[Mesa-dev] [PATCH 12/18] egl/wayland: Use an array for modifiers

2018-02-08 Thread Daniel Stone
Each Wayland EGLDisplay currently contains a struct with one vector of modifiers per format, hardcoded in the header. To allow easier support for more formats, turn this into an array of u_vectors which is opaque outside of platform_wayland.c. Signed-off-by: Daniel Stone --- src/egl/drivers/dri2

[Mesa-dev] [PATCH 12/18] egl/wayland: Use an array for modifiers

2018-02-08 Thread Daniel Stone
Each Wayland EGLDisplay currently contains a struct with one vector of modifiers per format, hardcoded in the header. To allow easier support for more formats, turn this into an array of u_vectors which is opaque outside of platform_wayland.c. Signed-off-by: Daniel Stone --- src/egl/drivers/dri2