Mir

Comment 0 for bug 1240909

Revision history for this message
Daniel van Vugt (vanvugt) wrote : [feature] Restore support for dynamic switching to double-buffering

We really should restore support for double-buffering where possible. Presently we're on triple-buffering all the time.

After saucy of course, because it could cause unknown regressions.

The relevant code is:
switching_bundle.cpp:
#if 0 // FIXME: This memory optimization breaks timing tests
            (nbuffers > 2 && !overlapping_compositors) ? nbuffers - 1 : 1;
#else
            1;
#endif

test_switching_bundle.cpp:
// FIXME (enabling this optimization breaks timing tests)
TEST_F(SwitchingBundleTest, DISABLED_synchronous_clients_only_get_two_real_buffers)