Home
last modified time | relevance | path

Searched refs:batch_used (Results 1 – 17 of 17) sorted by relevance

/dports/x11-drivers/xf86-video-intel/xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564/src/uxa/
H A Dintel_batchbuffer.h74 intel->batch_atomic_limit = intel->batch_used + sz; in intel_batch_start_atomic()
82 assert(intel->batch_used <= intel->batch_atomic_limit); in intel_batch_end_atomic()
88 intel->batch_ptr[intel->batch_used++] = dword; in intel_batch_emit_dword()
98 if ((delta = intel->batch_used & (align - 1))) { in intel_batch_align()
101 intel->batch_used += delta; in intel_batch_align()
115 intel->batch_used * 4, in intel_batch_emit_reloc()
200 intel->batch_emit_start = intel->batch_used; \
227 if (intel->batch_used > \
231 intel->batch_used - intel->batch_emit_start, \
233 if (intel->batch_used < intel->batch_emit_start + \
[all …]
H A Dintel_batchbuffer.c92 intel->batch_used = 0; in intel_next_batch()
112 intel->batch_used = 0; in intel_batch_init()
245 if (intel->batch_used == 0) in intel_batch_submit()
262 if (intel->batch_used & 1) in intel_batch_submit()
268 fwrite (intel->batch_ptr, intel->batch_used*4, 1, file); in intel_batch_submit()
273 ret = dri_bo_subdata(intel->batch_bo, 0, intel->batch_used*4, intel->batch_ptr); in intel_batch_submit()
276 intel->batch_used*4, in intel_batch_submit()
H A Di915_3d.h611 _shader_offset = intel->batch_used++; \
618 (intel->batch_used - _shader_offset - 2); \
H A Di965_render.c1595 intel->surface_reloc = intel->batch_used; in i965_emit_composite_state()
1609 intel->surface_reloc = intel->batch_used; in i965_emit_composite_state()
1691 if ((intel->batch_used & 15) > (16 - 3)) { in i965_emit_composite_state()
1692 int cnt = 16 - (intel->batch_used & 15); in i965_emit_composite_state()
2288 intel->vertex_offset = intel->batch_used; in i965_composite()
2580 intel->surface_reloc = intel->batch_used; in gen6_composite_state_base_address()
H A Dintel.h131 unsigned int batch_used; member
H A Di830_render.c791 intel->vertex_index = intel->batch_used; in i830_emit_composite_primitive()
H A Di915_render.c979 intel->prim_offset = intel->batch_used; in i915_composite()
/dports/lang/clover/mesa-21.3.6/src/mesa/drivers/dri/i965/
H A Dbrw_batch.c549 const unsigned batch_used = USED_BATCH(*batch) * 4; in brw_batch_require_space() local
550 if (batch_used + sz >= BATCH_SZ && !batch->no_wrap) { in brw_batch_require_space()
552 } else if (batch_used + sz >= batch->batch.bo->size) { in brw_batch_require_space()
556 grow_buffer(brw, &batch->batch, batch_used, new_size); in brw_batch_require_space()
557 batch->map_next = (void *) batch->batch.map + batch_used; in brw_batch_require_space()
558 assert(batch_used + sz < batch->batch.bo->size); in brw_batch_require_space()
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/mesa/drivers/dri/i965/
H A Dbrw_batch.c549 const unsigned batch_used = USED_BATCH(*batch) * 4; in brw_batch_require_space() local
550 if (batch_used + sz >= BATCH_SZ && !batch->no_wrap) { in brw_batch_require_space()
552 } else if (batch_used + sz >= batch->batch.bo->size) { in brw_batch_require_space()
556 grow_buffer(brw, &batch->batch, batch_used, new_size); in brw_batch_require_space()
557 batch->map_next = (void *) batch->batch.map + batch_used; in brw_batch_require_space()
558 assert(batch_used + sz < batch->batch.bo->size); in brw_batch_require_space()
/dports/graphics/libosmesa/mesa-21.3.6/src/mesa/drivers/dri/i965/
H A Dbrw_batch.c549 const unsigned batch_used = USED_BATCH(*batch) * 4; in brw_batch_require_space() local
550 if (batch_used + sz >= BATCH_SZ && !batch->no_wrap) { in brw_batch_require_space()
552 } else if (batch_used + sz >= batch->batch.bo->size) { in brw_batch_require_space()
556 grow_buffer(brw, &batch->batch, batch_used, new_size); in brw_batch_require_space()
557 batch->map_next = (void *) batch->batch.map + batch_used; in brw_batch_require_space()
558 assert(batch_used + sz < batch->batch.bo->size); in brw_batch_require_space()
/dports/graphics/mesa-libs/mesa-21.3.6/src/mesa/drivers/dri/i965/
H A Dbrw_batch.c549 const unsigned batch_used = USED_BATCH(*batch) * 4; in brw_batch_require_space() local
550 if (batch_used + sz >= BATCH_SZ && !batch->no_wrap) { in brw_batch_require_space()
552 } else if (batch_used + sz >= batch->batch.bo->size) { in brw_batch_require_space()
556 grow_buffer(brw, &batch->batch, batch_used, new_size); in brw_batch_require_space()
557 batch->map_next = (void *) batch->batch.map + batch_used; in brw_batch_require_space()
558 assert(batch_used + sz < batch->batch.bo->size); in brw_batch_require_space()
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/mesa/drivers/dri/i965/
H A Dbrw_batch.c549 const unsigned batch_used = USED_BATCH(*batch) * 4; in brw_batch_require_space() local
550 if (batch_used + sz >= BATCH_SZ && !batch->no_wrap) { in brw_batch_require_space()
552 } else if (batch_used + sz >= batch->batch.bo->size) { in brw_batch_require_space()
556 grow_buffer(brw, &batch->batch, batch_used, new_size); in brw_batch_require_space()
557 batch->map_next = (void *) batch->batch.map + batch_used; in brw_batch_require_space()
558 assert(batch_used + sz < batch->batch.bo->size); in brw_batch_require_space()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/mesa/drivers/dri/i965/
H A Dbrw_batch.c549 const unsigned batch_used = USED_BATCH(*batch) * 4; in brw_batch_require_space() local
550 if (batch_used + sz >= BATCH_SZ && !batch->no_wrap) { in brw_batch_require_space()
552 } else if (batch_used + sz >= batch->batch.bo->size) { in brw_batch_require_space()
556 grow_buffer(brw, &batch->batch, batch_used, new_size); in brw_batch_require_space()
557 batch->map_next = (void *) batch->batch.map + batch_used; in brw_batch_require_space()
558 assert(batch_used + sz < batch->batch.bo->size); in brw_batch_require_space()
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/mesa/drivers/dri/i965/
H A Dintel_batchbuffer.c537 const unsigned batch_used = USED_BATCH(*batch) * 4; in intel_batchbuffer_require_space() local
538 if (batch_used + sz >= BATCH_SZ && !batch->no_wrap) { in intel_batchbuffer_require_space()
540 } else if (batch_used + sz >= batch->batch.bo->size) { in intel_batchbuffer_require_space()
544 grow_buffer(brw, &batch->batch, batch_used, new_size); in intel_batchbuffer_require_space()
545 batch->map_next = (void *) batch->batch.map + batch_used; in intel_batchbuffer_require_space()
546 assert(batch_used + sz < batch->batch.bo->size); in intel_batchbuffer_require_space()
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/mesa/drivers/dri/i965/
H A Dbrw_batch.c549 const unsigned batch_used = USED_BATCH(*batch) * 4; in brw_batch_require_space() local
550 if (batch_used + sz >= BATCH_SZ && !batch->no_wrap) { in brw_batch_require_space()
552 } else if (batch_used + sz >= batch->batch.bo->size) { in brw_batch_require_space()
556 grow_buffer(brw, &batch->batch, batch_used, new_size); in brw_batch_require_space()
557 batch->map_next = (void *) batch->batch.map + batch_used; in brw_batch_require_space()
558 assert(batch_used + sz < batch->batch.bo->size); in brw_batch_require_space()
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/mesa/drivers/dri/i965/
H A Dbrw_batch.c549 const unsigned batch_used = USED_BATCH(*batch) * 4; in brw_batch_require_space() local
550 if (batch_used + sz >= BATCH_SZ && !batch->no_wrap) { in brw_batch_require_space()
552 } else if (batch_used + sz >= batch->batch.bo->size) { in brw_batch_require_space()
556 grow_buffer(brw, &batch->batch, batch_used, new_size); in brw_batch_require_space()
557 batch->map_next = (void *) batch->batch.map + batch_used; in brw_batch_require_space()
558 assert(batch_used + sz < batch->batch.bo->size); in brw_batch_require_space()
/dports/graphics/mesa-dri/mesa-21.3.6/src/mesa/drivers/dri/i965/
H A Dbrw_batch.c549 const unsigned batch_used = USED_BATCH(*batch) * 4; in brw_batch_require_space() local
550 if (batch_used + sz >= BATCH_SZ && !batch->no_wrap) { in brw_batch_require_space()
552 } else if (batch_used + sz >= batch->batch.bo->size) { in brw_batch_require_space()
556 grow_buffer(brw, &batch->batch, batch_used, new_size); in brw_batch_require_space()
557 batch->map_next = (void *) batch->batch.map + batch_used; in brw_batch_require_space()
558 assert(batch_used + sz < batch->batch.bo->size); in brw_batch_require_space()