Re: [Mesa-dev] [PATCH] mapi: Only install khrplatform.h with EGL or GLES

2017-07-13 Thread Eric Engestrom
On Thursday, 2017-07-13 09:51:20 +0300, Jussi Kukkonen wrote: > When mesa is built with "--disable-egl --disable-gles1 > --disable-gles2" the KHR platform headers are not needed. > > Not installing the header when not needed allows using mesa for GL > and another implementation for GLES+EGL (as is

[Mesa-dev] [PATCH] mapi: Only install khrplatform.h with EGL or GLES

2017-07-12 Thread Jussi Kukkonen
When mesa is built with "--disable-egl --disable-gles1 --disable-gles2" the KHR platform headers are not needed. Not installing the header when not needed allows using mesa for GL and another implementation for GLES+EGL (as is done in practice with userland on raspberrypi). --- src/mapi/Makefile.