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
Kristian Høgsberg
da1f30a8f0
Allocate GL front buffer through eagle instead of cairo.
16 years ago
Kristian Høgsberg
1eff73c758
Use chooser instead of hardcoded fbconfig in gears.c.
16 years ago
Kristian Høgsberg
43c28eee32
Add a toy-display object that caches state.
...
This will be GdkDisplay for GTK+ on Wayland etc. This restores
the terminal fullscreen mode.
16 years ago
Kristian Høgsberg
0ac16f056d
Switch to cairo-drm, drop struct buffer hacks.
16 years ago
Kristian Høgsberg
aa68fe346a
Update to track udev API change in eagle.
16 years ago
Kristian Høgsberg
94448c0ad7
Add listener interfaces for output and input_device objects.
16 years ago
Kristian Høgsberg
d2412e2c2e
Redesign the compositor / server interface.
...
This lets the compositor directly provide the implementation of the RMI
objects for the surface object and a new compositor object. We avoid the
manual forwarding of requests into the compositor and the clumsy compositor
interface struct.
16 years ago
Kristian Høgsberg
221067654c
Let clients override the suggested size on resize.
...
This lets gears enforce a square aspect ration and minimum size of 300x300
and the terminal now properly resizes in steps of character cells.
16 years ago
Kristian Høgsberg
1584c57edc
Snap terminal size to an integer number of character cells.
16 years ago