Mir

Comment 6 for bug 1317370

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: New unit test "BufferQueueTest.compositor_never_owns_client_buffers" is very slow (10-25 seconds) on very fast machines

Alright, found the problem. In this particular test case, with the compositor thread running much faster (1000x) than the client thread, the list current_buffer_users was regularly growing to several thousand elements in size on every frame. This is obviously unnecessary and explains why lp:~vanvugt/mir/simplify-BufferQueue is in fact a /correct/ fix for the bug :)