summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-04-25compositor: Use stride/4 as width for shm texturesBenjamin Franzke2-3/+8
2011-04-25compositor: Use EGL_WL_bind_wayland_display only if availableBenjamin Franzke1-2/+6
2011-04-23Add meego-tablet-shellKristian Høgsberg3-1/+575
We'll probably break it out into its own repo down the road, but for now keeping it here is convenient.
2011-04-23compositor: Support loadable shellsKristian Høgsberg6-56/+113
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-22compositor: Fade to black on idle timeoutKristian Høgsberg2-6/+196
2011-04-22compositor: Refactor shader setup a bitKristian Høgsberg2-36/+51
2011-04-22compositor-openwfd: Fix event handler return typeKristian Høgsberg1-3/+5
2011-04-22compositor: Implement a simple screensaver featureKristian Høgsberg2-2/+115
We'll need protocol for screensaver inhibit requests.
2011-04-22Also fix compositor-wayland event handlerKristian Høgsberg1-1/+3
2011-04-22Update return types of event handler functionsKristian Høgsberg4-10/+28
Missed this in previous commit.
2011-04-22compositor-x11: Adjust to event loop changesKristian Høgsberg1-21/+8
Instead of having a separate check function, we just mark our x11 event source as needing a post-dispatch check. The event loop will call our dispatch function again after all dispatching is done, this time with mask = 0. If we don't process any events, return 0, so the event loop doesn't keep calling us.
2011-04-22Make use of wayland-server shm common codeBenjamin Franzke4-247/+79
2011-04-22compositor: Use surface_attached_to list for shm-buffersBenjamin Franzke3-12/+19
2011-04-22compositor: Add wlsc_shm_buffer_attachBenjamin Franzke3-10/+24
2011-04-22Implement buffer.damage in shm, use it in window.cBenjamin Franzke5-24/+65
2011-04-22compositor-x11: Set xcb to be eventqueue ownerBenjamin Franzke1-0/+2
This'll fix egl_gallium (when bind_wayland_display is done).
2011-04-21compositor: Pass NULL for context to wayland buffer eglCreateImageKHR()Kristian Høgsberg1-1/+1
2011-04-21compositor-x11: Use check function to make sure we handle all eventsKristian Høgsberg1-13/+30
If somebody else did an X11 round trip, that could leave events in the XCB buffer that we wouldn't see until the next X event came in. The new event source check function lets us check the XCB queue after dispatching and this way we'll see events we need to deal with right away.
2011-04-20Fix clients to work with wl_ prefixed interface namesKristian Høgsberg3-8/+8
2011-04-20compositor-x11: Use the keymap_notify immediately following the focus_in eventKristian Høgsberg1-17/+35
The event handling gets a little trickier this way but we need the keymap sent immdiately after the focus_in event to determine which keys are pressed as the compositor receives keyboard focus.
2011-04-20compositor-x11: Generalize handling of event pairsKristian Høgsberg1-26/+41
We need to look at the focus_in and keymap notify pair to correctly determine the set of held down keys at focus in time, so generalize the handling of event pairs in preparation for that.
2011-04-20Update to work with scanner that doesn't hardcode wl_*Kristian Høgsberg2-9/+9
This lets us drop the wl_ prefix for the un-officual screenshooter protocol.
2011-04-20Switch to new subscribe protocol and wayland-eglKristian Høgsberg6-37/+25
2011-04-20compositor-openwfd: Fixup rebaseBenjamin Franzke1-1/+17
2011-04-20compositor: Add OpenWF Display backendBenjamin Franzke5-0/+585
2011-04-20Optimize fullscreen scanout abitBenjamin Franzke5-70/+50
Use the drm fb_id used for the scanout-test as well for the corresponding pageflip. Move most of the scanout details into compositor-drm.
2011-04-20Merge remote-tracking branch 'bnf/fullscreen-pageflip'Kristian Høgsberg6-74/+387
2011-04-20Make use of a hardware cursor in compositor-drmBenjamin Franzke6-62/+259
2011-04-19compositor(-drm): Pageflip to fullscreen surfacesBenjamin Franzke5-12/+128
2011-04-15compositor-x11: Suppress keyboard repeat eventsKristian Høgsberg1-5/+30
2011-04-14window.c: Check for cairo device failure the right wayKristian Høgsberg1-1/+1
2011-04-13Only invoke shell button bindings if there's a pointer focus surfaceKristian Høgsberg1-0/+6
2011-04-12Move more switcher details to switcher.cKristian Høgsberg3-11/+12
2011-04-12Move switcher behaviour into switcher.cKristian Høgsberg4-93/+137
2011-04-12Move shell bindings to shell.cKristian Høgsberg3-63/+55
2011-04-12Extend wlsc_binding to cover buttons tooKristian Høgsberg2-58/+90
2011-04-12Update modifier state as input devices enter and leaveKristian Høgsberg1-18/+33
2011-04-12Define _GNU_SOURCE for O_CLOEXEC flagKristian Høgsberg1-0/+2
2011-04-11Remove double definition of window_get_wl_surface()Kristian Høgsberg2-9/+0
2011-04-11Remove typoKristian Høgsberg1-1/+0
Failed to break up the patch into commits.
2011-04-11Merge remote-tracking branch 'bnf/surface-frame-event'Kristian Høgsberg12-73/+155
Conflicts: compositor/compositor.c
2011-04-11Add a simple key binding mechanismKristian Høgsberg2-24/+106
2011-04-11Call present after clearing repaint_neededKristian Høgsberg1-2/+1
In case we end up scheduling a repaint in the finish_frame callback.
2011-04-11Clip out pixels covered by opaque surfaces during repaintKristian Høgsberg1-1/+21
2011-04-11compositor-drm: Close drm fd on execKristian Høgsberg1-1/+1
2011-04-11Fix window_set_child_size() for windows without decorationKristian Høgsberg1-1/+1
2011-04-11Add struct window accessor for the wl_surfaceKristian Høgsberg2-0/+9
2011-04-11Define global handler on display creationTim Wiederhake11-29/+20
Otherwise the initial announcement of interfaces gets lost.
2011-04-07Check return value of XOpenDisplay().Cyril Brulebois1-0/+4
Instead of calling XGetXCBConnection() blindly, check XOpenDisplay()'s return value to avoid a possible segfault in the former. That happens if $DISPLAY is set, but if that display isn't available. Signed-off-by: Cyril Brulebois <kibi@debian.org>
2011-03-18Merge remote-tracking branch 'bnf/fixes'Kristian Høgsberg2-3/+6