On 08/08/2016 09:38 AM, ⚛ wrote:
> On Mon, Aug 8, 2016 at 6:22 PM, Ian Romanick <i...@freedesktop.org> wrote:
>> I'm pretty sure this breaks ABI.  Did you try using an unpatched libGL
>> with a patched *_dri.so (and vice-versa)?
> 
> Can you be more specific?

Eh... build Mesa.  Save the libGL and *_dri.so.  Apply patch.  Build
again.  Run applications with LD_PRELOAD and LIBGL_DRIVERS_PATH (or
EGL_DRIVERS_PATH) set to mix the old and new.

> Where is the ABI documented?

I don't know this particular code that well, so this may be a non-issue.
 Generally, any structures that represent data that is accessed in both
libGL (or libEGL) and *_dri.so are ABI.  Usually these structures are
versioned so that fields can be added... you just don't ever get to
change or remove fields.  The .h file is the documentation.
include/GL/internal/dri_interface.h is the prime example
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to