Martin Gräßlin
e33c005118
Add support for Formats to Buffer and ShmPool
...
So far only ARGB32 and RGB32 are supported. The format is an optional
argument to all the createBuffer and getBuffer calls with a default
for ARGB32.
2014-09-19 14:53:03 +02:00
Martin Gräßlin
2bef3d08ef
Check maximum supported version in Client::Registry
...
Ensure that we do not connect to a version which our client library
does not support. If we would allow higher versions we would run the
risk that the wayland library calls into not existing callbacks.
2014-09-19 10:54:09 +02:00
Martin Gräßlin
4d77c197a9
Add convenient create methods to Registry
...
These methods allow to create the Interface objects and set them up
directly.
2014-09-19 10:42:44 +02:00
Martin Gräßlin
4d70ace4df
Add a Registry::create overload taking the ConnectionThread object
...
This means we don't need to pass the wl_display* around.
2014-09-19 09:52:50 +02:00
Martin Gräßlin
f2628cf831
s/kwin/kwayland in test names
2014-09-17 16:22:34 +02:00
Martin Gräßlin
677e8b66a7
Use namespace KWayland::Client instead of KWin::WaylandServer
...
It's no longer part of KWin.
2014-09-17 16:17:26 +02:00
Martin Gräßlin
a8c7c16c94
Use namespace KWayland::Server instead of KWin::WaylandServer
...
It's no longer part of KWin.
2014-09-17 16:10:38 +02:00
Martin Gräßlin
3c87cea7a8
Change to LGPLv2+
...
I'm the only copyright holder of the code in this repository, thus
I can change from GPL to LGPL!
2014-09-17 15:57:56 +02:00
Martin Gräßlin
5e54a86d5e
Generate export headers and use it in our headers
...
Auto tests are adjusted to link against the library instead of compiling
the source files.
2014-09-17 15:10:43 +02:00
Martin Gräßlin
e763d9acc0
Add a build system
...
Framework style build system which generates two libraries:
* KF5WaylandClient
* KF5WaylandServer
autotests are adjusted to compile again. They need to be changed to
use the libraries once the export header gets generated.
2014-09-17 14:35:33 +02:00
Martin Gräßlin
faa80cefb7
Move all files to autotests/client
2014-09-17 13:23:06 +02:00