weston/protocol
Neil Roberts 40c0c3f91e tests: Test whether a simple EGL main loop uses too many buffers
This adds a test that tries to simulate a simple game loop that would
be like this:

while (1) {
        draw_something();
        eglSwapBuffers();
}

In this case the test is relying on eglSwapBuffers to throttle to a
sensible frame rate.

The test then verifies that only 2 EGL buffers are used. This is done
via a new request and event in the wayland-test protocol.

Currently this causes 3 buffers to be created because the release
event generated by the swap buffers is not processed by Mesa until it
blocks for the frame complete event in the next swap buffers call, but
that is too late.

This can be fixed in Mesa by issuing a sync request after the swap
buffers and blocking on it before deciding whether to allocate a new
buffer.
2013-12-07 22:26:23 -08:00
..
desktop-shell.xml shell: wait for desktop-shell init before fade in 2013-05-22 18:07:30 -04:00
input-method.xml text: Rename input_method to wl_input_method 2013-05-02 17:18:46 -04:00
Makefile.am tablet-shell: Remove 2013-12-04 10:18:29 -08:00
screenshooter.xml screenshooter: Grab pixel data directly before buffer swap 2012-04-20 16:13:27 -04:00
text-cursor-position.xml Convert text cursor position protocol to use fixed types. 2012-06-04 11:07:50 -04:00
text.xml text: Improve protocol documentation. 2013-05-02 17:12:21 -04:00
wayland-test.xml tests: Test whether a simple EGL main loop uses too many buffers 2013-12-07 22:26:23 -08:00
workspaces.xml shell: Introduce workspace manager interface 2012-08-31 19:51:49 -04:00
xdg-shell.xml xdg_shell: Adding a new shell protocol. 2013-12-03 11:35:24 -08:00
xserver.xml compositor: Add a simple WM to the xserver launcher 2011-07-01 10:46:40 -04:00