Lines Matching defs:bin
96 const struct cmd_bin *bin = lp_scene_get_bin(scene, x, y);
97 if (bin->head) {
108 * at each bin.
117 /* Remove all commands from a bin. Tries to reuse some of the memory
118 * allocated to the bin, however.
123 struct cmd_bin *bin = lp_scene_get_bin(scene, x, y);
125 bin->last_state = NULL;
126 bin->head = bin->tail;
127 if (bin->tail) {
128 bin->tail->next = NULL;
129 bin->tail->count = 0;
205 struct cmd_bin *bin = lp_scene_get_bin(scene, i, j);
206 bin->head = NULL;
207 bin->tail = NULL;
208 bin->last_state = NULL;
276 struct cmd_bin *bin )
280 if (bin->tail) {
281 bin->tail->next = block;
282 bin->tail = block;
285 bin->head = block;
286 bin->tail = block;
321 * Return number of bytes used for all bin data within a scene.
418 /** advance curr_x,y to the next bin */
443 * Return pointer to next bin to be rendered.
446 * of work (a bin) to work on.
451 struct cmd_bin *bin = NULL;
456 /* first bin */
465 bin = lp_scene_get_bin(scene, scene->curr_x, scene->curr_y);
468 /*printf("return bin %p at %d, %d\n", (void *) bin, *bin_x, *bin_y);*/
470 return bin;