Home
last modified time | relevance | path

Searched refs:rfence (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/
Dr300_flush.c71 struct pb_buffer **rfence = (struct pb_buffer**)fence; in r300_flush() local
80 if (rfence) { in r300_flush()
82 *rfence = r300->rws->buffer_create(r300->rws, 1, 1, in r300_flush()
87 r300->rws->buffer_get_cs_handle(*rfence), in r300_flush()
94 if (rfence) { in r300_flush()
Dr300_screen.c486 struct pb_buffer *rfence = (struct pb_buffer*)fence; in r300_fence_signalled() local
488 return !rws->buffer_is_busy(rfence, RADEON_USAGE_READWRITE); in r300_fence_signalled()
496 struct pb_buffer *rfence = (struct pb_buffer*)fence; in r300_fence_finish() local
505 while (rws->buffer_is_busy(rfence, RADEON_USAGE_READWRITE)) { in r300_fence_finish()
514 rws->buffer_wait(rfence, RADEON_USAGE_READWRITE); in r300_fence_finish()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_pipe.c138 struct r600_fence **rfence = (struct r600_fence**)fence; in radeonsi_flush() local
142 if (rfence) in radeonsi_flush()
143 *rfence = r600_create_fence(rctx); in radeonsi_flush()
540 struct r600_fence *rfence = (struct r600_fence*)fence; in r600_fence_signalled() local
542 return rscreen->fences.data[rfence->index]; in r600_fence_signalled()
550 struct r600_fence *rfence = (struct r600_fence*)fence; in r600_fence_finish() local
561 while (rscreen->fences.data[rfence->index] == 0) { in r600_fence_finish()
564 rscreen->ws->buffer_wait(rfence->sleep_bo->buf, RADEON_USAGE_READWRITE); in r600_fence_finish()
570 if (!rscreen->ws->buffer_is_busy(rfence->sleep_bo->buf, RADEON_USAGE_READWRITE)) in r600_fence_finish()
586 return rscreen->fences.data[rfence->index] != 0; in r600_fence_finish()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe.c122 struct r600_fence **rfence = (struct r600_fence**)fence; in r600_flush() local
126 if (rfence) in r600_flush()
127 *rfence = r600_create_fence(rctx); in r600_flush()
726 struct r600_fence *rfence = (struct r600_fence*)fence; in r600_fence_signalled() local
728 return rscreen->fences.data[rfence->index] != 0; in r600_fence_signalled()
736 struct r600_fence *rfence = (struct r600_fence*)fence; in r600_fence_finish() local
747 while (rscreen->fences.data[rfence->index] == 0) { in r600_fence_finish()
750 rscreen->ws->buffer_wait(rfence->sleep_bo->buf, RADEON_USAGE_READWRITE); in r600_fence_finish()
756 if (!rscreen->ws->buffer_is_busy(rfence->sleep_bo->buf, RADEON_USAGE_READWRITE)) in r600_fence_finish()
772 return rscreen->fences.data[rfence->index] != 0; in r600_fence_finish()