~alan-griffiths/mir/workaround-lp1602199

Viewing all changes in revision 3502.

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2016-05-10 09:25:45 UTC
  • mfrom: (3369.3.18 shift-api)
  • Revision ID: tarmac-20160510092545-13brrzpggzl77edc
nbs api: change mir_presentation_chain_allocate_buffer() to mir_connection_allocate_buffer(). As discussed a few weeks ago, allocating MirBuffers independently of MirPresentationChains makes more sense.

Buffers can change chains, and this opens up the possibility of mir_screencast_fill_buffer(MirScreencast*, MirBuffer*) for more flexible screencasting (useful in WiDi/encoding applications)

Also changes mir_buffer_callback to
typedef void (*mir_buffer_callback)(MirBuffer*, void* context);.

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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: