(5) A bunch of these functions take MirBuffer as an 'in' parameter only so should take const pointers, no?
typedef uint32_t (*MirBufferExtFormat)(MirBuffer* buffer);
(6) Given the header is GBM-specific, is it a good idea to define callback types that are not GBM-specific in name inside it?
(5) A bunch of these functions take MirBuffer as an 'in' parameter only so should take const pointers, no? ormat)( MirBuffer* buffer);
typedef uint32_t (*MirBufferExtF
(6) Given the header is GBM-specific, is it a good idea to define callback types that are not GBM-specific in name inside it?