Lines Matching defs:bin
84 /* We'll need at least one command block per bin. Make sure that's
122 const struct cmd_bin *bin = lp_scene_get_bin(scene, x, y);
123 if (bin->head) {
134 * check success at each bin.
143 /* Remove all commands from a bin. Tries to reuse some of the memory
144 * allocated to the bin, however.
149 struct cmd_bin *bin = lp_scene_get_bin(scene, x, y);
151 bin->last_state = NULL;
152 bin->head = bin->tail;
153 if (bin->tail) {
154 bin->tail->next = NULL;
155 bin->tail->count = 0;
340 struct cmd_bin *bin )
344 if (bin->tail) {
345 bin->tail->next = block;
346 bin->tail = block;
349 bin->head = block;
350 bin->tail = block;
385 * Return number of bytes used for all bin data within a scene.
544 /** advance curr_x,y to the next bin */
569 * Return pointer to next bin to be rendered.
572 * of work (a bin) to work on.
577 struct cmd_bin *bin = NULL;
582 /* first bin */
591 bin = lp_scene_get_bin(scene, scene->curr_x, scene->curr_y);
596 /*printf("return bin %p at %d, %d\n", (void *) bin, *bin_x, *bin_y);*/
598 return bin;