Merge lp:~kdub/mir/eglimage-from-mirbuffer-android into lp:mir
| Status: | Merged |
|---|---|
| Approved by: | Kevin DuBois on 2016-09-26 |
| Approved revision: | 3711 |
| Merged at revision: | 3715 |
| Proposed branch: | lp:~kdub/mir/eglimage-from-mirbuffer-android |
| Merge into: | lp:mir |
| Prerequisite: | lp:~kdub/mir/nested-native-buffer |
| Diff against target: |
649 lines (+154/-98) 19 files modified
src/client/mir_buffer_api.cpp (+18/-0) src/client/symbols.map (+1/-0) src/include/client/mir/client_buffer.h (+4/-0) src/include/client/mir_toolkit/mir_buffer_private.h (+51/-0) src/platforms/android/client/buffer.cpp (+13/-0) src/platforms/android/client/buffer.h (+1/-0) src/platforms/eglstream-kms/client/client_buffer.cpp (+5/-0) src/platforms/eglstream-kms/client/client_buffer.h (+1/-0) src/platforms/mesa/client/client_buffer.cpp (+5/-0) src/platforms/mesa/client/client_buffer.h (+1/-0) src/server/graphics/nested/buffer.cpp (+22/-18) src/server/graphics/nested/buffer.h (+0/-3) src/server/graphics/nested/egl_image_factory.h (+0/-50) src/server/graphics/nested/native_buffer.h (+4/-0) tests/include/mir/test/doubles/mock_client_buffer.h (+1/-0) tests/include/mir/test/doubles/null_client_buffer.h (+1/-0) tests/include/mir/test/doubles/stub_client_buffer.h (+1/-0) tests/unit-tests/client/test_aging_buffer.cpp (+5/-0) tests/unit-tests/platforms/nested/test_buffer.cpp (+20/-27) |
| To merge this branch: | bzr merge lp:~kdub/mir/eglimage-from-mirbuffer-android |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Mir CI Bot | continuous-integration | Approve on 2016-09-26 | |
| Brandon Schaefer (community) | Approve on 2016-09-26 | ||
| Alexandros Frantzis (community) | 2016-09-15 | Approve on 2016-09-26 | |
|
Review via email:
|
|||
Commit Message
add a private helper that the nested server can use to glean the parameters to use for eglCreateImage() so that MirBuffers can be uploaded as textures.
We have the current hole in the MirBufferStream and MirBuffer interfaces that uploading a buffer as a texture is difficult and platform dependent. (see below for platform considerations).
We have the future hole in the define-
The nested server needs a way to upload a MirBuffer now for the nested-passthrough work. This MP provides the functionality now via this private helper function (so the nested platform doesn't have to know the android/
Platform considerations:
On android we should be using ANDROID_
Description of the Change
add a private helper that the nested server can use to glean the parameters to use for eglCreateImage() so that MirBuffers can be uploaded as textures.
We have the current hole in the MirBufferStream and MirBuffer interfaces that uploading a buffer as a texture is difficult and platform dependent. (see below for platform considerations).
We have the future hole in the define-
The nested server needs a way to upload a MirBuffer now for the nested-passthrough work. This MP provides the functionality now via this private helper function (so the nested platform doesn't have to know the android/
Platform considerations:
On android we should be using ANDROID_
| Mir CI Bot (mir-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:3709
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Mir CI Bot (mir-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:3710
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Mir CI Bot (mir-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:3711
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Mir CI Bot (mir-ci-bot) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
https:/
Executed test runs:
FAILURE: https:/
None: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
| Kevin DuBois (kdub) wrote : | # |
hmm, failure was:
https:/

FAILED: Continuous integration, rev:3709 /mir-jenkins. ubuntu. com/job/ mir-ci/ 1735/ /mir-jenkins. ubuntu. com/job/ build-mir/ 2172/console /mir-jenkins. ubuntu. com/job/ build-0- fetch/2235 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 2226 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial+ overlay/ 2226 /mir-jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= yakkety/ 2226 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= clang,platform= mesa,release= yakkety/ 2200/console /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial+ overlay/ 2200 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= xenial+ overlay/ 2200/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= yakkety/ 2200 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= amd64,compiler= gcc,platform= mesa,release= yakkety/ 2200/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 2200 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= android, release= vivid+overlay/ 2200/artifact/ output/ *zip*/output. zip /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= mesa,release= xenial+ overlay/ 2200 /mir-jenkins. ubuntu. com/job/ build-2- binpkg- mir/arch= i386,compiler= gcc,platform= mesa,release= xenial+ overlay/ 2200/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /mir-jenkins. ubuntu. com/job/ mir-ci/ 1735/rebuild
https:/