Lines Matching defs:command
92 /** buffers: command, state */
93 struct crocus_growing_bo command, state;
220 return batch->command.map_next - batch->command.map;
224 * Ensure the current command buffer has \param size bytes of space
237 } else if (used + size >= batch->command.bo->size) {
239 MIN2(batch->command.bo->size + batch->command.bo->size / 2,
243 batch->command.map_next = (void *)batch->command.map + used;
244 assert(crocus_batch_bytes_used(batch) + size < batch->command.bo->size);
249 * Allocate space in the current command buffer, and return a pointer
258 void *map = batch->command.map_next;
259 batch->command.map_next += bytes;