[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
Sun Sep 27 06:18:56 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=91596
--- Comment #5 from Mauro Rossi <issor.oruam at gmail.com> ---
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;
}
--
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/20150927/73286010/attachment.html>
More information about the mesa-dev
mailing list