[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 00:54:02 PDT 2015


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

--- Comment #20 from Chih-Wei Huang <cwhuang at android-x86.org> ---
(In reply to Rob Clark from comment #17)
> (In reply to Emil Velikov from comment #15)
> > (In reply to Chih-Wei Huang from comment #11)
> > > Mesa still doesn't support PIXEL_FORMAT_RGBA_8888?
> > 
> > It should, depending on how exactly you define the formats. I've looked a

The android's definition.

> > while back for some android documentation but I came short. Have you seen
> > any ?

Please read about line 454
https://android.googlesource.com/platform/frameworks/native/+/android-5.1.1_r1/opengl/libs/EGL/eglApi.cpp

If WORKAROUND_BUG_10194508 is not enabled,
HAL_PIXEL_FORMAT_RGBA_8888 is chosen and then
we only got black screen since
SurfaceFlinger crashed due to no surface.

> > Upon closer look the mappings in drm_format_from_hal and get_pipe_format
> > look very funny.

What does it mean? What's funny?

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

-- 
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/7e1df700/attachment-0001.html>


More information about the mesa-dev mailing list