It's been suggested we have an incorrect stride value for scanout buffers (even when they're not being scanned out). That would certainly agree with the screenshot in comment #5. So I think a fix is required via mir_surface_get_current_buffer() ?...
_X_EXPORT int32_t xmir_window_get_stride(xmir_window *xmir_win) { MirBufferPackage *package;
mir_surface_get_current_buffer(xmir_win->surface, &package);
return package->stride; }
It's been suggested we have an incorrect stride value for scanout buffers (even when they're not being scanned out). That would certainly agree with the screenshot in comment #5. So I think a fix is required via mir_surface_ get_current_ buffer( ) ?...
_X_EXPORT int32_t get_stride( xmir_window *xmir_win) ckage *package;
xmir_window_
{
MirBufferPa
mir_ surface_ get_current_ buffer( xmir_win- >surface, &package);
return package->stride;
}