<feed xmlns='http://www.w3.org/2005/Atom'>
<title>external_mesa3d/src/egl/main, 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>egl: Fix crashes in eglCreate*Surface()</title>
<updated>2016-12-16T13:00:50+00:00</updated>
<author>
<name>Chad Versace</name>
<email>chadversary@chromium.org</email>
</author>
<published>2016-12-13T22:23:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=12618c1c90b8b2c59a523515eb2e4e55e7c8d17b'/>
<id>12618c1c90b8b2c59a523515eb2e4e55e7c8d17b</id>
<content type='text'>
Don't dereference a null EGLDisplay.

Fixes tests
  dEQP-EGL.functional.negative_api.create_pbuffer_surface
  dEQP-EGL.functional.negative_api.create_pixmap_surface

Reviewed-by: Mark Janes &lt;mark.a.janes@intel.com&gt;
Reviewed-by: Tapani Pälli &lt;tapani.palli@intel.com&gt;
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=99038
Cc: "13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
(cherry picked from commit 5e97b8f5ce975dfb66cc46e6b4cc1e89eb8c1dc0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't dereference a null EGLDisplay.

Fixes tests
  dEQP-EGL.functional.negative_api.create_pbuffer_surface
  dEQP-EGL.functional.negative_api.create_pixmap_surface

Reviewed-by: Mark Janes &lt;mark.a.janes@intel.com&gt;
Reviewed-by: Tapani Pälli &lt;tapani.palli@intel.com&gt;
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=99038
Cc: "13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
(cherry picked from commit 5e97b8f5ce975dfb66cc46e6b4cc1e89eb8c1dc0)
</pre>
</div>
</content>
</entry>
<entry>
<title>egl: make interop ABI visible again</title>
<updated>2016-11-09T14:05:06+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=a0d11b190ade4279c0798844c3a3c962f1adeefd'/>
<id>a0d11b190ade4279c0798844c3a3c962f1adeefd</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 ee39d4456e7551b257343551d59e7c6a3388fdc0)
</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 ee39d4456e7551b257343551d59e7c6a3388fdc0)
</pre>
</div>
</content>
</entry>
<entry>
<title>egl: use util/macros.h</title>
<updated>2016-11-09T14:03:39+00:00</updated>
<author>
<name>Marek Olšák</name>
<email>marek.olsak@amd.com</email>
</author>
<published>2016-11-02T17:56:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=aa60c7b1c1eb86b457b3717fa2edaec77281eccf'/>
<id>aa60c7b1c1eb86b457b3717fa2edaec77281eccf</id>
<content type='text'>
I need the definition of PUBLIC.

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 bf51b45313c7cc5ca792401f0cc29574aa9122cf)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I need the definition of PUBLIC.

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 bf51b45313c7cc5ca792401f0cc29574aa9122cf)
</pre>
</div>
</content>
</entry>
<entry>
<title>egl: set preserved behavior for surface only if config supports it</title>
<updated>2016-10-27T10:30:54+00:00</updated>
<author>
<name>Tapani Pälli</name>
<email>tapani.palli@intel.com</email>
</author>
<published>2016-10-26T10:54:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=d640b0d71b6910e0c8d0bdb7299fe1cb24b0890b'/>
<id>d640b0d71b6910e0c8d0bdb7299fe1cb24b0890b</id>
<content type='text'>
Otherwise we can end up with mismatching behavior between config and
surface when client queries surface attributes. As example, configs
for DRI3 do not support preserved behavior but here we were setting
preserved behavior for pixmap and pbuffer.

Signed-off-by: Tapani Pälli &lt;tapani.palli@intel.com&gt;
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98326
Cc: "12.0 13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Reviewed-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Reviewed-by: Chad Versace &lt;chadversary@chromium.org&gt;
Tested-by: Mark Janes &lt;mark.a.janes@intel.com&gt;
(cherry picked from commit 2035930966b05a7c4dd1f6559d66b5a3b41e01a5)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise we can end up with mismatching behavior between config and
surface when client queries surface attributes. As example, configs
for DRI3 do not support preserved behavior but here we were setting
preserved behavior for pixmap and pbuffer.

