[PATCH] dri3: Fix dri3_open API change by adding new dri3_open_client

Keith Packard keithp at keithp.com
Tue Apr 8 13:57:24 PDT 2014

Keith Packard <keithp at keithp.com> writes:

> Xwayland will eventually need the current client in dri3_open. Simply
> changing that API is not an option though as other drivers that
> implement DRI3 will not have a matching function signature and will
> crash when called.
> Add a new dri3_open_client function pointer and bump
> DRI3_SCREEN_INFO_VERSION so that drivers can be aware of the new
> function which will be used in preference to the old function when
> available.
> Signed-off-by: Keith Packard <keithp at keithp.com>

Eric kindly reviewed this and asked for a minor change to explicitly set
version 1 in info structure in glamor_egl.c

   901fbfb..6ec04a7  master -> master

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140408/9b01af76/attachment.sig>

More information about the xorg-devel mailing list