Searched refs:space_required (Results 1 – 2 of 2) sorted by relevance
288 GLuint space_required; in radeonEnsureEmitSize() local313 space_required = 0; in radeonEnsureEmitSize()332 space_required += vbuf; in radeonEnsureEmitSize()334 space_required += index + elts; in radeonEnsureEmitSize()335 space_required += VB->Primitive[i].count * 3; in radeonEnsureEmitSize()336 space_required += AOS_BUFSZ(nr_aos); in radeonEnsureEmitSize()338 space_required += SCISSOR_BUFSZ; in radeonEnsureEmitSize()341 if (rcommonEnsureCmdBufSpace(&rmesa->radeon, space_required, __FUNCTION__)) in radeonEnsureEmitSize()342 return space_required + radeonCountStateEmitSize( &rmesa->radeon ); in radeonEnsureEmitSize()344 return space_required + state_size; in radeonEnsureEmitSize()
296 GLuint space_required; in r200EnsureEmitSize() local311 space_required = 0; in r200EnsureEmitSize()331 space_required += vbuf; in r200EnsureEmitSize()333 space_required += index + elts; in r200EnsureEmitSize()334 space_required += AOS_BUFSZ(nr_aos); in r200EnsureEmitSize()340 __func__, space_required, AOS_BUFSZ(nr_aos) ); in r200EnsureEmitSize()342 if (rcommonEnsureCmdBufSpace(&rmesa->radeon, space_required + state_size, __FUNCTION__)) in r200EnsureEmitSize()343 return space_required + radeonCountStateEmitSize( &rmesa->radeon ); in r200EnsureEmitSize()345 return space_required + state_size; in r200EnsureEmitSize()