[PATCH] dri2: Pass a ScreenPtr through to the driver's AuthMagic function.

Keith Packard keithp at keithp.com
Mon Jun 18 09:58:23 PDT 2012


Christopher James Halse Rogers <christopher.halse.rogers at canonical.com>
writes:

> +typedef int (*DRI2AuthMagic2ProcPtr) (ScreenPtr pScreen, int fd, uint32_t magic);

Bikeshed -- seems like the 'fd' parameter is not needed in this API?
I'll note that in the implementation of the wrapper, you pull it from
the screen private instead of using the provided parameter...

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


More information about the xorg-devel mailing list