<feed xmlns='http://www.w3.org/2005/Atom'>
<title>external_mesa3d/src/glx, branch replicant-6.0</title>
<subtitle>external/mesa3d
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/'/>
<entry>
<title>glx: make interop ABI visible again</title>
<updated>2016-11-09T14:06:27+00:00</updated>
<author>
<name>Marek Olšák</name>
<email>marek.olsak@amd.com</email>
</author>
<published>2016-11-02T17:59:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=d54699135f1f2c69206107ba161c1bfd9ca16b78'/>
<id>d54699135f1f2c69206107ba161c1bfd9ca16b78</id>
<content type='text'>
This was broken when the GLAPI use was removed from mesa_glinterop.h.

Cc: 12.0 13.0 &lt;mesa-stable@lists.freedesktop.org&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reviewed-by: Nicolai Hähnle &lt;nicolai.haehnle@amd.com&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
(cherry picked from commit 64c2593a5c33a98d880d141793360b44d07d1366)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was broken when the GLAPI use was removed from mesa_glinterop.h.

Cc: 12.0 13.0 &lt;mesa-stable@lists.freedesktop.org&gt;
Acked-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Reviewed-by: Nicolai Hähnle &lt;nicolai.haehnle@amd.com&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
(cherry picked from commit 64c2593a5c33a98d880d141793360b44d07d1366)
</pre>
</div>
</content>
</entry>
<entry>
<title>glx/windows: Add wgl.h to the sources list</title>
<updated>2016-11-09T13:59:00+00:00</updated>
<author>
<name>Andreas Boll</name>
<email>andreas.boll.dev@gmail.com</email>
</author>
<published>2016-11-02T11:11:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=da1ac6bc4642f0c2ab10f557d7749fc6d41dc4b7'/>
<id>da1ac6bc4642f0c2ab10f557d7749fc6d41dc4b7</id>
<content type='text'>
Otherwise it won't be picked in the tarball and the build will fail.

