Lines Matching defs:count
148 vbo_try_prim_conversion(GLubyte *mode, unsigned *count)
150 if (*mode == GL_LINE_STRIP && *count == 2) {
154 *count == 3) {
269 const unsigned count = *pcount;
276 copy = count % 2;
279 copy = count % 3;
283 copy = count % 4;
286 copy = count % 6;
289 copy = MIN2(1, count);
296 copy = MIN2(3, count);
307 copy = count % 3;
309 copy = count % ctx->TessCtrlProgram.patch_vertices;
327 if (count == 0) {
329 } else if (count == 1) {
334 memcpy(dst + vertex_size, src + (count - 1) * vertex_size,
340 *pcount -= count % 2;
343 if (count <= 1)
344 copy = count;
346 copy = 2 + (count % 2);
357 memcpy(dst, src + (count - copy) * vertex_size,