Go to file
Kristian Høgsberg 7dbf5e2ea7 compositor: Only process input once per frame
When we're repainting, there's no point in polling for input events.
We just read input events once before each repaint and send out events
as needed.  The input events come with an accurate timestamp, so this
doesn't affect the timing information and client should always look at
the event timestamps if they're trying to determine pointer motion
speed or double click speed.  If we go idle (stop repainting) we add the
input devices back into the primary main loop and wait for the next event.

This avoids waking up the compositor separately (one or more times per
frame) to handle input events.  We also avoid updating cursor position
and other compositor state after the client has rendered its new
frame, reducing lag between what the client renders and the pointer
position.
2012-03-05 19:50:15 -05:00
clients window: Only set opaque and input regions if they change 2012-03-05 00:04:57 -05:00
data compositor-wayland: Add window border 2012-02-07 11:02:59 -05:00
protocol Fix distcheck 2012-01-03 11:04:09 -05:00
shared Implement CONFIG_KEY_UNSIGNED_INTEGER 2012-01-27 15:34:27 -05:00
src compositor: Only process input once per frame 2012-03-05 19:50:15 -05:00
tests window: Track and report input and opaque regions 2012-02-23 17:30:54 -05:00
.gitignore Clean up .gitignore files 2010-11-11 20:11:27 -05:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac compositor-drm: Just pull in libbacklight source for now 2012-02-29 14:23:51 -05:00
Makefile.am Disable setuid install for distcheck 2012-02-09 09:20:44 -05:00
README Split into a demo repository that holds the demo compositor and clients 2011-02-14 22:13:33 -05:00
weston-desktop-shell.ini Update config files to reflect new terminal name, weston-terminal 2012-01-30 19:10:40 -05:00
weston-tablet-shell.ini Update config files to reflect new terminal name, weston-terminal 2012-01-30 19:10:40 -05:00

Wayland Demos

This repository contains a few demos application for the Wayland
project.  There's a sample compositor that can run on KMS, under X11
or under another Wayland compositor and there's a handful of simple
clients that demonstrate various aspects of Wayland: