[enhancement] Allow clients to specify buffering mode for their surfaces
Bug #1444857 reported by
Alexandros Frantzis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
New
|
Medium
|
Unassigned | ||
mir (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
Allow clients to specify the buffering mode for their surfaces, so that they can optimize for latency or fluidity, depending on the expected rendering performance (e.g., if it's expected to occasionally miss vsyncs) of the application.
Related branches
lp://staging/~afrantzis/mir/client-surface-buffering-mode
On hold
for merging
into
lp://staging/mir
- Robert Carr (community): Approve
- Chris Halse Rogers: Needs Information
- PS Jenkins bot (community): Approve (continuous-integration)
- Kevin DuBois (community): Needs Information
- Daniel van Vugt: Needs Fixing
- Alan Griffiths: Approve
-
Diff: 499 lines (+233/-12)18 files modifiedinclude/client/mir_toolkit/mir_surface.h (+8/-0)
include/common/mir_toolkit/common.h (+7/-0)
include/server/mir/scene/surface_creation_parameters.h (+1/-0)
src/client/mir_surface.cpp (+2/-0)
src/client/mir_surface.h (+1/-0)
src/client/mir_surface_api.cpp (+6/-0)
src/client/symbols.map (+1/-0)
src/protobuf/mir_protobuf.proto (+4/-0)
src/server/frontend/session_mediator.cpp (+1/-0)
src/server/scene/surface_allocator.cpp (+10/-2)
src/server/scene/surface_creation_parameters.cpp (+1/-0)
tests/acceptance-tests/CMakeLists.txt (+1/-0)
tests/acceptance-tests/test_client_surface_buffering_mode.cpp (+133/-0)
tests/include/mir_test_doubles/null_display_sync_group.h (+19/-3)
tests/include/mir_test_doubles/stub_display.h (+13/-6)
tests/include/mir_test_framework/stub_server_platform_factory.h (+3/-0)
tests/mir_test_framework/stub_server_platform_factory.cpp (+13/-0)
tests/mir_test_framework/stubbed_graphics_platform.cpp (+9/-1)
tags: | added: enhancement |
Changed in mir: | |
milestone: | 0.13.0 → 0.14.0 |
Changed in mir: | |
milestone: | 0.14.0 → 0.15.0 |
Changed in mir: | |
milestone: | 0.15.0 → 0.16.0 |
Changed in mir: | |
milestone: | 0.16.0 → 0.17.0 |
Changed in mir: | |
milestone: | 0.17.0 → 0.18.0 |
Changed in mir: | |
milestone: | 0.18.0 → 0.19.0 |
Changed in mir: | |
milestone: | 0.19.0 → none |
To post a comment you must log in.
This will be provided by the new buffer semantics.