desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #128085
[Bug 1473901] Re: egl-platform-mir.patch: Incorrect (backwards) pixel formats are accepted
Linked a loosely related branch, where the bug was first observed.
** Branch linked: lp:~vanvugt/mir/16bpp
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1473901
Title:
egl-platform-mir.patch: Incorrect (backwards) pixel formats are
accepted
Status in mesa package in Ubuntu:
New
Bug description:
egl-platform-mir.patch: Incorrect (backwards) pixel formats are
accepted.
I noticed this recently. GBM reports some pixel formats as supported
but if you use them the colours come out backwards. Turns out it's
just our patch reporting incorrect format support ...
--- a/src/gbm/backends/dri/gbm_dri.c
+++ b/src/gbm/backends/dri/gbm_dri.c
@@ -528,9 +528,11 @@ gbm_dri_is_format_supported(struct gbm_d
switch (format) {
case GBM_BO_FORMAT_XRGB8888:
case GBM_FORMAT_XRGB8888:
+ case GBM_FORMAT_XBGR8888: <-------- Wrong. Delete this.
break;
case GBM_BO_FORMAT_ARGB8888:
case GBM_FORMAT_ARGB8888:
+ case GBM_FORMAT_ABGR8888: <--------- Wrong. Delete this
if (usage & GBM_BO_USE_SCANOUT)
return 0;
break;
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1473901/+subscriptions
References