<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - EGL_KHR_gl_colorspace (v2) causes problem with Android-x86 GUI"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91596#c22">Comment # 22</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - EGL_KHR_gl_colorspace (v2) causes problem with Android-x86 GUI"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91596">bug 91596</a>
from <span class="vcard"><a class="email" href="mailto:robclark@freedesktop.org" title="Rob Clark <robclark@freedesktop.org>"> <span class="fn">Rob Clark</span></a>
</span></b>
<pre>(In reply to Chih-Wei Huang from <a href="show_bug.cgi?id=91596#c20">comment #20</a>)
<span class="quote">> (In reply to Rob Clark from <a href="show_bug.cgi?id=91596#c17">comment #17</a>)
> > (In reply to Emil Velikov from <a href="show_bug.cgi?id=91596#c15">comment #15</a>)
> > > Upon closer look the mappings in drm_format_from_hal and get_pipe_format
> > > look very funny.
>
> What does it mean? What's funny?</span >
well, mapping both HAL_PIXEL_FORMAT_RGB_888 and HAL_PIXEL_FORMAT_BGRA_8888 to
DRM_FORMAT_XRGB8888, for example..
tbh I'm not sure what "endianess" HAL_PIXEL_FORMAT_* thinks about, but if
HAL_PIXEL_FORMAT_RGBA_8888 -> DRM_FORMAT_RGBA8888, then it seems odd that
HAL_PIXEL_FORMAT_RGBX_8888 -> DRM_FORMAT_XBGR8888..
<span class="quote">> > fwiw, there is a bogus patch that needs to be reverted in drm_gralloc, see:
> >
> > <a href="https://github.com/robclark/drm_gralloc/commit/">https://github.com/robclark/drm_gralloc/commit/</a>
> > 34bf9d8566aaf97a0f2adb127836134078abd340
>
> That's a try-and-error patch.
> Without it we just got black screen for vmwgfx.
> So what's your suggested solution?</span >
just revert the patch to the way it was before. If you are still getting a
black screen with current mesa then we should debug what is wrong in vmware
gallium driver..</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>