Home
last modified time | relevance | path

Searched refs:temp_prim (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/mesa/vbo/
Dvbo_primitive_restart.c181 struct _mesa_prim temp_prim; in vbo_sw_primitive_restart() local
245 memcpy(&temp_prim, &prims[prim_num], sizeof (temp_prim)); in vbo_sw_primitive_restart()
251 temp_prim.start = MAX2(prims[prim_num].start, sub_prim->start); in vbo_sw_primitive_restart()
252 temp_prim.count = MIN2(sub_end_index, end_index) - temp_prim.start; in vbo_sw_primitive_restart()
253 if ((temp_prim.start == sub_prim->start) && in vbo_sw_primitive_restart()
254 (temp_prim.count == sub_prim->count)) { in vbo_sw_primitive_restart()
255 ctx->Driver.Draw(ctx, &temp_prim, 1, ib, GL_TRUE, in vbo_sw_primitive_restart()
260 ctx->Driver.Draw(ctx, &temp_prim, 1, ib, in vbo_sw_primitive_restart()