Signed-off-by: Tapani Pälli &lt;tapani.palli@intel.com&gt;
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98326
Cc: "12.0 13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Reviewed-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Reviewed-by: Chad Versace &lt;chadversary@chromium.org&gt;
Tested-by: Mark Janes &lt;mark.a.janes@intel.com&gt;
(cherry picked from commit 2035930966b05a7c4dd1f6559d66b5a3b41e01a5)
</pre>
</div>
</content>
</entry>
<entry>
<title>egl: add check that eglCreateContext gets a valid config</title>
<updated>2016-10-27T10:12:19+00:00</updated>
<author>
<name>Tapani Pälli</name>
<email>tapani.palli@intel.com</email>
</author>
<published>2016-10-20T11:11:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=732b39507b21833511ea465964f66452d70336a8'/>
<id>732b39507b21833511ea465964f66452d70336a8</id>
<content type='text'>
Fixes following dEQP test:

   dEQP-EGL.functional.negative_api.create_context

v2: don't break EGL_KHR_no_config_context (Eric Engestrom)

Signed-off-by: Tapani Pälli &lt;tapani.palli@intel.com&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Cc: "12.0 13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
(cherry picked from commit 5876f3c85a61d73bb4863331bd641152a40a7b0c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes following dEQP test:

   dEQP-EGL.functional.negative_api.create_context

v2: don't break EGL_KHR_no_config_context (Eric Engestrom)

Signed-off-by: Tapani Pälli &lt;tapani.palli@intel.com&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Cc: "12.0 13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
(cherry picked from commit 5876f3c85a61d73bb4863331bd641152a40a7b0c)
</pre>
</div>
</content>
</entry>
<entry>
<title>egl: Implement EGL_MESA_platform_surfaceless</title>
<updated>2016-10-14T18:19:40+00:00</updated>
<author>
<name>Chad Versace</name>
<email>chadversary@chromium.org</email>
</author>
<published>2016-10-12T22:48:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=a597c8ad5b75f37336257e3f4462caebacb621ef'/>
<id>a597c8ad5b75f37336257e3f4462caebacb621ef</id>
<content type='text'>
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>egl: Don't advertise unsupported platform extensions</title>
<updated>2016-10-14T18:19:27+00:00</updated>
<author>
<name>Chad Versace</name>
<email>chadversary@chromium.org</email>
</author>
<published>2016-10-12T22:52:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=c177ef9d47943f648a13beed14269f468583c16e'/>
<id>c177ef9d47943f648a13beed14269f468583c16e</id>
<content type='text'>
Mesa's set of supported platform extensions depends on the autoconf
option --with-egl-platforms=foo,bar,baz. If --with-egl-platforms lacks
foo, then eglGetPlatformDisplay(EGL_PLATFORM_FOO, ...) unconditonally
fails.

So, if --with-egl-platforms lacks foo, then remove
EGL_VENDOR_platform_foo from the EGL client extension string.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mesa's set of supported platform extensions depends on the autoconf
option --with-egl-platforms=foo,bar,baz. If --with-egl-platforms lacks
foo, then eglGetPlatformDisplay(EGL_PLATFORM_FOO, ...) unconditonally
fails.

So, if --with-egl-platforms lacks foo, then remove
EGL_VENDOR_platform_foo from the EGL client extension string.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>egl: add eglSwapBuffersWithDamageKHR</title>
<updated>2016-10-11T13:04:26+00:00</updated>
<author>
<name>Eric Engestrom</name>
<email>eric.engestrom@imgtec.com</email>
</author>
<published>2016-10-10T16:33:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=0a606a400fe382a9bc726beef269b47f4485d85f'/>
<id>0a606a400fe382a9bc726beef269b47f4485d85f</id>
<content type='text'>
EGL_KHR_swap_buffers_with_damage is actually already supported, as it is
technically nothing but a rename of EGL_EXT_swap_buffers_with_damage.

To that effect, both extension are advertised depending on the same
condition, and the new entrypoint simply redirects to the previous one.

Signed-off-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
EGL_KHR_swap_buffers_with_damage is actually already supported, as it is
technically nothing but a rename of EGL_EXT_swap_buffers_with_damage.

To that effect, both extension are advertised depending on the same
condition, and the new entrypoint simply redirects to the previous one.

Signed-off-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>egl: Unify the EGLint/EGLAttrib paths in eglCreateSync* (v3)</title>
<updated>2016-10-10T16:54:11+00:00</updated>
<author>
<name>Chad Versace</name>
<email>chadversary@chromium.org</email>
</author>
<published>2016-09-27T20:27:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=804488518296fbf20b06244bc0aa2e2793c61998'/>
<id>804488518296fbf20b06244bc0aa2e2793c61998</id>
<content type='text'>
Pre-patch, there were two code paths for parsing EGLSync attribute
lists: one path for old-style EGLint lists, used by eglCreateSyncKHR,
and another for new-style EGLAttrib lists, used by eglCreateSync (1.5)
and eglCreateSync64 (EGL_KHR_cl_event2).

There were two attrib_list parsing functions,
  _eglParseSyncAttribList(_EGLSync *sync, const EGLint *attrib_list)
  _eglParseSyncAttribList64(_EGLSync *sync, const EGLattrib *attrib_list)
This patch unifies the two attrib_list parsing functions into one,
  _eglParseSyncAttribList(_EGLSync *sync, const EGLattrib *attrib_list)

Many internal EGLSync function signatures had *two* attrib_list
parameters to accomodate both code paths: one parameter was an EGLint
list and other an EGLAttrib list. At most one of the parameters was
allowed to be non-null.  This patch removes the `EGLint *attrib_list`
parameter, leaving only the `EGLAttrib *attrib_list` parameter, for all
internal EGLSync functions.

v2:
  - Consistently use condition (sizeof(int_list[0]) ==
    sizeof(attrib_list[0])). [for emil]
v3:
  - Don't double-unlock the display in eglCreateSyncKHR.

Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt; (v2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pre-patch, there were two code paths for parsing EGLSync attribute
lists: one path for old-style EGLint lists, used by eglCreateSyncKHR,
and another for new-style EGLAttrib lists, used by eglCreateSync (1.5)
and eglCreateSync64 (EGL_KHR_cl_event2).

There were two attrib_list parsing functions,
  _eglParseSyncAttribList(_EGLSync *sync, const EGLint *attrib_list)
  _eglParseSyncAttribList64(_EGLSync *sync, const EGLattrib *attrib_list)
This patch unifies the two attrib_list parsing functions into one,
  _eglParseSyncAttribList(_EGLSync *sync, const EGLattrib *attrib_list)

Many internal EGLSync function signatures had *two* attrib_list
parameters to accomodate both code paths: one parameter was an EGLint
list and other an EGLAttrib list. At most one of the parameters was
allowed to be non-null.  This patch removes the `EGLint *attrib_list`
parameter, leaving only the `EGLAttrib *attrib_list` parameter, for all
internal EGLSync functions.

v2:
  - Consistently use condition (sizeof(int_list[0]) ==
    sizeof(attrib_list[0])). [for emil]
v3:
  - Don't double-unlock the display in eglCreateSyncKHR.

Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt; (v2)
</pre>
</div>
</content>
</entry>
<entry>
<title>egl: Implement EGL_KHR_debug (v2)</title>
<updated>2016-10-05T15:41:26+00:00</updated>
<author>
<name>Kyle Brenneman</name>
<email>kbrenneman@nvidia.com</email>
</author>
<published>2016-09-12T21:51:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=ca9f26ac6fcb0afb68101fb3f74fcb3100507c0c'/>
<id>ca9f26ac6fcb0afb68101fb3f74fcb3100507c0c</id>
<content type='text'>
Wire up the debug entrypoints to EGL dispatch, and add the extension
string to the client extension list.

v2:
- Lots of style fixes
- Fix missing EGLAPIENTRYs
- Factor out valid attribute check
- Lock display in eglLabelObjectKHR as needed, and use RETURN_EGL_*
- Move "EGL_KHR_debug" into asciibetical order in client extension
  string

Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
Reviewed-by: Emil Velikov &lt;emil.veliko@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Wire up the debug entrypoints to EGL dispatch, and add the extension
string to the client extension list.

v2:
- Lots of style fixes
- Fix missing EGLAPIENTRYs
- Factor out valid attribute check
- Lock display in eglLabelObjectKHR as needed, and use RETURN_EGL_*
- Move "EGL_KHR_debug" into asciibetical order in client extension
  string

Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
Reviewed-by: Emil Velikov &lt;emil.veliko@collabora.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
