Split weston_compositor_init into base and _gl
authorDaniel Stone <daniel@fooishbar.org>
Fri, 22 Jun 2012 13:04:36 +0000 (14:04 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Jun 2012 15:52:08 +0000 (11:52 -0400)
commit725c2c3d680f4941b12834192c0fe2bbb0c01a1f
tree68068fb9e8c75e24b3373afe188b8ab2a0826f4c
parent5069280d29e7e210868b64c16daf110d761b84cb
Split weston_compositor_init into base and _gl

weston_compositor_init is always called late because most
implementations can't initialise GL until fairly late in the game.
Split it into a base version with the same name, followed by
weston_compositor_init_gl which can be called later on.

This simplifies compositor-wayland, which no longer needs a separate
global handler just for wl_seat.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/compositor-android.c
src/compositor-drm.c
src/compositor-openwfd.c
src/compositor-wayland.c
src/compositor-x11.c
src/compositor.c
src/compositor.h