[Mesa-dev] [PATCH 0/3] Misc GLhandleARB GLuint cleanup

Jeremy Huddleston Sequoia jeremyhu at apple.com
Wed Jan 20 17:21:48 PST 2016


This series includes 3 changes related to help reconcile the differences in declaration between Apple's vs Mesa's GLhandleARB type.  The first, I expect to be mostly uncontroversial as they are mainly cleaning up and correcting some prototypes.  The second is just a casting which should be fine.  The last adds a bit of overhead to mesa_GetAttachedObjectsARB because we need to walk the returned array of GLuint and copy into the array of GLhandleARB.  I expect this last one will be a bit unwelcome on platforms where these two types are the same.

Would it be best to have a configure check for this and use it here (and maybe elsewhere in the future), or would you prefer to just use a platform preprocessing check for this since I suspect darwin is (and will only ever be) the only impacted platform.

--Jeremy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4109 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20160120/e05b48bb/attachment.bin>


More information about the mesa-dev mailing list