Fixes: 533b3530c12 ("direct-to-native-GL for GLX clients on Cygwin
("Windows-DRI")")
Cc: "13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Signed-off-by: Andreas Boll &lt;andreas.boll.dev@gmail.com&gt;
Reviewed-by: Jon Turney &lt;jon.turney@dronecode.org.uk&gt;

(cherry picked from commit f792f0687f60e789fe9e0e2550c4eded95253fa1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise it won't be picked in the tarball and the build will fail.

Fixes: 533b3530c12 ("direct-to-native-GL for GLX clients on Cygwin
("Windows-DRI")")
Cc: "13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Signed-off-by: Andreas Boll &lt;andreas.boll.dev@gmail.com&gt;
Reviewed-by: Jon Turney &lt;jon.turney@dronecode.org.uk&gt;

(cherry picked from commit f792f0687f60e789fe9e0e2550c4eded95253fa1)
</pre>
</div>
</content>
</entry>
<entry>
<title>glx/glvnd: Fix dispatch function names and indices</title>
<updated>2016-11-09T13:49:18+00:00</updated>
<author>
<name>Adam Jackson</name>
<email>ajax@redhat.com</email>
</author>
<published>2016-09-14T18:01:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=bc1d7a6ac4d917726cdaa7882cd25233dee50285'/>
<id>bc1d7a6ac4d917726cdaa7882cd25233dee50285</id>
<content type='text'>
As this array was not actually sorted, FindGLXFunction's binary search
would only sometimes work.

Cc: "13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Reviewed-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
(cherry picked from commit 8bca8d89ef3babbecc4f3160cbbcb93d33b7a6ee)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As this array was not actually sorted, FindGLXFunction's binary search
would only sometimes work.

Cc: "13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Reviewed-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
(cherry picked from commit 8bca8d89ef3babbecc4f3160cbbcb93d33b7a6ee)
</pre>
</div>
</content>
</entry>
<entry>
<title>glx/glvnd: Don't modify the dummy slot in the dispatch table</title>
<updated>2016-11-09T13:47:50+00:00</updated>
<author>
<name>Adam Jackson</name>
<email>ajax@redhat.com</email>
</author>
<published>2016-09-14T17:56:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=c08a62a0b1b481e1c0bf02228ef03442bf1b0031'/>
<id>c08a62a0b1b481e1c0bf02228ef03442bf1b0031</id>
<content type='text'>
Cc: "13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Reviewed-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
(cherry picked from commit deb0eb1660f612862c77d225582e102e7ab717ee)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cc: "13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Reviewed-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Signed-off-by: Adam Jackson &lt;ajax@redhat.com&gt;
(cherry picked from commit deb0eb1660f612862c77d225582e102e7ab717ee)
</pre>
</div>
</content>
</entry>
<entry>
<title>loader: remove loader_get_driver_for_fd() driver_type</title>
<updated>2016-10-18T16:06:29+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-09-12T16:48:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=af7abc512c422183a761ce3d687086abe282fa74'/>
<id>af7abc512c422183a761ce3d687086abe282fa74</id>
<content type='text'>
Reminiscent from the pre-loader days, were we had multiple instances of
the loader logic in separate places and one could build a "GALLIUM_ONLY"
version.

Since that is no longer the case and the loaders (glx/egl/gbm) do not
(and should not) require to know any classic/gallium specific we can
drop the argument and the related code.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Axel Davy &lt;axel.davy@ens.fr&gt;
Reviewed-by: Nicolai Hähnle &lt;nicolai.haehnle@amd.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reminiscent from the pre-loader days, were we had multiple instances of
the loader logic in separate places and one could build a "GALLIUM_ONLY"
version.

Since that is no longer the case and the loaders (glx/egl/gbm) do not
(and should not) require to know any classic/gallium specific we can
drop the argument and the related code.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Axel Davy &lt;axel.davy@ens.fr&gt;
Reviewed-by: Nicolai Hähnle &lt;nicolai.haehnle@amd.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>loader/dri3: constify the loader_dri3_vtable</title>
<updated>2016-10-14T11:53:35+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.veliikov@collabora.com</email>
</author>
<published>2016-08-25T10:08:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=9caacb39b9f27919a7c986ad0c5d671a81b1f1e0'/>
<id>9caacb39b9f27919a7c986ad0c5d671a81b1f1e0</id>
<content type='text'>
Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Eric Engestrom &lt;eric@engestrom.ch&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Eric Engestrom &lt;eric@engestrom.ch&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>glx: Perform check for valid fbconfig against proper X-Screen.</title>
<updated>2016-10-14T09:11:25+00:00</updated>
<author>
<name>Mario Kleiner</name>
<email>mario.kleiner.de@gmail.com</email>
</author>
<published>2016-10-11T18:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=0c94ed0987fd948a7ff4bef401e25319171917c4'/>
<id>0c94ed0987fd948a7ff4bef401e25319171917c4</id>
<content type='text'>
Commit cf804b4455fac9e585b3600a8318caaced9c23de
('glx: fix crash with bad fbconfig') introduced a check
in glXCreateNewContext() if the given config is a valid
fbconfig.

Unfortunately the check always checks the given config against
the fbconfigs of the DefaultScreen(dpy), instead of the
actual X-Screen specified in the config config-&gt;screen.

This leads to failure whenever a GL context is created
on a non-DefaultScreen(dpy), e.g., on X-Screen 1 of
a multi-x-screen setup, where the default screen is
typically 0.

Fix this by using config-&gt;screen instead of DefaultScreen(dpy).

Tested to fix context creation failure on a dual-x-screen setup.

Signed-off-by: Mario Kleiner &lt;mario.kleiner.de@gmail.com&gt;
Cc: "11.2 12.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit cf804b4455fac9e585b3600a8318caaced9c23de
('glx: fix crash with bad fbconfig') introduced a check
in glXCreateNewContext() if the given config is a valid
fbconfig.

Unfortunately the check always checks the given config against
the fbconfigs of the DefaultScreen(dpy), instead of the
actual X-Screen specified in the config config-&gt;screen.

This leads to failure whenever a GL context is created
on a non-DefaultScreen(dpy), e.g., on X-Screen 1 of
a multi-x-screen setup, where the default screen is
typically 0.

Fix this by using config-&gt;screen instead of DefaultScreen(dpy).

Tested to fix context creation failure on a dual-x-screen setup.

Signed-off-by: Mario Kleiner &lt;mario.kleiner.de@gmail.com&gt;
Cc: "11.2 12.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>loader/dri3: add get_dri_screen() to the vtable</title>
<updated>2016-10-07T08:11:44+00:00</updated>
<author>
<name>Martin Peres</name>
<email>martin.peres@linux.intel.com</email>
</author>
<published>2016-10-06T14:07:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=0247e5ee3edd546b8598082d5b45d110f61853d0'/>
<id>0247e5ee3edd546b8598082d5b45d110f61853d0</id>
<content type='text'>
This allows querying the current active screen from the
loader's common code.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Signed-off-by: Martin Peres &lt;martin.peres@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows querying the current active screen from the
loader's common code.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Signed-off-by: Martin Peres &lt;martin.peres@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>glx: rename choose_visual(), drop const argument</title>
<updated>2016-10-06T14:03:47+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-09-30T10:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=78a7415f0be53eb06c5f226ded82995c4cd01c41'/>
<id>78a7415f0be53eb06c5f226ded82995c4cd01c41</id>
<content type='text'>
The function deals with fb (style) configs, thus using "visual"
in the name is misleading. Which in itself had led to the use of
fbconfig_style_tags argument.

Rename the function to reflect what it does and drop the unneeded
argument.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Marek Olšák &lt;marek.olsak@amd.com&gt;
Reviewed-by: Ian Romanick &lt;ian.d.romanick@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function deals with fb (style) configs, thus using "visual"
in the name is misleading. Which in itself had led to the use of
fbconfig_style_tags argument.

Rename the function to reflect what it does and drop the unneeded
argument.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Marek Olšák &lt;marek.olsak@amd.com&gt;
Reviewed-by: Ian Romanick &lt;ian.d.romanick@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>glx: return GL_FALSE from glx_screen_init where applicable.</title>
<updated>2016-10-06T14:03:47+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-09-30T10:01:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=2e9e05dfca18c7f09caa40396d6dd4f2b3ddc1d4'/>
<id>2e9e05dfca18c7f09caa40396d6dd4f2b3ddc1d4</id>
<content type='text'>
Return GL_FALSE if we fail to find any fb/visual configs, otherwise we
end up with all sorts of chaos further down the GLX stack.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Marek Olšák &lt;marek.olsak@amd.com&gt;
Reviewed-by: Ian Romanick &lt;ian.d.romanick@intel.com&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Return GL_FALSE if we fail to find any fb/visual configs, otherwise we
end up with all sorts of chaos further down the GLX stack.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Marek Olšák &lt;marek.olsak@amd.com&gt;
Reviewed-by: Ian Romanick &lt;ian.d.romanick@intel.com&gt;

</pre>
</div>
</content>
</entry>
</feed>
