<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - EGL_KHR_gl_colorspace (v2) causes problem with Android-x86 GUI"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91596#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - 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:issor.oruam@gmail.com" title="Mauro Rossi <issor.oruam@gmail.com>"> <span class="fn">Mauro Rossi</span></a>
</span></b>
<pre>Hi Makek,
I have performed test by disabling EGL_KHR_gl_colorspace extension,
Chih-Wei has tried with following override
export MESA_EXTENSION_OVERRIDE "-EGL_KHR_gl_colorspace"
With both methods (to my knowledge they should be equivalent) problem was not
solved
We came to the conclusion that c2c2e9a need to be reverted to have usable
android-x86 GUI.
Looking at code before commit c2c2e9a, when conf->dri_single_config was
defined, conf->dri_double_config was set to NULL and viceversa,
it's just a check/possible lead cause, because I'm not sure what the code
actually does.
Also I don't see inizialization of the new
dri_srgb_single_config/dri_srgb_double_config but please pardon me, if this
does not help.
memcpy(&conf->base, &base, sizeof base);
if (double_buffer) {
- conf->dri_double_config = dri_config;
- conf->dri_single_config = NULL;
+ if (srgb)
+ conf->dri_srgb_double_config = dri_config;
+ else
+ conf->dri_double_config = dri_config;
} else {
- conf->dri_single_config = dri_config;
- conf->dri_double_config = NULL;
+ if (srgb)
+ conf->dri_srgb_single_config = dri_config;
+ else
+ conf->dri_single_config = dri_config;
}</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>