gl-renderer: Replace display-create args with struct
authorDaniel Stone <daniels@collabora.com>
Fri, 6 Mar 2020 13:04:18 +0000 (13:04 +0000)
committerPekka Paalanen <pq@iki.fi>
Fri, 20 Mar 2020 15:25:24 +0000 (15:25 +0000)
commitc890c384c82111d49dacfcc886b89adf9819844f
tree76f80ccee849e20a1208e20d21566221c0d5f319
parentf9a6162595a3324cdf412efeba17e3a0015e87d2
gl-renderer: Replace display-create args with struct

gl_rendererer's output_create has a lot of arguments now. Add a
structure for the options to make it more clear what is what.
This is in preparation for adding bare-integer arguments which are ripe
for confusion when passing positional arguments.

Signed-off-by: Daniel Stone <daniels@collabora.com>
libweston/backend-drm/drm-gbm.c
libweston/backend-headless/headless.c
libweston/backend-wayland/wayland.c
libweston/backend-x11/x11.c
libweston/renderer-gl/gl-renderer.c
libweston/renderer-gl/gl-renderer.h