Porting Apps to Wayland

Kristian Høgsberg krh at bitplanet.net
Mon Nov 22 07:31:00 PST 2010


On Sun, Nov 21, 2010 at 3:30 PM, Kai Mast <kai.mast at freakybytes.org> wrote:
>
> Hey Guys,
>
> I am pretty new to Wayland and just have a general question.
>
> What exactly does change for me as a game developer on the programming
> site when I switch to Wayland. Obviously the OpenGL calls will be
> untouched. But what about Input? Will i still be able to use libxcb or
> will there a completely different API to handle that kind of stuff?

OpenGL is mostly the same, yes.  You'll be using EGL to set it up
instead of GLX, but other than that it's the GL you know.  On the
input side, things will be different, but the idea is to basically
take the consensus of XI2 and MPX.  The protocol xml that Joakim
posted describes how things work today, and the MPX support is in
there already, but we need more meta-data about the input devices
(valuator labels, absolute device range, relative events and more).
Also, this thread provides a bit more detail on games in wayland:

  http://lists.freedesktop.org/archives/wayland-devel/2010-November/000080.html

Kristian


More information about the wayland-devel mailing list