[Mesa-stable] [Mesa-dev] [PATCH v2] dri_util: Don't assume __DRIcontext->driverPrivate is a gl_context

Eric Anholt eric at anholt.net
Mon Dec 9 21:33:33 PST 2013


Ian Romanick <idr at freedesktop.org> writes:

> From: Kristian Høgsberg <krh at bitplanet.net>
>
> The driverPrivate pointer is opaque to the driver and we can't assume
> it's a struct gl_context in dri_util.c.  Instead provide a helper function
> to set the struct gl_context flags from the incoming DRI context flags.
>
> v2 (idr): Modify the other classic drivers to also use
> driContextSetFlags.  I ran all the piglit GLX_ARB_create_context tests
> with classic swrast without regressions.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-stable/attachments/20131209/72481692/attachment.pgp>


More information about the mesa-stable mailing list