Commit Graph

968 Commits

Author SHA1 Message Date
Kristian Høgsberg ded9ff337b simple-client: setenv the EGL platform for simple client as well 2011-05-16 10:42:07 -04:00
Kristian Høgsberg 2e02d24cb3 compositor: Call wlsc_buffer_attach() after setting es->width
Otherwise we end up with a 0 pitch.
2011-05-16 10:42:06 -04:00
Kristian Høgsberg a010abf072 configure: Only check for XCB if x11 compositor is enabled 2011-05-11 13:46:29 -04:00
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>
2011-05-10 16:42:08 -04:00
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.
2011-05-10 14:40:08 -04:00
Benjamin Franzke b7acce60e2 compositor: Fix warning in load_module 2011-05-06 23:19:22 +02:00
Benjamin Franzke f2de6c7ba0 compositor-openwfd: Update to tty, cursor and cflags changes 2011-05-06 23:17:11 +02:00
Benjamin Franzke 4721a3c912 Make use of wl_resource.destroy_listener_list for surfaces. 2011-05-06 16:03:33 -04:00
Kristian Høgsberg d8e181bd3f compositor-drm: Hide hw cursors on vt switch 2011-05-06 15:38:28 -04:00
Kristian Høgsberg 9396fc515b compositor-drm: Fix vt switching
Don't take input or render while switched away, drop and set master correctly.
2011-05-06 15:15:37 -04:00
Kristian Høgsberg 6c709a3e4f Fix warnings and symbol visibility from missing CFLAGS 2011-05-06 14:52:41 -04:00
Kristian Høgsberg bbefb136d1 Make sure all targets use GCC_CFLAGS 2011-05-06 14:49:06 -04:00
Benjamin Franzke 5a43db5041 configure: Remove a xcb-dri2 leftover
Fixes compositor and clients trying to link against xcb-dri2.
2011-05-06 14:11:39 -04:00
Kristian Høgsberg e4c40a4734 compositor: Disable hw cursor if we're texturing the cursor 2011-05-06 14:04:21 -04:00
Kristian Høgsberg 4d07a1c213 compositor: Scanout client buffers even if they're not map_fullscreen 2011-05-06 14:03:12 -04:00
Kristian Høgsberg 7981d00a59 compositor-drm: Use EGL_DRM_BUFFER_USE_CURSOR_MESA 2011-05-06 13:23:49 -04:00
Kristian Høgsberg 5fa7f17199 meego-tablet-shell: Destroy tablet_client resource in destroy request 2011-05-05 15:30:40 -04:00
Kristian Høgsberg bfcf07cd59 meego-tablet-shell: Handle app switcher choices 2011-05-05 15:25:28 -04:00
Benjamin Franzke f64c66106f compositor-openwfd: Fixup backend split 2011-05-04 16:18:31 -04:00
Kristian Høgsberg 81e8c26176 meego-tablet-shell: Rename tablet_client.poke to activate and add a destructor 2011-05-04 16:17:45 -04:00
Kristian Høgsberg 92fb0e9e39 meego-tablet-shell: Add requests to let ux-daemon ask for appgrid or panels 2011-05-04 16:16:43 -04:00
Kristian Høgsberg 8050bd217f compositor-drm: Fix modularization breakage 2011-05-04 15:08:04 -04:00
Kristian Høgsberg 1258a4a552 meego-tablet-shell: Track the state of the UI explicitly 2011-05-04 11:35:02 -04:00
Kristian Høgsberg f77ce46fe5 meego-tablet-shell: Handle meta key with super modifier so we get the release 2011-05-03 13:11:43 -04:00
Kristian Høgsberg 132c65360e meego-tablet-shell: Handle animation surface going away 2011-05-03 12:41:03 -04:00
Kristian Høgsberg 1c5621840b compositor: Split backends into modules 2011-05-02 22:09:20 -04:00
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.
2011-05-02 15:24:11 -04:00
Kristian Høgsberg 269c78286f compositor: Rename tweener to spring
Because it's a spring model, not a tweener.
2011-05-02 14:38:18 -04:00
Kristian Høgsberg 0bc0e24968 compositor: Group matrix and inverse in struct wlsc_transform 2011-05-02 14:35:40 -04:00
Kristian Høgsberg 3a53efe26e meego-tablet-shell: Factor out zoom animation 2011-05-02 14:21:03 -04:00
Kristian Høgsberg d28b4d7be8 meego-tablet-shell: Match meego-ux-daemon key bindings 2011-05-02 14:11:15 -04:00
Kristian Høgsberg 3d1cad80c2 meego-tablet-shell: Only clear CLOEXEC flag in child 2011-05-02 13:57:38 -04:00
Kristian Høgsberg d880e14f8a compositor: Export matrix functions 2011-05-02 13:53:45 -04:00
Kristian Høgsberg a04eecc27b compositor: Drop broken opaque repaint optimization for now 2011-05-02 13:52:00 -04:00
Kristian Høgsberg 2e94d1120a compositor: Remove unused surface matrix, add optional transform 2011-05-02 13:47:51 -04:00
Kristian Høgsberg 4a9be13d2a Tweak tweener constants and add friction parameter 2011-05-02 13:38:03 -04:00
Kristian Høgsberg 8ff7a3c8da configure.ac: Just look for png, not png12 2011-05-02 13:37:47 -04:00
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.
2011-05-02 13:35:17 -04:00
Benjamin Franzke 080ab6c1be compositor-wayland: Fix interface renames (prefix) 2011-05-02 12:22:40 -04:00
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.
2011-05-02 12:13:14 -04:00
Kristian Høgsberg b41d76c151 compositor: Use libpng directly instead of gdb-pixbuf 2011-05-02 12:13:14 -04:00
Kristian Høgsberg d34912c4f9 Just use getopt_long for option parsing 2011-05-02 12:13:13 -04:00
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.
2011-04-29 22:20:25 +02:00
Casey Dahlin 48d49eb5f9 Add some new things to .gitignore
libtoytoolkit.a, and generated protocol headers for meego-tablet.
2011-04-29 10:30:13 -04:00
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.
2011-04-28 21:36:01 +02:00
Benjamin Franzke 7d36664c0d compositor: Fix drm compositor cflags typo 2011-04-28 07:28:41 +02:00
Kristian Høgsberg 60c15080ab Add --disable-clients configure option 2011-04-26 11:47:00 -04:00
Benjamin Franzke 0b5116f746 compositor: Recalculate fullscreen surface x,y in surface_attach 2011-04-26 11:18:57 -04:00
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.
2011-04-26 11:18:43 -04:00
Kristian Høgsberg 80492e220a configure: Only check dependencies for the enabled compositor backends 2011-04-26 11:10:32 -04:00