Merge lp:~albaguirre/qtmir/hook-done-current into lp:qtmir
Status: | Merged |
---|---|
Approved by: | Gerry Boland |
Approved revision: | 439 |
Merged at revision: | 460 |
Proposed branch: | lp:~albaguirre/qtmir/hook-done-current |
Merge into: | lp:qtmir |
Diff against target: |
54 lines (+9/-2) 2 files modified
src/platforms/mirserver/miropenglcontext.cpp (+7/-2) src/platforms/mirserver/miropenglcontext.h (+2/-0) |
To merge this branch: | bzr merge lp:~albaguirre/qtmir/hook-done-current |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gerry Boland (community) | Approve | ||
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Unity8 CI Bot (community) | continuous-integration | Needs Fixing | |
Review via email: mp+285248@code.launchpad.net |
Commit message
Hook MirOpenGLContex
Actually unbind the opengl/egl context when requested.
Description of the change
When the display configuration changes, the Qt compositor is stopped and ScreenWindows:
After restarting the compositor, new rendering threads are created and eventually MirOpenGLContex
Since doneCurrent does not unbind the context from the previous rendering thread, some drivers (for example mx4) will return EGL_BAD_ACCESS (with good reason, since the context is bound to another thread).
Hook MirOpenGLContex
FAILED: Continuous integration, rev:439 /unity8- jenkins. ubuntu. com/job/ lp-qtmir- 1-ci/65/ /unity8- jenkins. ubuntu. com/job/ build/408/ console /unity8- jenkins. ubuntu. com/job/ build-0- fetch/431 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 449 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial/ 449 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 445/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial/ 445/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 445/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial/ 445/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 445/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial/ 445/console
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-qtmir- 1-ci/65/ rebuild
https:/