Daniel Stone
103db7fb56
Convert wire input co-ordinates to fixed-point
...
To add greater precision when working with transformed surfaces and/or
high-resolution input devices.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
13 years ago
Daniel Stone
b230a7ee58
Convert internal input co-ordinates to GLfloat
...
Change all client motion handlers to take GLfloat for co-ordinates,
rather than int32_t.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
13 years ago
Daniel Stone
7ceeb7dd43
test-client: Include poll.h to silence warning
...
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
13 years ago
Kristian Høgsberg
3018b4431b
tests: Add event-test, which tests for a few incoming events
...
We check that we get surface.enter_output and move the pointer into
the window and make sure we get input_device.pointer_enter with
the right coordinates.
There's a lot of code for a very simple test here, so we need to
figure out how to reuse most of the event handling and such. It's also
not clear that a custom, text based protocol is practical here, we might
just use a wayland extension after all.
13 years ago
Kristian Høgsberg
dd90921d87
tests: Generalize test client and add helpers for launching it
13 years ago
Kristian Høgsberg
915b7f8945
tests: Add test case for basic client lifecycle
13 years ago
Kristian Høgsberg
f02a649a3c
Consolidate image loading code and move to shared/
13 years ago
Kristian Høgsberg
d654876510
cairo-util: Add png loader and image type sniffing
13 years ago
Kristian Høgsberg
27d3866045
cairo-util: Add helper to load jpeg files
13 years ago
Benjamin Franzke
47eb8f4e91
window: Remove display_flush_cairo_device
...
Rather add a flush_surface utility that
flushed the cairo_device thats associated to a surface.
13 years ago
Kristian Høgsberg
1e164b9afd
Move rounded_rect() to cairo-util.c
13 years ago
Kristian Høgsberg
9a686243b6
Add a drag and drop test client
14 years ago
Kristian Høgsberg
b91cd10fcb
Move cairo-util.[ch] to clients/
14 years ago
Kristian Høgsberg
dcb71b62a0
Update decoration drawing to be less cairo path happy
15 years ago
Kristian Høgsberg
49e868cb05
Fix a few bugs in blur implementation
15 years ago
Kristian Høgsberg
ffd710e653
Put Wayland under the MIT license.
16 years ago
Kristian Høgsberg
10bdd298b8
Optimize window blur calculation.
16 years ago
Kristian Høgsberg
2f2cfae227
Factor out common cairo code, add blur function.
16 years ago