effective API/ABI surfaces

Aaron Plattner aplattner at nvidia.com
Mon Jul 2 14:32:02 PDT 2012


On 07/02/2012 03:22 AM, Dave Airlie wrote:
> Hi,
>
> Just wondering about what sort of things are considered ABI breaks in reality,
>
>  From my understanding, I should be able to
>
> a) add new members to end of ScreenRec.
>
> b) add new members to xf86ScrnInfoRec in the reserved sections.
>
> Can I though add members to GC, Pixmap, Picture structs or does someone do
> bad things with them?
>
> Before we freeze the API/ABI I'd like to maybe expand some of these
> structs if I can't do it later, so I can ship 1.13 but with some
> features in it,
>
> Dave.

I *think* it should be okay to extend these structures by adding things to the 
end after the ABI freeze.  None of those things should be in arrays.  Just don't 
rearrange things in the middle, please.

-- Aaron


More information about the xorg-devel mailing list