[Mesa-dev] RFC: vega handle rework

Brian Paul brianp at vmware.com
Sun Jan 23 09:20:20 PST 2011


The vega state tracker casts back and forth between pointers and the 
handle types (VGHandle, VGPath, VGImage, etc).  Since handles are 
always 32-bit VGuints, casting like this doesn't work with 64-bit 
pointers.

This patch series implementes a pointer/handle mapping mechanism with 
a hash table.

If there's no concerns I'll commit in a day or two.

-Brian


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-vega-replace-casts-with-pointer-handle-conversion-fu.patch
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110123/09cafcd6/attachment.ksh>


More information about the mesa-dev mailing list