Lines Matching refs:tnl
123 TNLcontext *tnl = TNL_CONTEXT(ctx); in validate_shine_table() local
124 struct tnl_shine_tab *list = tnl->_ShineTabList; in validate_shine_table()
164 if (tnl->_ShineTable[side]) in validate_shine_table()
165 tnl->_ShineTable[side]->refcount--; in validate_shine_table()
167 tnl->_ShineTable[side] = s; in validate_shine_table()
176 TNLcontext *tnl = TNL_CONTEXT(ctx); in _tnl_validate_shine_tables() local
180 if (!tnl->_ShineTable[0] || tnl->_ShineTable[0]->shininess != shininess) in _tnl_validate_shine_tables()
184 if (!tnl->_ShineTable[1] || tnl->_ShineTable[1]->shininess != shininess) in _tnl_validate_shine_tables()
279 TNLcontext *tnl = TNL_CONTEXT(ctx); in lookup_shininess() local
280 const struct tnl_shine_tab *tab = tnl->_ShineTable[face]; in lookup_shininess()
332 TNLcontext *tnl = TNL_CONTEXT(ctx); in run_lighting() local
333 struct vertex_buffer *VB = &tnl->vb; in run_lighting()
424 TNLcontext *tnl = TNL_CONTEXT(ctx); in init_lighting() local
426 GLuint size = tnl->vb.Size; in init_lighting()