vega: replace casts with pointer/handle conversion functions
authorBrian Paul <brianp@vmware.com>
Sun, 23 Jan 2011 18:47:03 +0000 (11:47 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 25 Jan 2011 01:12:49 +0000 (18:12 -0700)
commitd41e694cf78ada8c9258f96995115c9da8437894
treeb818c672d45a672b2ccdabf55668317afdc243e7
parent4324d6fdfbba17e66b476cf008713d26cac83ad1
vega: replace casts with pointer/handle conversion functions

Per the spec, all OpenVG handles are 32-bit.  We can't just cast them
to/from integers on 64-bit systems.

Start fixing that mess by introducing a set of handle/pointer conversion
functions in handle.h.  The next step is to implement a handle/pointer
hash table...
src/gallium/state_trackers/vega/api_filters.c
src/gallium/state_trackers/vega/api_images.c
src/gallium/state_trackers/vega/api_masks.c
src/gallium/state_trackers/vega/api_paint.c
src/gallium/state_trackers/vega/api_params.c
src/gallium/state_trackers/vega/api_path.c
src/gallium/state_trackers/vega/api_text.c
src/gallium/state_trackers/vega/handle.h [new file with mode: 0644]
src/gallium/state_trackers/vega/vg_context.c
src/gallium/state_trackers/vega/vg_context.h
src/gallium/state_trackers/vega/vgu.c