~vanvugt/mir/vbox

Viewing all changes in revision 3797.

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2016-11-01 16:49:08 UTC
  • mfrom: (3789.3.9 sizing-clarifications)
  • Revision ID: tarmac-20161101164908-7i53del1c0bpa2wd
api: add the ability to set and get the the physical size of MirBufferStream. Also add a distinction between the physical and logical size to the staged api, mir_surface_spec_add_buffer_stream. 

Previously, the physical and logical sizes were fixed (at steady state, they were the same. around resize events, the physical size would vary before reaching steady-state, and cause headaches). This cleans things up as per the friday discussion.

Note: mir_surface_spec_add_buffer_stream and mir_surface_spec_add_presentation_chain are currently gated, and will be removed in favor of mir_surface_spec_add_render_surface when RS work is published. mir_surface_spec_set_buffer_streams will be deprecated and removed.

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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: