Re: [Mesa-dev] RFC: vega handle rework

2011-01-23 Thread Zack Rusin
On Sunday 23 January 2011 12:20:20 Brian Paul wrote: > 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 impl

Re: [Mesa-dev] RFC: vega handle rework

2011-01-23 Thread Henri Verbeet
On 23 January 2011 18:20, Brian Paul wrote: > > 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

[Mesa-dev] RFC: vega handle rework

2011-01-23 Thread Brian Paul
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 tab