Merge lp:~kdub/mir/refix-1517205 into lp:mir
| Status: | Merged |
|---|---|
| Approved by: | Daniel van Vugt on 2016-02-09 |
| Approved revision: | 3284 |
| Merged at revision: | 3297 |
| Proposed branch: | lp:~kdub/mir/refix-1517205 |
| Merge into: | lp:mir |
| Diff against target: |
2060 lines (+730/-149) 71 files modified
include/renderers/gl/mir/renderer/gl/texture_source.h (+10/-0) src/gl/recently_used_cache.cpp (+8/-7) src/include/platform/mir/graphics/egl_extensions.h (+0/-8) src/platform/graphics/CMakeLists.txt (+0/-1) src/platform/graphics/egl_extensions.cpp (+0/-12) src/platforms/android/client/CMakeLists.txt (+1/-0) src/platforms/android/client/gralloc_registrar.cpp (+4/-2) src/platforms/android/common/CMakeLists.txt (+2/-0) src/platforms/android/common/android_native_buffer.cpp (+18/-4) src/platforms/android/common/egl_sync_extensions.cpp (+35/-0) src/platforms/android/common/egl_sync_fence.cpp (+1/-1) src/platforms/android/include/android/native_window.h (+21/-0) src/platforms/android/include/android_native_buffer.h (+6/-0) src/platforms/android/include/command_stream_sync.h (+51/-0) src/platforms/android/include/egl_sync_extensions.h (+48/-0) src/platforms/android/include/egl_sync_fence.h (+2/-21) src/platforms/android/include/native_buffer.h (+3/-0) src/platforms/android/server/CMakeLists.txt (+1/-0) src/platforms/android/server/android_alloc_adaptor.cpp (+12/-5) src/platforms/android/server/android_alloc_adaptor.h (+6/-2) src/platforms/android/server/android_buffer_allocator.cpp (+10/-4) src/platforms/android/server/android_graphic_buffer_allocator.h (+5/-1) src/platforms/android/server/buffer.cpp (+23/-4) src/platforms/android/server/buffer.h (+6/-0) src/platforms/android/server/cmdstream_sync_factory.h (+48/-0) src/platforms/android/server/device_quirks.cpp (+6/-0) src/platforms/android/server/device_quirks.h (+1/-0) src/platforms/android/server/display_buffer.cpp (+3/-0) src/platforms/android/server/display_component_factory.h (+2/-0) src/platforms/android/server/display_device.h (+2/-0) src/platforms/android/server/egl_sync_factory.cpp (+35/-0) src/platforms/android/server/fb_device.cpp (+5/-2) src/platforms/android/server/fb_device.h (+1/-0) src/platforms/android/server/hal_component_factory.cpp (+20/-1) src/platforms/android/server/hal_component_factory.h (+4/-1) src/platforms/android/server/hwc_device.cpp (+11/-6) src/platforms/android/server/hwc_device.h (+1/-0) src/platforms/android/server/hwc_fb_device.cpp (+5/-0) src/platforms/android/server/hwc_fb_device.h (+1/-0) src/platforms/android/server/ipc_operations.cpp (+1/-0) src/platforms/android/server/platform.cpp (+10/-4) src/platforms/android/server/platform.h (+3/-0) src/platforms/mesa/server/common/gbm_buffer.cpp (+9/-0) src/platforms/mesa/server/common/gbm_buffer.h (+2/-0) src/platforms/mesa/server/common/shm_buffer.cpp (+9/-0) src/platforms/mesa/server/common/shm_buffer.h (+2/-0) tests/include/mir/test/doubles/mock_android_native_buffer.h (+2/-0) tests/include/mir/test/doubles/mock_buffer.h (+1/-0) tests/include/mir/test/doubles/mock_display_device.h (+3/-0) tests/include/mir/test/doubles/mock_gl_buffer.h (+2/-0) tests/include/mir/test/doubles/stub_android_native_buffer.h (+3/-0) tests/include/mir/test/doubles/stub_cmdstream_sync_factory.h (+41/-0) tests/include/mir/test/doubles/stub_display_builder.h (+5/-0) tests/include/mir/test/doubles/stub_gl_buffer.h (+2/-0) tests/integration-tests/graphics/mesa/test_buffer_integration.cpp (+3/-0) tests/unit-tests/gl/test_gl_texture_cache.cpp (+3/-1) tests/unit-tests/gl/test_program_factory.cpp (+1/-1) tests/unit-tests/graphics/android/CMakeLists.txt (+1/-0) tests/unit-tests/graphics/android/test_android_alloc_adaptor.cpp (+6/-3) tests/unit-tests/graphics/android/test_android_buffer_allocator.cpp (+6/-2) tests/unit-tests/graphics/android/test_buffer_tex_bind.cpp (+13/-1) tests/unit-tests/graphics/android/test_display_buffer.cpp (+15/-0) tests/unit-tests/graphics/android/test_display_hotplug.cpp (+5/-0) tests/unit-tests/graphics/android/test_egl_sync_extensions.cpp (+75/-0) tests/unit-tests/graphics/android/test_fb_device.cpp (+8/-0) tests/unit-tests/graphics/android/test_hwc_device.cpp (+9/-8) tests/unit-tests/graphics/android/test_hwc_fb_device.cpp (+6/-0) tests/unit-tests/graphics/android/test_native_buffer.cpp (+50/-7) tests/unit-tests/graphics/android/test_platform.cpp (+15/-4) tests/unit-tests/graphics/test_egl_extensions.cpp (+0/-35) tests/unit-tests/graphics/test_egl_sync_fence.cpp (+1/-1) |
| To merge this branch: | bzr merge lp:~kdub/mir/refix-1517205 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2016-02-08 | |
| Alexandros Frantzis (community) | 2016-01-25 | Approve on 2016-02-08 | |
| Mir CI Bot | continuous-integration | Approve on 2016-02-08 | |
| Alan Griffiths | Approve on 2016-02-08 | ||
|
Review via email:
|
|||
Commit Message
repropose already landed branch introducing sync fences
(https:/
while avoiding the mx4/powervr regression that caused its reversion.
fixes: LP: #1517205
Description of the Change
repropose already landed branch introducing sync fences
(https:/
while avoiding the mx4/powervr regression that caused its reversion.
fixes: LP: #1517205
Tested against regression with MX4 with full unity stack.
The fixme in line 532 has a trello card to track: https:/
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3273
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 3274. By Kevin DuBois on 2016-01-26
-
add a missing stub file
| Mir CI Bot (mir-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:3274
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3274
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 3275. By Kevin DuBois on 2016-01-26
-
merge in mir
- 3276. By Kevin DuBois on 2016-01-26
-
fix up a problem when building on android platform on mesa
| Mir CI Bot (mir-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:3276
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:3276
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 3277. By Kevin DuBois on 2016-01-27
-
merge in mir
| Kevin DuBois (kdub) wrote : | # |
failure was intermittent, nonrelated lp: #1537798
| Mir CI Bot (mir-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:3277
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| Alexandros Frantzis (afrantzis) wrote : | # |
=> class TextureSource
The changes break TextureSource ABI, which is used by QtMir and others. We haven't really thought through all the details about how we handle such a case, but I guess we should at least ensure the ABI numbers of the platforms supporting GL (i.e. everything at the moment) are bumped.
+ mirplatform
mirplatform was used up to now for the server side of Mir. Do we want to use the same library for the client?
Looks discussion/fixing
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3277
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:3277
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Alan Griffiths (alan-griffiths) wrote : | # |
> + mirplatform
>
> mirplatform was used up to now for the server side of Mir. Do we want to use
> the same library for the client?
>
> Looks discussion/fixing
IMO "mirplatform" is the wrong place for anything mirclient uses. Maybe the name is misleading, but it was intended to provide the types needed to specify the mirserver requirements on a platform module.
Types needed by both server and client should be in mircommon. (I am aware there are some currently in mirclient - because of some coupling in the implementation that no-one has spent time unpicking.)
[aside] With our thoughts about removing reliance on EGL, perhaps we need a new miregl library that client and server "platform" modules could use?
- 3278. By Kevin DuBois on 2016-01-28
-
merge in mir
- 3279. By Kevin DuBois on 2016-01-28
-
internalize the egl sync extensions because the android platform is the only one using them
- 3280. By Kevin DuBois on 2016-01-28
-
bump the server ABI for 0.20
| Kevin DuBois (kdub) wrote : | # |
I'm wasn't too flummoxed by mirplatform being used by the client, but OTOH, may as well not link to it if we can help it.
I sidestepped the problem by pulling the new code from mirplatform to src/platforms/
I also bumped server ABI for the 0.20 series, as we have indeed broken the server abi (but not api) for those using mg::Buffer's
| Mir CI Bot (mir-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:3280
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3280
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3280
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3280
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 3281. By Kevin DuBois on 2016-01-29
-
correct build problems. might be a temporary fix
| Mir CI Bot (mir-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:3281
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3281
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 3282. By Kevin DuBois on 2016-02-02
-
merge in miri
- 3283. By Kevin DuBois on 2016-02-02
-
fix up build error. local build must have had unit tests off
| Mir CI Bot (mir-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:3283
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:3283
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Alan Griffiths (alan-griffiths) wrote : | # |
I'm not sure what's going on with the move of mir::graphics::Foo headers to src/platforms/
Are these types specific to android platforms? If so, do they belong in namespace mir::graphics?
| Kevin DuBois (kdub) wrote : | # |
They are only used by the android platform at the moment (so that mirplatform remains server-side only), but they are not android-specific, so graphics seems appropriate.
| Alan Griffiths (alan-griffiths) wrote : | # |
*Note to reviewers:* the lp diff is wrong (stale?)
Otherwise seems OK
| Alexandros Frantzis (afrantzis) wrote : | # |
We also need to update the ABI of all our platforms (since they support TextureSource).
| Mir CI Bot (mir-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:3285
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:3285
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Kevin DuBois (kdub) wrote : | # |
^failure downloading packages from overlay... retriggering.
- 3284. By Kevin DuBois on 2016-02-08
-
merge in mir
| Alexandros Frantzis (afrantzis) wrote : | # |
> We also need to update the ABI of all our platforms (since they support TextureSource).
Turns out MIR_SERVER_
I don't think we need to bump libmirplatform ABI.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:3285
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Daniel van Vugt (vanvugt) wrote : | # |
I'm excited to see this bug fixed. Haven't got to reviewing it myself but I'll top approve and see what happens.

FAILED: Continuous integration, rev:3273 /mir-jenkins. ubuntu. com/job/ mir-ci/ 161/ /mir-jenkins. ubuntu. com/job/ generic- update- mp/160/ console
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild: /mir-jenkins. ubuntu. com/job/ mir-ci/ 161/rebuild
https:/