-
Committer:
Tarmac
-
Author(s):
Kevin DuBois
-
Date:
2017-01-20 15:50:44 UTC
-
mfrom:
(3954.2.4 client-native-bits)
-
Revision ID:
tarmac-20170120155044-nbb37jxrljwlvizd
client: add platform-specific conversions for MirBufferUsage and MirPixelFormat to the client platform.
The current system says "i want a 'hardware' buffer", and the server selects something appropriate. The new system with gbm_buffer and android_buffer extensions, actually lets the user select the properties they want. This is more flexible, but we have to have some legacy code (mostly hardware BufferStreams) make a platform-specific conversion on the client side.
.
Approved by mir-ci-bot, Alan Griffiths.