~mir-team/mir/development-branch

Viewing all changes in revision 3109.

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2015-11-20 03:58:49 UTC
  • mfrom: (3103.4.3 fix-1463873)
  • Revision ID: tarmac-20151120035849-1zoi81ksydh0wnf8
Allow clients to call mir_buffer_stream_get_graphics_region() multiple times between mir_buffer_stream_swap_buffers() without side effects (eg, cache flushing) on android.

This fixes the main corruption that xmir was seeing in lp: #1406725. xmir was using this function to query buffer size, and this would have trashed the android's cpu cache on every size query.

fixes lp: #1406725. Fixes: https://bugs.launchpad.net/bugs/1406725.

Approved by PS Jenkins bot, Alberto Aguirre.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: