Lines Matching refs:nvc0
59 nvc0_query_allocate(struct nvc0_context *nvc0, struct nvc0_query *q, int size) in nvc0_query_allocate() argument
61 struct nvc0_screen *screen = nvc0->screen; in nvc0_query_allocate()
82 nvc0_query_allocate(nvc0, q, 0); in nvc0_query_allocate()
100 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_query_create() local
138 if (!nvc0_query_allocate(nvc0, q, space)) { in nvc0_query_create()
172 nvc0_query_rotate(struct nvc0_context *nvc0, struct nvc0_query *q) in nvc0_query_rotate() argument
177 nvc0_query_allocate(nvc0, q, NVC0_QUERY_ALLOC_SPACE); in nvc0_query_rotate()
183 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_query_begin() local
184 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_query_begin()
192 nvc0_query_rotate(nvc0, q); in nvc0_query_begin()
207 q->nesting = nvc0->screen->num_occlusion_queries_active++; in nvc0_query_begin()
255 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_query_end() local
256 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_query_end()
262 nvc0_query_rotate(nvc0, q); in nvc0_query_end()
271 if (--nvc0->screen->num_occlusion_queries_active == 0) { in nvc0_query_end()
338 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_query_result() local
347 nvc0_query_update(nvc0->screen->base.client, q); in nvc0_query_result()
354 PUSH_KICK(nvc0->base.pushbuf); in nvc0_query_result()
358 if (nouveau_bo_wait(q->bo, NOUVEAU_BO_RD, nvc0->screen->base.client)) in nvc0_query_result()
430 struct nvc0_context *nvc0 = nvc0_context(pipe); in nvc0_render_condition() local
431 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_render_condition()
514 nvc0_init_query_functions(struct nvc0_context *nvc0) in nvc0_init_query_functions() argument
516 struct pipe_context *pipe = &nvc0->base.pipe; in nvc0_init_query_functions()