Home | History | Annotate | Download | only in i965

Lines Matching defs:brw

38 brw_track_state_batch(struct brw_context *brw,
43 struct intel_batchbuffer *batch = &brw->intel.batch;
45 if (!brw->state_batch_list) {
49 brw->state_batch_list = ralloc_size(brw, sizeof(*brw->state_batch_list) *
53 brw->state_batch_list[brw->state_batch_count].offset = offset;
54 brw->state_batch_list[brw->state_batch_count].size = size;
55 brw->state_batch_list[brw->state_batch_count].type = type;
56 brw->state_batch_count++;
84 struct brw_context *brw = brw_context(&intel->ctx);
86 unsigned annotation_count = 2 * brw->state_batch_count + 1;
91 for (int i = brw->state_batch_count; i-- > 0; ) {
92 uint32_t type = brw->state_batch_list[i].type;
93 uint32_t start_offset = brw->state_batch_list[i].offset;
94 uint32_t end_offset = start_offset + brw->state_batch_list[i].size;
120 brw_state_batch(struct brw_context *brw,
126 struct intel_batchbuffer *batch = &brw->intel.batch;
138 intel_batchbuffer_flush(&brw->intel);
145 brw_track_state_batch(brw, type, offset, size);