[Mesa-dev] [Bug 91596] EGL_KHR_gl_colorspace (v2) causes problem with Android-x86 GUI

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 7 10:28:55 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91596

--- Comment #22 from Rob Clark <robclark at freedesktop.org> ---
(In reply to Chih-Wei Huang from comment #20)
> (In reply to Rob Clark from comment #17)
> > (In reply to Emil Velikov from comment #15)
> > > Upon closer look the mappings in drm_format_from_hal and get_pipe_format
> > > look very funny.
> 
> What does it mean? What's funny?

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..

> > fwiw, there is a bogus patch that needs to be reverted in drm_gralloc, see:
> > 
> > https://github.com/robclark/drm_gralloc/commit/
> > 34bf9d8566aaf97a0f2adb127836134078abd340
> 
> That's a try-and-error patch.
> Without it we just got black screen for vmwgfx.
> So what's your suggested solution?

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..

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151007/70686683/attachment.html>


More information about the mesa-dev mailing list