Home
last modified time | relevance | path

Searched refs:space_required (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tcl.c290 GLuint space_required; in radeonEnsureEmitSize() local
315 space_required = 0; in radeonEnsureEmitSize()
334 space_required += vbuf; in radeonEnsureEmitSize()
336 space_required += index + elts; in radeonEnsureEmitSize()
337 space_required += VB->Primitive[i].count * 3; in radeonEnsureEmitSize()
338 space_required += AOS_BUFSZ(nr_aos); in radeonEnsureEmitSize()
340 space_required += SCISSOR_BUFSZ; in radeonEnsureEmitSize()
343 if (rcommonEnsureCmdBufSpace(&rmesa->radeon, space_required, __func__)) in radeonEnsureEmitSize()
344 return space_required + radeonCountStateEmitSize( &rmesa->radeon ); in radeonEnsureEmitSize()
346 return space_required + state_size; in radeonEnsureEmitSize()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tcl.c295 GLuint space_required; in r200EnsureEmitSize() local
310 space_required = 0; in r200EnsureEmitSize()
330 space_required += vbuf; in r200EnsureEmitSize()
332 space_required += index + elts; in r200EnsureEmitSize()
333 space_required += AOS_BUFSZ(nr_aos); in r200EnsureEmitSize()
339 __func__, space_required, AOS_BUFSZ(nr_aos) ); in r200EnsureEmitSize()
341 if (rcommonEnsureCmdBufSpace(&rmesa->radeon, space_required + state_size, __func__)) in r200EnsureEmitSize()
342 return space_required + radeonCountStateEmitSize( &rmesa->radeon ); in r200EnsureEmitSize()
344 return space_required + state_size; in r200EnsureEmitSize()