Tiago Vignatti
0a26641626
clients: fix spelling
...
Signed-off-by: Tiago Vignatti <vignatti@freedesktop.org>
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
13 years ago
Kristian Høgsberg
009ac0a965
window: Dont take width and height in window constructor
...
Always set this by scheduling an initial resize.
13 years ago
Kristian Høgsberg
5f5324e098
gears: Make window transparent
...
We need this for the window decorations.
13 years ago
Kristian Høgsberg
29af3ebce6
window: Make decorations just a widget
...
Woohoo, only took 25 commits of refactoring to get to this point.
13 years ago
Kristian Høgsberg
bb97700474
window: Get rid of the window child allocation concept
13 years ago
Kristian Høgsberg
b67e94b170
window: Make resize and redraw handlers widget vfuncs
13 years ago
Kristian Høgsberg
5d12990dbe
window: Allocate and flush the window surface in window.c
...
No need to push this to the toolkit users.
13 years ago
Kristian Høgsberg
c5241f5b73
Never include wayland-util.h directly
...
And fix a missing "" to <> conversion for wayland-client.h include.
13 years ago
Pekka Paalanen
50719bce2a
Fix inconsistent #include style
...
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
13 years ago
Benjamin Franzke
1a89f28c7d
gears: Fail if compiled without cairo-egl
13 years ago
Benjamin Franzke
0c99163d9b
window: Create a cairo device for each egl config
13 years ago
Kristian Høgsberg
3a69627f43
window: Stop using glib mainloop in toy toolkit
13 years ago
Kristian Høgsberg
6da3812f0a
gears: Don't schedule redraw, just draw from frame callback
14 years ago
Kristian Høgsberg
9de79a92a6
window.c: Drop global handler argument
...
We can just register a global handler directly on the wl_display now.
14 years ago
Kristian Høgsberg
a8d1fa762e
clients: Bring clients up to date
14 years ago
Tim Wiederhake
b4b67344f0
Define global handler on display creation
...
Otherwise the initial announcement of interfaces gets lost.
14 years ago
Benjamin Franzke
cff904e69d
gears: Use wayland egl surface instead of images
14 years ago
Benjamin Franzke
6693ac2108
window: Use window surfaces for windows
14 years ago
Benjamin Franzke
ec4d342aa9
Support per surface frame events
...
This fixes tearing with multi head.
14 years ago
Kristian Høgsberg
f57a96f98d
gears: Remove unused drm_fd field
14 years ago
Kristian Høgsberg
297c6313eb
Port window.c to use wayland-egl
14 years ago
Kristian Høgsberg
00439617f3
Fix new gcc 4.6 warnings
...
simple-client.c:156:10: warning: variable ‘ar’ set but not used [-Wunused-but-set-variable]
etc.
14 years ago
Kristian Høgsberg
248c1b61ce
Add an orange pop-up menu to test the new map_transient request
14 years ago
Kristian Høgsberg
8def264241
Check for cairo-egl instead of just cairo-gl
14 years ago
Kristian Høgsberg
da846ca91d
Fix terminal resizing
...
Get snapping to character grid working again, avoid crashes when attempting
to resize below 1x1 character cell, only redraw when size actually changes.
Also, rename window_get_child_rectangle() to window_get_child_allocation().
14 years ago
Kristian Høgsberg
96ce968b12
gears: Include config.h
14 years ago
Kristian Høgsberg
1926ebab73
Add missing newline in gears error message
14 years ago
nobled
9835417962
Workaround gears depending on cairo-gl
...
Extremely hacky, but at least it doesn't stop the build anymore.
14 years ago
Kristian Høgsberg
82da52b15b
Update surface.attach and change surface.map to surface.map_toplevel
...
The new map_toplevel() request no longer specifies a position and takes
the size from the attached buffer. The attach request now takes a
position relative to the top-left corner of the old buffer to let
clients specify the relative position of the new buffer.
14 years ago
Yuval Fledel
e9f5e36730
Make clients exit orderly when there is no connection
14 years ago
Bryce Harrington
40269a6ed6
Cleanup declared but unused variables.
...
Make was complaining about a bunch of unused variables that were being
declared.
Signed-off-by: Bryce Harrington <bryce@canonical.com>
14 years ago
Kristian Høgsberg
2b43bd73a0
Bring gears example up to date
...
Must have gears.
14 years ago
Kristian Høgsberg
9d69f8e796
Replace commit/ack/frame protocol with simpler sync and frame callbacks
15 years ago
Kristian Høgsberg
b12fcceeb7
Update to EGL_MESA_drm_image from mesa master
...
Woo, running on stock mesa now.
15 years ago
Kristian Høgsberg
43788b13df
Update keyboard focus handler signatures
15 years ago
Kristian Høgsberg
379b678c57
Use EGL_KHR_surfaceless_opengl
15 years ago
Kristian Høgsberg
f252d6a98e
Update to use eglGetDRMDisplayMESA()
15 years ago
Kristian Høgsberg
c8c3734ef9
Set window user data using separate function
15 years ago
Kristian Høgsberg
478d9265f9
Send device name at connect time
15 years ago
Kristian Høgsberg
7824d81e07
Consolidate more code in clients/window.c
15 years ago
Kristian Høgsberg
a85fe3cf45
Use cairo-gl in clients
15 years ago
Kristian Høgsberg
f88ae45e41
Make clients at least compile for now
15 years ago
Kristian Høgsberg
b2a432ef18
Move clients to subdirectory
15 years ago
nobled
c9e208899b
Fix passing the height in resize_window
...
Otherwise the attr_list's height value is left at 0.
15 years ago
Kristian Høgsberg
3afd45d49c
Switch to using mesa EGL
15 years ago
Kristian Høgsberg
a341fa016c
Use FBOs instead of eagle-specific API
15 years ago
Kristian Høgsberg
9ae561d5bd
Make gears track focus
15 years ago
Kristian Høgsberg
75b70cef55
Fix gears rotation for high timestamp values
16 years ago
Kristian Høgsberg
cda0e0db98
Update gears example to latest eagle API changes
16 years ago
Kristian Høgsberg
b22382bfdc
Create front buffer with eagle.
...
This removes the intel dependencies from the system compositor.
16 years ago