Mir

lp:~vanvugt/mir/fix-1646700

Created by Daniel van Vugt on 2016-12-02 and last modified on 2016-12-02
Get this branch:
bzr branch lp:~vanvugt/mir/fix-1646700
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

3862. By Daniel van Vugt on 2016-12-02

Don't leak touch events to clients once we've recognised a window
manipulation gesture is in progress (3 or 4 fingers) (LP: #1646700)

3861. By Daniel van Vugt on 2016-12-02

Tidy up and clarify buffer swapping method names, into a form that
people will understand:
  next_buffer -> swap_buffers [async]
  request_and_wait_for_next_buffer -> swap_buffers_sync

.

Approved by mir-ci-bot, Kevin DuBois.

3860. By Daniel van Vugt on 2016-12-02

mirout: Tidy up the EDID output and hide it by default behind
the -v (verbose) flag.
.

Approved by Cemil Azizoglu, mir-ci-bot.

3859. By Chris Halse Rogers on 2016-12-01

Add mir_output_get_edid_size().

It's cheap to provide, can help clients avoid crashing if we give them a malformed EDID,
and lets mirout dump the whole EDID without needing to parse it.

Approved by mir-ci-bot, Cemil Azizoglu, Daniel van Vugt.

3858. By Kevin DuBois on 2016-12-01

client: deprecate mir_cursor_configuration_from_name and prepare to deprecate mir_surface_configure_cursor, mir_cursor_configuration_destroy, and mir_cursor_configuration_from_buffer_stream once MirRenderSurface is published. The new alternative is to use MirSurfaceSpec based cursor configurations.

The new functions are mir_surface_spec_set_cursor_name and mir_surface_spec_set_cursor_render_surface which set the cursor from the canonical names, or sets a custom cursor via a MirRenderSurface.

This also makes application of cursors something the shell can mediate, like the rest of the surface modifications. (previously it was unable to mediate this).

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

3857. By Cemil Azizoglu on 2016-12-01

Separate out render surface unit tests into their own file. General cleanups. No functional changes.

Approved by Daniel van Vugt, mir-ci-bot, Alan Griffiths.

3856. By Daniel van Vugt on 2016-12-01

Simplify client buffer stream types and eliminate lots of casts.

Approved by mir-ci-bot, Alan Griffiths, Kevin DuBois.

3855. By Chris Halse Rogers on 2016-11-30

Add an EDID accessor to client and server display configuration.

This will likely want to be augmented with some structured data extracted
from the EDID, so that clients and servers don't have to include an EDID
parser to get output display name, unique IDs, and so on, and we can
provide some sensible values in cases where the output doesn't have an
EDID.

There are potentially interesting things in the EDID that we don't need
to provide a separate facility for, so providing the EDID is still useful
even once we have structured data available for those users that want it.

Approved by Alan Griffiths, Daniel van Vugt, mir-ci-bot.

3854. By Kevin DuBois on 2016-11-30

client: change the yet-to-be published mir_buffer api from mir_buffer_get_graphics_region to mir_buffer_mmap/mir_buffer_munmap. This clarifies what's going on with the buffer (mmap/munmap should be a familiar concept), as well as gives a way to synchronize the memory region for cpu/gpu access without contacting the server (see FIXME in lp:~kdub/mir/egl-mirbuffer-import where I want to upload a cpu-written MirBuffer for GLES texture use).
This also had a parameter that indicates memory layout, some info missing from the current api.

I decided not to make this an extension, as all platforms should be able to write to a buffer via cpu.

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

3853. By Chris Halse Rogers on 2016-11-30

Add NoTLSFuture<T>::detach(), similar to std::thread::detach().

With the ability to stick a continuation on the end of a future it's often
useful to allow the continuation to finish at any future time and not require
the code to maintain a reference to the future in order to prevent blocking.

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

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