Kristian Høgsberg
a010abf072
configure: Only check for XCB if x11 compositor is enabled
14 years ago
Egbert Eich
e7b8d9055e
compositor: Set EGL_PLATFORM env variable for each backend.
...
I may have missed something, but - since the Wayland compositor
already picks a platform backend, opens a connection and initializes the
backend specific display data structure it doesn't make sense
to let egl pick a platform. If it picks a different one the
display specific data structure will most likely not match.
Thus determine the platform in the Wayland rendering backend by setting
the EGL_PLATFORM env variable.
For the client any other platform than 'wayland' doesn't seem to make
sense.
I'm not sure if I've got the the platform ofr openfwd right.
Signed-off-by: Egbert Eich <eich@freedesktop.org>
14 years ago
Kristian Høgsberg
b79216e7a0
meego-tablet-compositor: Only ask for lockscreen after we get homescreen
...
This way we don't fade up until the lockscreen is showing.
14 years ago
Benjamin Franzke
b7acce60e2
compositor: Fix warning in load_module
14 years ago
Benjamin Franzke
f2de6c7ba0
compositor-openwfd: Update to tty, cursor and cflags changes
14 years ago
Benjamin Franzke
4721a3c912
Make use of wl_resource.destroy_listener_list for surfaces.
14 years ago
Kristian Høgsberg
d8e181bd3f
compositor-drm: Hide hw cursors on vt switch
14 years ago
Kristian Høgsberg
9396fc515b
compositor-drm: Fix vt switching
...
Don't take input or render while switched away, drop and set master correctly.
14 years ago
Kristian Høgsberg
6c709a3e4f
Fix warnings and symbol visibility from missing CFLAGS
14 years ago
Kristian Høgsberg
bbefb136d1
Make sure all targets use GCC_CFLAGS
14 years ago
Benjamin Franzke
5a43db5041
configure: Remove a xcb-dri2 leftover
...
Fixes compositor and clients trying to link against xcb-dri2.
14 years ago
Kristian Høgsberg
e4c40a4734
compositor: Disable hw cursor if we're texturing the cursor
14 years ago
Kristian Høgsberg
4d07a1c213
compositor: Scanout client buffers even if they're not map_fullscreen
14 years ago
Kristian Høgsberg
7981d00a59
compositor-drm: Use EGL_DRM_BUFFER_USE_CURSOR_MESA
14 years ago
Kristian Høgsberg
5fa7f17199
meego-tablet-shell: Destroy tablet_client resource in destroy request
14 years ago
Kristian Høgsberg
bfcf07cd59
meego-tablet-shell: Handle app switcher choices
14 years ago
Benjamin Franzke
f64c66106f
compositor-openwfd: Fixup backend split
14 years ago
Kristian Høgsberg
81e8c26176
meego-tablet-shell: Rename tablet_client.poke to activate and add a destructor
14 years ago
Kristian Høgsberg
92fb0e9e39
meego-tablet-shell: Add requests to let ux-daemon ask for appgrid or panels
14 years ago
Kristian Høgsberg
8050bd217f
compositor-drm: Fix modularization breakage
14 years ago
Kristian Høgsberg
1258a4a552
meego-tablet-shell: Track the state of the UI explicitly
14 years ago
Kristian Høgsberg
f77ce46fe5
meego-tablet-shell: Handle meta key with super modifier so we get the release
14 years ago
Kristian Høgsberg
132c65360e
meego-tablet-shell: Handle animation surface going away
14 years ago
Kristian Høgsberg
1c5621840b
compositor: Split backends into modules
14 years ago
Kristian Høgsberg
9d09777e40
meego-tablet-shell: Use KEY_COMPOSE for the menu key
...
This is what the Windows menu key maps to in evdev keycodes.
14 years ago
Kristian Høgsberg
269c78286f
compositor: Rename tweener to spring
...
Because it's a spring model, not a tweener.
14 years ago
Kristian Høgsberg
0bc0e24968
compositor: Group matrix and inverse in struct wlsc_transform
14 years ago
Kristian Høgsberg
3a53efe26e
meego-tablet-shell: Factor out zoom animation
14 years ago
Kristian Høgsberg
d28b4d7be8
meego-tablet-shell: Match meego-ux-daemon key bindings
14 years ago
Kristian Høgsberg
3d1cad80c2
meego-tablet-shell: Only clear CLOEXEC flag in child
14 years ago
Kristian Høgsberg
d880e14f8a
compositor: Export matrix functions
14 years ago
Kristian Høgsberg
a04eecc27b
compositor: Drop broken opaque repaint optimization for now
14 years ago
Kristian Høgsberg
2e94d1120a
compositor: Remove unused surface matrix, add optional transform
14 years ago
Kristian Høgsberg
4a9be13d2a
Tweak tweener constants and add friction parameter
14 years ago
Kristian Høgsberg
8ff7a3c8da
configure.ac: Just look for png, not png12
14 years ago
Kristian Høgsberg
fac11d25e4
Remove unused surface->buffer field
...
If we make sure the link is either on a list or initialized, we can alway
just remove it.
14 years ago
Benjamin Franzke
080ab6c1be
compositor-wayland: Fix interface renames (prefix)
14 years ago
Kristian Høgsberg
8544903741
compositor: Screenhoot into a client provided shm buffer
...
This moves the png writing part to the client and removes the gdk-pixbuf
dependency from the compositor.
14 years ago
Kristian Høgsberg
b41d76c151
compositor: Use libpng directly instead of gdb-pixbuf
14 years ago
Kristian Høgsberg
d34912c4f9
Just use getopt_long for option parsing
14 years ago
Benjamin Franzke
d59eb1c3aa
compositor-drm: Retrieve extension functions before wlsc_compositor_init
...
wlsc_compositor_init calls pointer_create, which calls
create_cursor which needs EGL_MESA_drm_image functions.
14 years ago
Casey Dahlin
48d49eb5f9
Add some new things to .gitignore
...
libtoytoolkit.a, and generated protocol headers for meego-tablet.
14 years ago
Benjamin Franzke
e28f84b7d8
compositor-openwfd: Use wfd_device_id as drm fd
...
owfdrm uses non-0 (0 == WFD_INVALID_DEVICE_ID) fd's as wfd_device_ids.
This is not standardized, but also not invalid.
14 years ago
Benjamin Franzke
7d36664c0d
compositor: Fix drm compositor cflags typo
14 years ago
Kristian Høgsberg
60c15080ab
Add --disable-clients configure option
14 years ago
Benjamin Franzke
0b5116f746
compositor: Recalculate fullscreen surface x,y in surface_attach
14 years ago
Benjamin Franzke
e5b3b2601c
Cast fd's to intptr_t before casting to EGLNativeDisplay
...
Fixes warnings on 64bit.
Also use wlsc_compositor::destroy_image in compositor-openwfd.
14 years ago
Kristian Høgsberg
80492e220a
configure: Only check dependencies for the enabled compositor backends
14 years ago
Kristian Høgsberg
172ffd1012
compositor: Fix overlapping options
14 years ago
Kristian Høgsberg
82ed0423a1
compositor-x11: Only use xcb_poll_for_queued_event if we have it
...
Otherwise we can just fall back to xcb_poll_for_event, and just do a
harmless read on the socket.
14 years ago