~kdub/mir/fix-1615703

Viewing all changes in revision 3655.

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2016-08-18 15:18:17 UTC
  • mfrom: (3651.1.4 sw-native-buffer-base)
  • Revision ID: tarmac-20160818151817-9dvkzhk3488w6o7j
platform: remove read() and write() from mg::Buffer, placing it in a software-rendering specific backend. 

The chief advantage here is that GBMBuffer (and other buffers that don't support linear software rendering) don't have to throw in read() and write(). This provides 'software rendering' support in the same manner that 'gl rendering' is supported.

The name choice "PixelSource" was chosen to mirror "TextureSource" from the gl-rendering system.

Approved by Alexandros Frantzis, Alan Griffiths, mir-ci-bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: