Lines Matching refs:num_coords
91 def PrintFunction( func_name, extSuffix, num_coords, argtype,
142 func_name = 'VertexAttrib%d%sv' % (num_coords, argtype)
144 func_name = 'Vertex%d%sv' % (num_coords,argtype)
154 packet_length = num_coords * apiutil.sizeof(vector_type)
188 print "\tCREATE_%dD_VFLOATS_%s_NORMALIZED();" % (num_coords, t)
190 print "\tCREATE_%dD_FLOATS_%s_NORMALIZED();" % (num_coords, t)
193 print "\tCREATE_%dD_VFLOATS();" % num_coords
195 print "\tCREATE_%dD_FLOATS();" % num_coords
205 if num_coords < 4:
206 print "\t\tUPDATE_%dD_BBOX();" % num_coords
214 print "\t\tpc->current.c.vertexAttrib.%s%d[index] = data_ptr + 4;" % (t, num_coords)
240 for index in range(num_coords):
271 for num_coords in [2,3,4]:
273 func_name = 'Vertex%d%s' % (num_coords, argtype)
277 PrintFunction( func_name, "", num_coords, argtype, swap,
280 for num_coords in [1,2,3,4]:
282 func_name = 'VertexAttrib%d%s' % (num_coords, argtype)
286 PrintFunction( func_name, "ARB", num_coords, argtype, swap,
304 num_coords = 4
307 PrintFunction( func_name, "ARB", num_coords, argtype, swap, count, vec )
313 num_coords = 4
316 PrintFunction( func_name, "ARB", num_coords, argtype, swap, count, vec )