Lines Matching refs:ob
141 unsigned ob;
144 int ob = state->output[slot].output_buffer;
149 if (!draw->so.targets[ob]) {
152 if ((buffer_total_bytes[ob] + write_size + dst_offset) >
153 draw->so.targets[ob]->target.buffer_size) {
157 for (ob = 0; ob < draw->so.num_targets; ++ob) {
158 buffer_total_bytes[ob] += state->stride[ob] * sizeof(float);
165 unsigned ob;
179 ob = state->output[slot].output_buffer;
180 buffer_written[ob] = TRUE;
182 buffer = (float *)((char *)draw->so.targets[ob]->mapping +
183 draw->so.targets[ob]->target.buffer_offset +
184 draw->so.targets[ob]->internal_offset) +
198 draw->so.targets[ob]->internal_offset,
208 for (ob = 0; ob < draw->so.num_targets; ++ob) {
209 struct draw_so_target *target = draw->so.targets[ob];
210 if (target && buffer_written[ob]) {
211 target->internal_offset += state->stride[ob] * sizeof(float);