aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-11-28 17:06:06 -0500
committerKristian Høgsberg <krh@redhat.com>2008-11-28 17:06:10 -0500
commitfbdbbdc153bf7f6ed22f1b9cb0be73b66e87a3e7 (patch)
tree8911231df0f5a2620aa97595efdecb7deb264fa2 /Makefile
parentMake ack event signal that the requests have been composited. (diff)
downloadwayland-fbdbbdc153bf7f6ed22f1b9cb0be73b66e87a3e7.tar
wayland-fbdbbdc153bf7f6ed22f1b9cb0be73b66e87a3e7.tar.gz
wayland-fbdbbdc153bf7f6ed22f1b9cb0be73b66e87a3e7.tar.bz2
wayland-fbdbbdc153bf7f6ed22f1b9cb0be73b66e87a3e7.tar.lz
wayland-fbdbbdc153bf7f6ed22f1b9cb0be73b66e87a3e7.tar.xz
wayland-fbdbbdc153bf7f6ed22f1b9cb0be73b66e87a3e7.tar.zst
wayland-fbdbbdc153bf7f6ed22f1b9cb0be73b66e87a3e7.zip
Finally implement the commit/ack/frame protocol and improve repaint loop.
This implements the commit/ack/frame protocol that let clients batch up a series of requests and then commit them atomically using the commit request. The commit requests generats two following events: the acknowledge event, which lets the client know that the server has received the request and which frame the rendering has been scheduled for. At this point the client can start rendering the next frame or free up temporary buffers. Then when the compositor finally makes the newly composited frame visible on screen the server sends a frame event, which contains the number of the frame that was presented and the time when it happened. The window and flower clients have been updated to use these two events in their main loops and everything now updates per frame. The EGL compositor repaint loop has been tweaked to delay the compositing of the screen to 10ms after last swapbuffer completed so as to allow processing as many requests as possible before blocking on the next vertical retrace.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 22b1930..8905dbe 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ $(compositors) $(clients) : CFLAGS += $(shell pkg-config --cflags libdrm)
egl_compositor_objs = egl-compositor.o evdev.o cairo-util.o
egl-compositor.so : CFLAGS += $(EAGLE_CFLAGS) $(shell pkg-config --cflags libpng cairo gdk-pixbuf-2.0)
-egl-compositor.so : LDLIBS += $(EAGLE_LDLIBS) $(shell pkg-config --libs libpng cairo gdk-pixbuf-2.0) -rdynamic
+egl-compositor.so : LDLIBS += $(EAGLE_LDLIBS) $(shell pkg-config --libs libpng cairo gdk-pixbuf-2.0) -rdynamic -lrt
egl-compositor.so : $(egl_compositor_objs)