[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 05:57:58 PDT 2015


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

--- Comment #21 from Marek Olšák <maraeo at gmail.com> ---
This shouldn't be closed, because the fix hasn't been committed yet.

(In reply to Mauro Rossi from comment #19)
> Hi,
> 
> tested the patch by restoring conf->base.SurfaceType = 0;
> 
> it works on NV8x, HD7750 and Intel 946GZ, problem solved.
> 
> Thanks a lot.
> Mauro
> 
> 
> diff --git a/src/egl/drivers/dri2/egl_dri2.c
> b/src/egl/drivers/dri2/egl_dri2.c
> index 461735f..2e68a65 100644
> --- a/src/egl/drivers/dri2/egl_dri2.c
> +++ b/src/egl/drivers/dri2/egl_dri2.c
> @@ -312,6 +312,8 @@ dri2_add_config(_EGLDisplay *disp, const __DRIconfig
> *dri_config, int id,
>           else
>              conf->dri_single_config = dri_config;
>        }
> +
> +      conf->base.SurfaceType = 0;  
>        conf->base.ConfigID = config_id;
>  
>        _eglLinkConfig(&conf->base);

-- 
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/78d84e64/attachment.html>


More information about the mesa-dev mailing list