lp:~cemil-azizoglu/mir/mir-render-surface
- Get this branch:
- bzr branch lp:~cemil-azizoglu/mir/mir-render-surface
Branch merges
- Mir development team: Pending requested
-
Diff: 1709 lines (+1267/-6)27 files modifiedCMakeLists.txt (+8/-0)
playground/CMakeLists.txt (+19/-0)
playground/eglflash_render_surface.c (+152/-0)
playground/render_surface.cpp (+253/-0)
src/client/CMakeLists.txt (+2/-0)
src/client/buffer_stream.cpp (+9/-0)
src/client/buffer_stream.h (+4/-0)
src/client/client_buffer_stream.h (+2/-0)
src/client/connection_surface_map.h (+6/-1)
src/client/error_stream.cpp (+16/-0)
src/client/error_stream.h (+8/-0)
src/client/mir_buffer_stream_api.cpp (+6/-1)
src/client/mir_connection.cpp (+29/-2)
src/client/mir_connection.h (+2/-0)
src/client/mir_render_surface.h (+58/-0)
src/client/mir_render_surface_api.cpp (+140/-0)
src/client/mir_surface.cpp (+2/-0)
src/client/mir_surface.h (+3/-1)
src/client/mir_surface_api.cpp (+40/-1)
src/client/render_surface.cpp (+278/-0)
src/client/render_surface.h (+128/-0)
src/client/screencast_stream.cpp (+5/-0)
src/client/screencast_stream.h (+1/-0)
src/client/surface_map.cpp (+14/-0)
src/client/symbols.map (+8/-0)
src/include/client/mir_toolkit/client_types_nbs.h (+1/-0)
src/include/client/mir_toolkit/mir_render_surface.h (+73/-0)
Branch information
Recent revisions
- 3646. By Chris Halse Rogers
-
Provide subpixel arrangement info from the mesa-kms platform. Fixes: https:/
/bugs.launchpad .net/bugs/ 1393578. Approved by mir-ci-bot, Kevin DuBois, Cemil Azizoglu.
- 3645. By Andreas Pokorny
-
Use the pixel format of the individual buffer stream to infer shaped()
It is a valid scenario to have an opaque buffer (or buffer stream) for the first layer in a surface and have further transparent or also opaque layers on top. This change removes the constant "non_rectangular" parameter of BasicSurface, and instead looks at the actual streams that are attached to surface.
With mir_presentatio
n_queue it might be worth thinking about going one step further and actually look at the mg::Buffer that would be drawn next. An attempt to do so showed that it would require a few further refactoring steps in our integration test setup.
.Approved by Kevin DuBois, mir-ci-bot, Alexandros Frantzis.
- 3644. By Kevin DuBois
-
Have the MirSurface report the shell-designated size like it used to, instead of the spec-requested size.
fixes: LP: #1612256. Fixes: https:/
/bugs.launchpad .net/bugs/ 1612256. Approved by mir-ci-bot, Alan Griffiths.
- 3643. By Chris Halse Rogers
-
Improvements to mtd::FakeDisplay.
Throw an exception when writing to/reading from the configuration change event trigger fails rather than silently continuing, blithely unaware that the call has failed.
Switch from a pipe to an eventfd; eventfd is the solution tailored for this use-case.
Presented in the forlorn hope that it makes a test that appears to be flaky on vivid+clang, but does not appear that it's possible for it to be flaky, stops being flaky. Either by consistently passing, or consistently failing!.
Approved by Alexandros Frantzis, Kevin DuBois, mir-ci-bot.
- 3642. By Chris Halse Rogers
-
Add subpixel arrangement info to the display configuration API.
Current platforms only provide mir_subpixel_
arrangement_ unknown, and need to add support for setting this to platform-provided values before this will be useful. Fixes (part one): https:/
/bugs.launchpad .net/mir/ +bug/1393578. Fixes: https:/ /bugs.launchpad .net/bugs/ 1393578. Approved by mir-ci-bot, Cemil Azizoglu, Daniel van Vugt, Kevin DuBois.
- 3641. By Alexandros Frantzis
-
Fix clang build on yakkety. Fixes: https:/
/bugs.launchpad .net/bugs/ 1609612. Approved by mir-ci-bot, Chris Halse Rogers, Daniel van Vugt, Alan Griffiths, Cemil Azizoglu.
- 3640. By Kevin DuBois
-
Increase timeout for MultiThreadedCo
mpositor. cleans_ up_after_ throw_in_ start test,
which can fail when CI is very slowfixes: LP: #1595940. Fixes: https:/
/bugs.launchpad .net/bugs/ 1595940. Approved by mir-ci-bot, Alan Griffiths, Cemil Azizoglu.
- 3639. By Andreas Pokorny
-
Fix server hang ups and allocation failures when client recreate buffer streams
When a mir client destroys a buffer stream the destruction result callback will trigger a buffer release of the associated buffers. That buffer release request inevitable fails in session mediator because it fails to resolve the BufferStreamId. This change handles exceptions during the attempt to disassociate buffers from already deleted buffer streams to ensure that the actual buffer release can happen.
This error is not really a leak - the buffers were deleted when the client disconnects and the server would be able to serve new clients.
Approved by Kevin DuBois, mir-ci-bot.
- 3638. By Daniel van Vugt
-
On those devices that have KMS but no hardware cursor support,
fall back automatically to the software cursor (LP: #1610054). Fixes: https://bugs.launchpad .net/bugs/ 1610054. Approved by Cemil Azizoglu, 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