Lines Matching refs:store
140 struct vertex_stage_data *store = (struct vertex_stage_data *)stage->privatePtr;
156 VB->EyePtr = TransformRaw( &store->eye,
161 VB->ClipPtr = TransformRaw( &store->clip,
184 store->ormask = 0;
185 store->andmask = CLIP_FRUSTUM_BITS;
190 &store->proj,
191 store->clipmask,
192 &store->ormask,
193 &store->andmask,
200 store->clipmask,
201 &store->ormask,
202 &store->andmask,
206 if (store->andmask)
216 store->clipmask,
217 &store->ormask,
218 &store->andmask );
220 if (store->andmask)
224 VB->ClipAndMask = store->andmask;
225 VB->ClipOrMask = store->ormask;
226 VB->ClipMask = store->clipmask;
236 struct vertex_stage_data *store;
239 stage->privatePtr = CALLOC(sizeof(*store));
240 store = VERTEX_STAGE_DATA(stage);
241 if (!store)
244 _mesa_vector4f_alloc( &store->eye, 0, size, 32 );
245 _mesa_vector4f_alloc( &store->clip, 0, size, 32 );
246 _mesa_vector4f_alloc( &store->proj, 0, size, 32 );
248 store->clipmask = (GLubyte *) _mesa_align_malloc(sizeof(GLubyte)*size, 32 );
250 if (!store->clipmask ||
251 !store->eye.data ||
252 !store->clip.data ||
253 !store->proj.data)
261 struct vertex_stage_data *store = VERTEX_STAGE_DATA(stage);
263 if (store) {
264 _mesa_vector4f_free( &store->eye );
265 _mesa_vector4f_free( &store->clip );
266 _mesa_vector4f_free( &store->proj );
267 _mesa_align_free( store->clipmask );
268 FREE(store);