Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_scene_queue.c42 #define SCENE_QUEUE_SIZE 4 macro
51 struct lp_scene *scenes[SCENE_QUEUE_SIZE];
71 STATIC_ASSERT(SCENE_QUEUE_SIZE > 0); in lp_scene_queue_create()
72 STATIC_ASSERT((SCENE_QUEUE_SIZE & (SCENE_QUEUE_SIZE - 1)) == 0); in lp_scene_queue_create()
113 struct lp_scene *scene = queue->scenes[queue->head++ % SCENE_QUEUE_SIZE]; in lp_scene_dequeue()
129 while (queue->tail - queue->head >= SCENE_QUEUE_SIZE) in lp_scene_enqueue()
132 queue->scenes[queue->tail++ % SCENE_QUEUE_SIZE] = scene; in lp_scene_enqueue()