Merge lp:~vanvugt/mir/resize-examples into lp:mir
Proposed by
Daniel van Vugt
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Daniel van Vugt | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 1232 | ||||
Proposed branch: | lp:~vanvugt/mir/resize-examples | ||||
Merge into: | lp:mir | ||||
Prerequisite: | lp:~vanvugt/mir/resize-client-buffers | ||||
Diff against target: |
290 lines (+127/-20) 4 files modified
examples/demo-shell/window_manager.cpp (+102/-14) examples/demo-shell/window_manager.h (+6/-2) examples/eglapp.c (+10/-0) examples/progressbar.c (+9/-4) |
||||
To merge this branch: | bzr merge lp:~vanvugt/mir/resize-examples | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Kevin DuBois (community) | testing | Approve | |
Alan Griffiths | Approve | ||
Review via email: mp+194833@code.launchpad.net |
Commit message
Add resizing support to example code; demo-shell and clients.
Description of the change
Touch: 3-fingers to pinch/zoom/drag
Desktop: Alt+LeftButton to move, Alt+MiddleButton to resize.
It's slightly kludgy but a good starting point for manual testing.
Please note; this is not resizing complete. What's missing is:
1. Mesa EGL surface resize support (a proof of concept patch is attached to the bug).
2. Resize events (this is why some clients seem laggy in resizing, because they're still only polling and sleeping).
To post a comment you must log in.
I assume the broken display I see when attempting resizing is due the the Mesa issue mentioned?
Otherwise, the code looks sane.