Kristian Høgsberg [Fri, 24 Jun 2011 01:00:04 +0000 (21:00 -0400)]
compositor: Add helper to damage surface below
Kristian Høgsberg [Fri, 24 Jun 2011 00:46:34 +0000 (20:46 -0400)]
compositor: Clip away obscured damage
Kristian Høgsberg [Fri, 24 Jun 2011 00:29:12 +0000 (20:29 -0400)]
compositor: Accumulate damage in per-surface regions
Kristian Høgsberg [Thu, 23 Jun 2011 21:44:13 +0000 (17:44 -0400)]
Merge remote-tracking branch 'bnf/fix'
Benjamin Franzke [Thu, 23 Jun 2011 21:30:30 +0000 (23:30 +0200)]
Send keyboard_focus only to client surfaces
Kristian Høgsberg [Thu, 23 Jun 2011 21:23:28 +0000 (17:23 -0400)]
compositor: Launch X server rootless
Kristian Høgsberg [Thu, 23 Jun 2011 19:51:43 +0000 (15:51 -0400)]
compsitor: Put background surface in the big surface list
Kristian Høgsberg [Thu, 23 Jun 2011 19:44:14 +0000 (15:44 -0400)]
compositor: Put cursor surfaces into the big surface list
Kristian Høgsberg [Thu, 23 Jun 2011 19:33:47 +0000 (15:33 -0400)]
compositor: Change default background to be a png
Benjamin Franzke [Sat, 30 Apr 2011 07:32:11 +0000 (09:32 +0200)]
Use gbm for compositor-{drm,openwfd}
Benjamin Franzke [Thu, 23 Jun 2011 14:12:17 +0000 (16:12 +0200)]
compositor-openwfd: Update to mode changes
This is just to have it running again.
Todo: Expose all modes, subpixel..
Benjamin Franzke [Thu, 23 Jun 2011 10:10:51 +0000 (12:10 +0200)]
window: Set egl_window_resize late and once
Previously we resized in attach_surface and create_surface.
THe second resize overwrote dx or dy from the first.
Kristian Høgsberg [Tue, 21 Jun 2011 21:43:31 +0000 (17:43 -0400)]
meego-tablet-shell: Use central sigchild handler
Kristian Høgsberg [Tue, 21 Jun 2011 21:32:25 +0000 (17:32 -0400)]
compositor: Add socket based activation for X server
Kristian Høgsberg [Tue, 21 Jun 2011 20:40:56 +0000 (16:40 -0400)]
meego-tablet-shell: Generalize zoom animation
Kristian Høgsberg [Tue, 21 Jun 2011 20:31:11 +0000 (16:31 -0400)]
terminal: Don't set terminal size before we have the pty
Kristian Høgsberg [Tue, 21 Jun 2011 19:40:31 +0000 (15:40 -0400)]
Damage surface before attaching new buffer
This reverts
cde9bfc80545030a6e5e4579a1adc7263ab7bfe8. We need to damage the
area covered by the old surface when attaching a new buffer. The new surface
area will be damaged by the client.
Kristian Høgsberg [Tue, 21 Jun 2011 19:33:18 +0000 (15:33 -0400)]
compositor: Fix region leak
Kristian Høgsberg [Tue, 21 Jun 2011 19:27:41 +0000 (15:27 -0400)]
compositor: Store the output rectangle in a region
Kristian Høgsberg [Tue, 21 Jun 2011 19:02:12 +0000 (15:02 -0400)]
compositor: Repaint immediately after pageflip finishes
Benjamin Franzke [Tue, 21 Jun 2011 17:34:19 +0000 (19:34 +0200)]
compositor: Decrement buffers busy_count in post_release
Kristian Høgsberg [Tue, 21 Jun 2011 17:10:01 +0000 (13:10 -0400)]
Merge remote-tracking branch 'bnf/buffer.release-2'
Conflicts:
compositor/compositor.h
Benjamin Franzke [Fri, 6 May 2011 17:12:33 +0000 (19:12 +0200)]
Implement buffer.release event
Kristian Høgsberg [Tue, 21 Jun 2011 15:31:38 +0000 (11:31 -0400)]
Merge remote-tracking branch 'bnf/fixes-2'
Kristian Høgsberg [Tue, 21 Jun 2011 15:16:58 +0000 (11:16 -0400)]
compositor: Send out more detailed output events
Benjamin Franzke [Tue, 21 Jun 2011 14:33:27 +0000 (16:33 +0200)]
compositor: Send frame event after redraw
Benjamin Franzke [Tue, 21 Jun 2011 08:44:37 +0000 (10:44 +0200)]
compositor: Do not leak old client buffers
Benjamin Franzke [Tue, 21 Jun 2011 07:53:15 +0000 (09:53 +0200)]
simple-client: Trigger first drawing by hand
Kristian Høgsberg [Mon, 20 Jun 2011 23:48:16 +0000 (19:48 -0400)]
compositor: Only use GL_LINEAR when surface is transformed
Kristian Høgsberg [Sat, 18 Jun 2011 10:25:17 +0000 (06:25 -0400)]
compositor: Damage after setting surface width and height
Kristian Høgsberg [Sat, 18 Jun 2011 10:22:05 +0000 (06:22 -0400)]
compositor-wayland: Update to new APIs
Kristian Høgsberg [Sat, 18 Jun 2011 10:12:54 +0000 (06:12 -0400)]
Move map requests to shell
Kristian Høgsberg [Sat, 18 Jun 2011 08:20:54 +0000 (04:20 -0400)]
compositor-x11: Support fullscreen mode
Benjamin Franzke [Tue, 31 May 2011 09:36:31 +0000 (11:36 +0200)]
clients: Add an optional roundtrip for visual lookup
Kristian Høgsberg [Thu, 19 May 2011 16:05:51 +0000 (12:05 -0400)]
compositor: Don't pass a non-existing varying into the fragment shader
Kristian Høgsberg [Thu, 19 May 2011 15:55:50 +0000 (11:55 -0400)]
meego-tablet-shell: Tweak spring constants
Casey Dahlin [Thu, 19 May 2011 02:34:10 +0000 (22:34 -0400)]
Update .gitignore
Kristian Høgsberg [Fri, 13 May 2011 17:52:18 +0000 (13:52 -0400)]
view: Set opaque when going fullscreen
Kristian Høgsberg [Fri, 13 May 2011 17:45:17 +0000 (13:45 -0400)]
window: Add support for opaque windows
Kristian Høgsberg [Fri, 13 May 2011 17:24:56 +0000 (13:24 -0400)]
window.c: Deal with visual changes
Kristian Høgsberg [Fri, 13 May 2011 17:54:19 +0000 (13:54 -0400)]
view: Add fullscreen option
Kristian Høgsberg [Fri, 13 May 2011 17:51:13 +0000 (13:51 -0400)]
view: Set resize handler so fullscreen doesn't crash
Kristian Høgsberg [Fri, 13 May 2011 21:07:23 +0000 (17:07 -0400)]
simple-client: setenv the EGL platform for simple client as well
Kristian Høgsberg [Fri, 13 May 2011 18:06:29 +0000 (14:06 -0400)]
compositor: Call wlsc_buffer_attach() after setting es->width
Otherwise we end up with a 0 pitch.
Kristian Høgsberg [Wed, 11 May 2011 17:46:29 +0000 (13:46 -0400)]
configure: Only check for XCB if x11 compositor is enabled
Egbert Eich [Tue, 10 May 2011 20:00:19 +0000 (20:00 +0000)]
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>
Kristian Høgsberg [Mon, 9 May 2011 01:28:45 +0000 (21:28 -0400)]
meego-tablet-compositor: Only ask for lockscreen after we get homescreen
This way we don't fade up until the lockscreen is showing.
Benjamin Franzke [Fri, 6 May 2011 21:19:22 +0000 (23:19 +0200)]
compositor: Fix warning in load_module
Benjamin Franzke [Fri, 6 May 2011 21:16:10 +0000 (23:16 +0200)]
compositor-openwfd: Update to tty, cursor and cflags changes
Benjamin Franzke [Fri, 6 May 2011 15:13:17 +0000 (17:13 +0200)]
Make use of wl_resource.destroy_listener_list for surfaces.
Kristian Høgsberg [Fri, 6 May 2011 19:38:28 +0000 (15:38 -0400)]
compositor-drm: Hide hw cursors on vt switch
Kristian Høgsberg [Fri, 6 May 2011 19:15:37 +0000 (15:15 -0400)]
compositor-drm: Fix vt switching
Don't take input or render while switched away, drop and set master correctly.
Kristian Høgsberg [Fri, 6 May 2011 18:52:41 +0000 (14:52 -0400)]
Fix warnings and symbol visibility from missing CFLAGS
Kristian Høgsberg [Fri, 6 May 2011 18:49:06 +0000 (14:49 -0400)]
Make sure all targets use GCC_CFLAGS
Benjamin Franzke [Fri, 6 May 2011 09:10:57 +0000 (11:10 +0200)]
configure: Remove a xcb-dri2 leftover
Fixes compositor and clients trying to link against xcb-dri2.
Kristian Høgsberg [Fri, 6 May 2011 18:04:21 +0000 (14:04 -0400)]
compositor: Disable hw cursor if we're texturing the cursor
Kristian Høgsberg [Fri, 6 May 2011 18:03:12 +0000 (14:03 -0400)]
compositor: Scanout client buffers even if they're not map_fullscreen
Kristian Høgsberg [Fri, 6 May 2011 17:23:49 +0000 (13:23 -0400)]
compositor-drm: Use EGL_DRM_BUFFER_USE_CURSOR_MESA
Kristian Høgsberg [Thu, 5 May 2011 19:30:40 +0000 (15:30 -0400)]
meego-tablet-shell: Destroy tablet_client resource in destroy request
Kristian Høgsberg [Thu, 5 May 2011 19:25:28 +0000 (15:25 -0400)]
meego-tablet-shell: Handle app switcher choices
Benjamin Franzke [Wed, 4 May 2011 19:19:43 +0000 (21:19 +0200)]
compositor-openwfd: Fixup backend split
Kristian Høgsberg [Wed, 4 May 2011 20:17:20 +0000 (16:17 -0400)]
meego-tablet-shell: Rename tablet_client.poke to activate and add a destructor
Kristian Høgsberg [Wed, 4 May 2011 20:16:43 +0000 (16:16 -0400)]
meego-tablet-shell: Add requests to let ux-daemon ask for appgrid or panels
Kristian Høgsberg [Wed, 4 May 2011 19:08:04 +0000 (15:08 -0400)]
compositor-drm: Fix modularization breakage
Kristian Høgsberg [Wed, 4 May 2011 15:35:02 +0000 (11:35 -0400)]
meego-tablet-shell: Track the state of the UI explicitly
Kristian Høgsberg [Tue, 3 May 2011 17:11:43 +0000 (13:11 -0400)]
meego-tablet-shell: Handle meta key with super modifier so we get the release
Kristian Høgsberg [Tue, 3 May 2011 16:41:03 +0000 (12:41 -0400)]
meego-tablet-shell: Handle animation surface going away
Kristian Høgsberg [Tue, 3 May 2011 02:09:20 +0000 (22:09 -0400)]
compositor: Split backends into modules
Kristian Høgsberg [Mon, 2 May 2011 19:24:11 +0000 (15:24 -0400)]
meego-tablet-shell: Use KEY_COMPOSE for the menu key
This is what the Windows menu key maps to in evdev keycodes.
Kristian Høgsberg [Mon, 2 May 2011 18:38:18 +0000 (14:38 -0400)]
compositor: Rename tweener to spring
Because it's a spring model, not a tweener.
Kristian Høgsberg [Mon, 2 May 2011 18:35:40 +0000 (14:35 -0400)]
compositor: Group matrix and inverse in struct wlsc_transform
Kristian Høgsberg [Mon, 2 May 2011 18:21:03 +0000 (14:21 -0400)]
meego-tablet-shell: Factor out zoom animation
Kristian Høgsberg [Mon, 2 May 2011 18:11:15 +0000 (14:11 -0400)]
meego-tablet-shell: Match meego-ux-daemon key bindings
Kristian Høgsberg [Mon, 2 May 2011 17:57:38 +0000 (13:57 -0400)]
meego-tablet-shell: Only clear CLOEXEC flag in child
Kristian Høgsberg [Mon, 2 May 2011 17:53:45 +0000 (13:53 -0400)]
compositor: Export matrix functions
Kristian Høgsberg [Mon, 2 May 2011 17:52:00 +0000 (13:52 -0400)]
compositor: Drop broken opaque repaint optimization for now
Kristian Høgsberg [Mon, 2 May 2011 17:47:51 +0000 (13:47 -0400)]
compositor: Remove unused surface matrix, add optional transform
Kristian Høgsberg [Mon, 2 May 2011 17:38:03 +0000 (13:38 -0400)]
Tweak tweener constants and add friction parameter
Kristian Høgsberg [Mon, 2 May 2011 17:37:47 +0000 (13:37 -0400)]
configure.ac: Just look for png, not png12
Kristian Høgsberg [Mon, 2 May 2011 17:35:17 +0000 (13:35 -0400)]
Remove unused surface->buffer field
If we make sure the link is either on a list or initialized, we can alway
just remove it.
Benjamin Franzke [Sat, 30 Apr 2011 08:41:27 +0000 (10:41 +0200)]
compositor-wayland: Fix interface renames (prefix)
Kristian Høgsberg [Mon, 2 May 2011 16:11:07 +0000 (12:11 -0400)]
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.
Kristian Høgsberg [Sat, 23 Apr 2011 19:03:15 +0000 (15:03 -0400)]
compositor: Use libpng directly instead of gdb-pixbuf
Kristian Høgsberg [Mon, 2 May 2011 14:36:04 +0000 (10:36 -0400)]
Just use getopt_long for option parsing
Benjamin Franzke [Fri, 29 Apr 2011 20:14:54 +0000 (22:14 +0200)]
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.
Casey Dahlin [Fri, 29 Apr 2011 06:58:45 +0000 (02:58 -0400)]
Add some new things to .gitignore
libtoytoolkit.a, and generated protocol headers for meego-tablet.
Benjamin Franzke [Thu, 28 Apr 2011 19:29:59 +0000 (21:29 +0200)]
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.
Benjamin Franzke [Thu, 28 Apr 2011 05:21:19 +0000 (07:21 +0200)]
compositor: Fix drm compositor cflags typo
Kristian Høgsberg [Tue, 26 Apr 2011 15:47:00 +0000 (11:47 -0400)]
Add --disable-clients configure option
Benjamin Franzke [Tue, 26 Apr 2011 13:36:26 +0000 (15:36 +0200)]
compositor: Recalculate fullscreen surface x,y in surface_attach
Benjamin Franzke [Tue, 26 Apr 2011 07:21:13 +0000 (09:21 +0200)]
Cast fd's to intptr_t before casting to EGLNativeDisplay
Fixes warnings on 64bit.
Also use wlsc_compositor::destroy_image in compositor-openwfd.
Kristian Høgsberg [Tue, 26 Apr 2011 15:10:32 +0000 (11:10 -0400)]
configure: Only check dependencies for the enabled compositor backends
Kristian Høgsberg [Mon, 25 Apr 2011 19:59:15 +0000 (15:59 -0400)]
compositor: Fix overlapping options
Kristian Høgsberg [Mon, 25 Apr 2011 19:41:59 +0000 (15:41 -0400)]
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.
Kristian Høgsberg [Mon, 25 Apr 2011 19:08:20 +0000 (15:08 -0400)]
compositor: Stop using EGL_EGLEXT_PROTOTYPES and look up extension functions
Kristian Høgsberg [Sat, 23 Apr 2011 19:34:50 +0000 (15:34 -0400)]
compositor: Don't use glClear for clearing
Draw solid color rectangles clipped to the repaint area instead.
Benjamin Franzke [Mon, 25 Apr 2011 17:44:47 +0000 (19:44 +0200)]
compositor: Use stride/4 as width for shm textures
Benjamin Franzke [Mon, 25 Apr 2011 15:47:44 +0000 (17:47 +0200)]
compositor: Use EGL_WL_bind_wayland_display only if available
Kristian Høgsberg [Sat, 23 Apr 2011 17:17:43 +0000 (13:17 -0400)]
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.
Kristian Høgsberg [Sat, 23 Apr 2011 17:04:11 +0000 (13:04 -0400)]
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.