touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #121550
[Bug 1495974] Re: [android] renogotiation of pixel formats is not supported, leading to potential stride/pixelformat issues
** Changed in: mir
Milestone: 0.18.0 => 0.19.0
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1495974
Title:
[android] renogotiation of pixel formats is not supported, leading to
potential stride/pixelformat issues
Status in Mir:
Confirmed
Status in mir package in Ubuntu:
New
Bug description:
Some drivers will call android's perform hook with:
NATIVE_WINDOW_SET_BUFFERS_FORMAT. In the case that the pixel formats
are the same depth, we accommodate this by just setting the format to
the newly-requested format. (ie, mir_pixel_format_rgbx_8888 to
mir_pixel_format_rgba_8888 is accommodated, as no reallocation is
needed).
However, we've encountered a device that will try to set the format to
HAL_PIXEL_FORMAT_RGB_888 when mir has selected
HAL_PIXEL_FORMAT_RGBX_8888. Since we're going from a 32 bit format to
a 24 bit format, the stride information becomes incorrect.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1495974/+subscriptions