Re: [Mesa-dev] [PATCH 5/6] egl/main: expose only core EGL functions statically

2015-05-14 Thread Mark Janes
Hi Emil, This patch prevents piglit from linking: [ 98%] CMakeFiles/ext_image_dma_buf_import-sample_rgb.dir/sample_common.c.o: In function `sample_and_destroy_img': piglit/tests/spec/ext_image_dma_buf_import/sample_common.c:107: undefined reference to `eglDestroyImageKHR' Is th

Re: [Mesa-dev] [PATCH 5/6] egl/main: expose only core EGL functions statically

2015-05-12 Thread Chad Versace
On Mon 11 May 2015, Emil Velikov wrote: > The EGL 1.3, 1.4 and 1.5 spec explicitly mentions that providing > static symbols for functions provided by EGL extensions is not portable. > Considering that relatively recently we've seen a non-mesa desktop EGL > implementation, the fact that we opt for s

[Mesa-dev] [PATCH 5/6] egl/main: expose only core EGL functions statically

2015-05-11 Thread Emil Velikov
The EGL 1.3, 1.4 and 1.5 spec explicitly mentions that providing static symbols for functions provided by EGL extensions is not portable. Considering that relatively recently we've seen a non-mesa desktop EGL implementation, the fact that we opt for such behaviour has gone unnoticed. To encourage