Commit Graph

760 Commits

Author SHA1 Message Date
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
Kristian Høgsberg
172ffd1012 compositor: Fix overlapping options 2011-04-25 15:59:15 -04:00
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.
2011-04-25 15:41:59 -04:00
Kristian Høgsberg
b5819dc61d compositor: Stop using EGL_EGLEXT_PROTOTYPES and look up extension functions 2011-04-25 15:35:05 -04:00
Kristian Høgsberg
c352ab03fe compositor: Don't use glClear for clearing
Draw solid color rectangles clipped to the repaint area instead.
2011-04-25 14:28:31 -04:00
Benjamin Franzke
fab5ec1215 compositor: Use stride/4 as width for shm textures 2011-04-25 20:24:45 +02:00
Benjamin Franzke
cdd9db7ed2 compositor: Use EGL_WL_bind_wayland_display only if available 2011-04-25 19:34:36 +02:00
Kristian Høgsberg
eb7e12c73b Add meego-tablet-shell
We'll probably break it out into its own repo down the road, but for
now keeping it here is convenient.
2011-04-23 13:17:43 -04:00
Kristian Høgsberg
02ec0a5d3a compositor: Support loadable shells
The shell module is responsible for implementing the higher level
compositor behavior.  We default to the desktop-lite shell built in to
the compositor.
2011-04-23 13:04:11 -04:00