Lines Matching defs:store

58 			     struct texgen_stage_data *store,
252 struct texgen_stage_data *store,
257 GLvector4f *out = &store->texcoord[unit];
274 struct texgen_stage_data *store,
279 GLvector4f *out = &store->texcoord[unit];
302 struct texgen_stage_data *store,
307 GLvector4f *out = &store->texcoord[unit];
311 GLfloat (*f)[3] = store->tmp_f;
312 GLfloat *m = store->tmp_m;
314 (build_m_tab[VB->EyePtr->size])( store->tmp_f,
315 store->tmp_m,
335 struct texgen_stage_data *store,
341 GLvector4f *out = &store->texcoord[unit];
346 const GLfloat *m = store->tmp_m;
349 GLfloat (*f)[3] = store->tmp_f;
353 build_m_tab[eye->size]( store->tmp_f, store->tmp_m, normal, eye );
355 build_f_tab[eye->size]( (GLfloat *)store->tmp_f, 3, normal, eye );
359 out->size = MAX2(in->size, store->TexgenSize[unit]);
487 struct texgen_stage_data *store = TEXGEN_STAGE_DATA(stage);
498 store->TexgenFunc[i]( ctx, store, i );
500 VB->AttribPtr[VERT_ATTRIB_TEX0 + i] = &store->texcoord[i];
511 struct texgen_stage_data *store = TEXGEN_STAGE_DATA(stage);
532 store->TexgenSize[i] = sz;
533 store->TexgenFunc[i] = texgen; /* general solution */
538 store->TexgenFunc[i] = texgen_reflection_map_nv;
541 store->TexgenFunc[i] = texgen_normal_map_nv;
546 store->TexgenFunc[i] = texgen_sphere_map;
562 struct texgen_stage_data *store;
565 stage->privatePtr = CALLOC(sizeof(*store));
566 store = TEXGEN_STAGE_DATA(stage);
567 if (!store)
571 _mesa_vector4f_alloc( &store->texcoord[i], 0, VB->Size, 32 );
573 store->tmp_f = (GLfloat (*)[3]) MALLOC(VB->Size * sizeof(GLfloat) * 3);
574 store->tmp_m = (GLfloat *) MALLOC(VB->Size * sizeof(GLfloat));
583 struct texgen_stage_data *store = TEXGEN_STAGE_DATA(stage);
586 if (store) {
588 if (store->texcoord[i].data)
589 _mesa_vector4f_free( &store->texcoord[i] );
592 if (store->tmp_f) FREE( store->tmp_f );
593 if (store->tmp_m) FREE( store->tmp_m );
594 FREE( store );