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

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A 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);
72 STATIC_ASSERT((SCENE_QUEUE_SIZE & (SCENE_QUEUE_SIZE - 1)) == 0);
113 struct lp_scene *scene = queue->scenes[queue->head++ % SCENE_QUEUE_SIZE];
129 while (queue->tail - queue->head >= SCENE_QUEUE_SIZE)
132 queue->scenes[queue->tail++ % SCENE_QUEUE_SIZE] = scene;

Completed in 2 milliseconds