lp:~andreas-pokorny/mir/use-input-channel-to-send-input
- Get this branch:
- bzr branch lp:~andreas-pokorny/mir/use-input-channel-to-send-input
Branch merges
- Daniel d'Andrada (community): Needs Fixing
- Robert Carr (community): Needs Fixing
- Alan Griffiths: Needs Fixing
- PS Jenkins bot (community): Approve (continuous-integration)
- Kevin DuBois (community): Needs Information
-
Diff: 378 lines (+181/-18)9 files modifiedinclude/server/mir/input/input_channel.h (+4/-1)
include/test/mir_test_doubles/stub_input_channel.h (+3/-0)
src/server/input/android/android_input_channel.cpp (+100/-2)
src/server/input/android/android_input_channel.h (+10/-3)
src/server/input/android/android_input_window_handle.cpp (+11/-3)
tests/acceptance-tests/test_client_input.cpp (+39/-1)
tests/mir_test_framework/stubbed_server_configuration.cpp (+12/-8)
tests/unit-tests/input/android/test_android_input_window_handle.cpp (+1/-0)
tests/unit-tests/scene/test_surface.cpp (+1/-0)
Branch information
Recent revisions
- 1544. By MichaĆ Sawicz
-
Use standard CMAKE_CROSSCOMP
ILING instead of custom MIR_IS_ CROSS_COMPILING CMake variable. Approved by Kevin DuBois, Daniel van Vugt, PS Jenkins bot, Alberto Aguirre.
- 1543. By Alan Griffiths
-
scene, shell: sessions are part of the scene, so they should be in namespace scene.
Approved by Kevin DuBois, PS Jenkins bot, Alexandros Frantzis, Alberto Aguirre.
- 1542. By Kevin DuBois
-
Address some long term problems with SurfaceStack's synchronization...
1) SurfaceStack was a BasicLockable, requiring a recursive_mutex. 'locking' the surface stack would just lock the ordering, it wouldn't lock the surfaces contained by the surface stack. Eliminate lock()/unlock() from the mc::Scene interface
2) The decisions the compositor made were based on data that was potentially stale when it came time to apply the decision. That is, every time the DefaultDisplayBuffer compositor went to access something from the BasicSurface, it could get a different value back, and had no way to lock the values (eg position) until the render was complete A few ideas were examined:
A) locking the surface ordering and the surfaces
This has the disadvantage that we essentially have one big lock around the central data structure of mir
B) locking the scene, and copying the surfaces
This has the disadvantage that the buffer acquisition (compositor_acquire) has to take place sooner in the render, leaving the client less time to sneak its buffers in to make the next frame posting
C) locking the scene, copying the surfaces, and lazy-copying the buffers.
This is the approach proposed, as it freezes the positioning info for the surfaces at generate_renderables_ list() time, but allows the clients to sneak in 'last minute buffers' and make an earlier frame if they return their buffer between "generate_ renderable_ list() and when the GLRenderer needs the buffer for texture reasons. The positioning info is just locked during the copy, so the rest of the system can proceed with what it has do (servicing move requests, rearranging the surfaces, etc) while the compositor is drawing. Approved by PS Jenkins bot, Alexandros Frantzis, Alan Griffiths, Alberto Aguirre.
- 1541. By Alberto Aguirre
-
Add capture rate limiting to mirscreencast (LP: #1294361, LP: #1280938). Fixes: https:/
/bugs.launchpad .net/bugs/ 1280938, https:/ /bugs.launchpad .net/bugs/ 1294361. Approved by PS Jenkins bot, Alan Griffiths, Alexandros Frantzis, Kevin DuBois.
- 1540. By Alan Griffiths
-
tests: Provide an integration test that focusing on a session raises its default surface. Fixes: https:/
/bugs.launchpad .net/bugs/ 1302689. Approved by Daniel van Vugt, PS Jenkins bot, Alexandros Frantzis, Chris Halse Rogers.
- 1539. By Daniel van Vugt
-
Fix improperly (non)overloaded mock function (LP: #1301135). Fixes: https:/
/bugs.launchpad .net/bugs/ 1301135. Approved by PS Jenkins bot, Kevin DuBois, Alexandros Frantzis.
- 1538. By Kevin DuBois
-
scene: remove now-unused for_each_if method.
Approved by Alan Griffiths, Alexandros Frantzis, PS Jenkins bot, Alberto Aguirre.
- 1537. By Alberto Aguirre
-
make current before deleting gl resources in GLPixelBuffer (LP: #1256360). Fixes: https:/
/bugs.launchpad .net/bugs/ 1256360. Approved by Alexandros Frantzis, PS Jenkins bot, Kevin DuBois.
- 1536. By Kevin DuBois
-
Remove the RenderingOperator and VisibilityFilter classes in favor of rendering on the generated list of renderables from the scene.
Approved by Alan Griffiths, Alexandros Frantzis, PS Jenkins bot, Alberto Aguirre.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:mir/0.1