Merge lp://qastaging/~albaguirre/mir/add-screencast-size-and-region-support into lp://qastaging/mir
Proposed by
Alberto Aguirre
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Alexandros Frantzis | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 1465 | ||||
Proposed branch: | lp://qastaging/~albaguirre/mir/add-screencast-size-and-region-support | ||||
Merge into: | lp://qastaging/mir | ||||
Diff against target: |
1211 lines (+335/-247) 19 files modified
include/server/mir/frontend/screencast.h (+3/-1) include/shared/mir_toolkit/client_types.h (+23/-3) include/test/mir_test_doubles/mock_screencast.h (+4/-2) include/test/mir_test_doubles/null_screencast.h (+3/-1) src/client/CMakeLists.txt (+1/-0) src/client/mir_screencast.cpp (+20/-23) src/client/mir_screencast.h (+4/-2) src/client/mir_screencast_api.cpp (+9/-19) src/server/compositor/compositing_screencast.cpp (+14/-37) src/server/compositor/compositing_screencast.h (+6/-4) src/server/compositor/screencast_display_buffer.cpp (+3/-2) src/server/frontend/session_mediator.cpp (+9/-4) src/shared/protobuf/mir_protobuf.proto (+9/-1) src/utils/screencast.cpp (+14/-12) tests/acceptance-tests/test_client_screencast.cpp (+72/-39) tests/integration-tests/client/test_screencast.cpp (+5/-1) tests/unit-tests/client/test_mir_screencast.cpp (+91/-79) tests/unit-tests/compositor/test_compositing_screencast.cpp (+28/-17) tests/unit-tests/compositor/test_screencast_display_buffer.cpp (+17/-0) |
||||
To merge this branch: | bzr merge lp://qastaging/~albaguirre/mir/add-screencast-size-and-region-support | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alan Griffiths | Approve | ||
Daniel van Vugt | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Alexandros Frantzis (community) | Approve | ||
Review via email:
|
Commit message
Add wiring to support screencasting a region of the screen and capturing at
a user supplied size.
This is useful to capture at a lower resolution to improve screencasting
performance or to capture only a region of interest.
Description of the change
A different MP will add options to the mirscreencast utility so users can take advantage of this functionality.
To post a comment you must log in.
What you call "MirScreenRegion" is always a rectangle. Often "Region" refers to a more free-form region than that. So I suggest renaming "MirScreenRegion" to "MirRectangle".