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)
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: bundle. cpp:
(nbuffers > 2 && !overlapping_ compositors) ? nbuffers - 1 : 1;
switching_
#if 0 // FIXME: This memory optimization breaks timing tests
#else
1;
#endif
test_switching_ bundle. cpp: SwitchingBundle Test, DISABLED_ synchronous_ clients_ only_get_ two_real_ buffers)
// FIXME (enabling this optimization breaks timing tests)
TEST_F(