Mir

lp:~vanvugt/mir/fix-1614983

Created by Daniel van Vugt on 2016-08-22 and last modified on 2016-08-24
Get this branch:
bzr branch lp:~vanvugt/mir/fix-1614983
Only Daniel van Vugt can upload to this branch. If you are Daniel van Vugt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Daniel van Vugt
Project:
Mir
Status:
Merged

Recent revisions

3666. By Daniel van Vugt on 2016-08-24

Merge latest trunk

3665. By Daniel van Vugt on 2016-08-23

Retry

3664. By Daniel van Vugt on 2016-08-23

And another

3663. By Daniel van Vugt on 2016-08-23

And fix use of aliases from headers, now removed

3662. By Daniel van Vugt on 2016-08-23

And remove more

3661. By Daniel van Vugt on 2016-08-22

First attempt

3660. By Kevin DuBois on 2016-08-19

platforms: remove ifdefs around mg::NativeBuffer to make it simply a forward-declared class for server code. Platforms can define what mg::NativeBuffer is to whatever works best. (eg, Android defines it to be an interface that makes it easy to convert to different android types and manage the buffer fences).

Android defines it to be an interface that makes it easy to convert to different android types and manage the buffer fences.

Mesa was hacking around the POD type it was using with GBMNativeBuffer to get the gbm_bo*. GBMNativeBuffer is just mg::NativeBuffer for that platform now.

Eglstream could use ShmFile as its native type (although I didn't make that change in this MP)

Nested will want a mg::NativeBuffer that gives access to its underlying MirBuffer*.

Approved by mir-ci-bot, Chris Halse Rogers, Alexandros Frantzis.

3659. By Chris Halse Rogers on 2016-08-19

mir_acceptance_tests: Check that we don't double-close file descriptors, then fix the places we do.

This adds a close() shim to mir_acceptance_tests, which calls the real close() and then aborts if the close() call failed with EBADF, indicating that we've passed in an already closed (or simply nonsensical) file descriptor.

Then fix the double-closes this exposes.

Approved by mir-ci-bot, Cemil Azizoglu, Alan Griffiths.

3658. By Daniel van Vugt on 2016-08-19

Document early release operation (in case it is enabled) more accurately. Fixes: https://bugs.launchpad.net/bugs/1395421.

Approved by Cemil Azizoglu, mir-ci-bot.

3657. By Daniel van Vugt on 2016-08-18

Tidy up the cow. If it's going to hang around it may as well be less
shabby.
.

Approved by Cemil Azizoglu, Alan Griffiths, mir-ci-bot.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:mir
This branch contains Public information 
Everyone can see this information.

Subscribers