From: Manuel Bachmann Date: Sat, 4 Apr 2015 18:43:27 +0000 (+0000) Subject: Implement initial Wayland support X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=7ce62fee66f89db514ed1b80e6c3aa287a2f8d74;hp=7ce62fee66f89db514ed1b80e6c3aa287a2f8d74;p=freeglut Implement initial Wayland support This commit creates a new "wayland" backend, which can be activated at configure time with "-DFREEGLUT_WAYLAND=ON". If done so, it will be used instead of X11 (building both and doing runtime detection may become possible later). Please note that if you choose to use GL instead of GLES (by not specifying "-DFREEGLUT_GLES=ON"), then libX11 will still be pulled as an indirect dependency. Following features are still WIP : - menus (not implemented, TODO) ; - client-side decorations (not implemented, required because Wayland shells do not draw title bars nor resize grips, TODO) ; - game mode (code is commented out, depends on WIP protocols tested upstream, WAIT FOR UPSTREAM) ; - window visibility states (code is commented out, depends on xdg-shell protocol, TODO). Signed-off-by: Manuel Bachmann git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1758 7f0cb862-5218-0410-a997-914c9d46530a ---