/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_draw.c | 29 struct nvc0_context *nvc0; member in struct:nvc0_render_stage 74 nvc0_draw_render_stage(struct nvc0_context *nvc0) 78 rs->nvc0 = nvc0; 79 rs->stage.draw = nvc0->draw;
|
nvc0_context.c | 38 struct nvc0_context *nvc0 = nvc0_context(pipe); local 39 struct nouveau_screen *screen = &nvc0->screen->base; 44 PUSH_KICK(nvc0->base.pushbuf); /* fencing handled in kick_notify */ 57 nvc0_context_unreference_resources(struct nvc0_context *nvc0) 61 nouveau_bufctx_del(&nvc0->bufctx_3d); 62 nouveau_bufctx_del(&nvc0->bufctx); 64 util_unreference_framebuffer_state(&nvc0->framebuffer); 66 for (i = 0; i < nvc0->num_vtxbufs; ++i) 67 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, NULL); 69 pipe_resource_reference(&nvc0->idxbuf.buffer, NULL) 87 struct nvc0_context *nvc0 = nvc0_context(pipe); local 122 struct nvc0_context *nvc0; local [all...] |
nvc0_query.c | 59 nvc0_query_allocate(struct nvc0_context *nvc0, struct nvc0_query *q, int size) 61 struct nvc0_screen *screen = nvc0->screen; 82 nvc0_query_allocate(nvc0, q, 0); 100 struct nvc0_context *nvc0 = nvc0_context(pipe); local 138 if (!nvc0_query_allocate(nvc0, q, space)) { 172 nvc0_query_rotate(struct nvc0_context *nvc0, struct nvc0_query *q) 177 nvc0_query_allocate(nvc0, q, NVC0_QUERY_ALLOC_SPACE); 183 struct nvc0_context *nvc0 = nvc0_context(pipe); local 184 struct nouveau_pushbuf *push = nvc0->base.pushbuf; 192 nvc0_query_rotate(nvc0, q) 255 struct nvc0_context *nvc0 = nvc0_context(pipe); local 338 struct nvc0_context *nvc0 = nvc0_context(pipe); local 430 struct nvc0_context *nvc0 = nvc0_context(pipe); local [all...] |
nvc0_transfer.c | 17 nvc0_m2mf_transfer_rect(struct nvc0_context *nvc0, 22 struct nouveau_pushbuf *push = nvc0->base.pushbuf; 23 struct nouveau_bufctx *bctx = nvc0->bufctx; 112 nve4_m2mf_transfer_rect(struct nvc0_context *nvc0, 117 struct nouveau_pushbuf *push = nvc0->base.pushbuf; 118 struct nouveau_bufctx *bctx = nvc0->bufctx; 181 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); local 186 nouveau_bufctx_refn(nvc0->bufctx, 0, dst, domain | NOUVEAU_BO_WR); 187 nouveau_pushbuf_bufctx(push, nvc0->bufctx); 218 nouveau_bufctx_reset(nvc0->bufctx, 0) 226 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); local 336 struct nvc0_context *nvc0 = nvc0_context(pctx); local 411 struct nvc0_context *nvc0 = nvc0_context(pctx); local 438 struct nvc0_context *nvc0 = nvc0_context(pctx); local [all...] |
nvc0_state.c | 194 struct nvc0_context *nvc0 = nvc0_context(pipe); local 196 nvc0->blend = hwcso; 197 nvc0->dirty |= NVC0_NEW_BLEND; 322 struct nvc0_context *nvc0 = nvc0_context(pipe); local 324 nvc0->rast = hwcso; 325 nvc0->dirty |= NVC0_NEW_RASTERIZER; 393 struct nvc0_context *nvc0 = nvc0_context(pipe); local 395 nvc0->zsa = hwcso; 396 nvc0->dirty |= NVC0_NEW_ZSA; 445 nvc0_stage_sampler_states_bind(struct nvc0_context *nvc0, int s 608 struct nvc0_context *nvc0 = nvc0_context(pipe); local 624 struct nvc0_context *nvc0 = nvc0_context(pipe); local 640 struct nvc0_context *nvc0 = nvc0_context(pipe); local 650 struct nvc0_context *nvc0 = nvc0_context(pipe); local 688 struct nvc0_context *nvc0 = nvc0_context(pipe); local 698 struct nvc0_context *nvc0 = nvc0_context(pipe); local 708 struct nvc0_context *nvc0 = nvc0_context(pipe); local 718 struct nvc0_context *nvc0 = nvc0_context(pipe); local 729 struct nvc0_context *nvc0 = nvc0_context(pipe); local 753 struct nvc0_context *nvc0 = nvc0_context(pipe); local 763 struct nvc0_context *nvc0 = nvc0_context(pipe); local 773 struct nvc0_context *nvc0 = nvc0_context(pipe); local 784 struct nvc0_context *nvc0 = nvc0_context(pipe); local 840 struct nvc0_context *nvc0 = nvc0_context(pipe); local 864 struct nvc0_context *nvc0 = nvc0_context(pipe); local 912 struct nvc0_context *nvc0 = nvc0_context(pipe); local [all...] |
nvc0_surface.c | 206 struct nvc0_context *nvc0 = nvc0_context(pipe); local 238 nvc0->m2mf_copy_rect(nvc0, &drect, &srect, nx, ny); 256 BCTX_REFN(nvc0->bufctx, 2D, nv04_resource(src), RD); 257 BCTX_REFN(nvc0->bufctx, 2D, nv04_resource(dst), WR); 258 nouveau_pushbuf_bufctx(nvc0->base.pushbuf, nvc0->bufctx); 259 nouveau_pushbuf_validate(nvc0->base.pushbuf); 262 ret = nvc0_2d_texture_do_copy(nvc0->base.pushbuf, 271 nouveau_bufctx_reset(nvc0->bufctx, 0) 281 struct nvc0_context *nvc0 = nvc0_context(pipe); local 351 struct nvc0_context *nvc0 = nvc0_context(pipe); local 404 struct nvc0_context *nvc0 = nvc0_context(pipe); local 952 struct nvc0_context *nvc0 = nvc0_context(pipe); local [all...] |
nvc0_vbo.c | 166 nvc0_set_constant_vertex_attrib(struct nvc0_context *nvc0, const unsigned a) 168 struct nouveau_pushbuf *push = nvc0->base.pushbuf; 169 struct pipe_vertex_element *ve = &nvc0->vertex->element[a].pipe; 170 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index]; 199 nvc0_user_vbuf_range(struct nvc0_context *nvc0, int vbi, 202 if (unlikely(nvc0->vertex->instance_bufs & (1 << vbi))) { 203 const uint32_t div = nvc0->vertex->min_instance_div[vbi]; 204 *base = nvc0->instance_off * nvc0->vtxbuf[vbi].stride; 205 *size = (nvc0->instance_max / div) * nvc0->vtxbuf[vbi].stride 787 struct nvc0_context *nvc0 = nvc0_context(pipe); local [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_draw.c | 29 struct nvc0_context *nvc0; member in struct:nvc0_render_stage 74 nvc0_draw_render_stage(struct nvc0_context *nvc0) 78 rs->nvc0 = nvc0; 79 rs->stage.draw = nvc0->draw;
|
nvc0_context.c | 38 struct nvc0_context *nvc0 = nvc0_context(pipe); local 39 struct nouveau_screen *screen = &nvc0->screen->base; 44 PUSH_KICK(nvc0->base.pushbuf); /* fencing handled in kick_notify */ 57 nvc0_context_unreference_resources(struct nvc0_context *nvc0) 61 nouveau_bufctx_del(&nvc0->bufctx_3d); 62 nouveau_bufctx_del(&nvc0->bufctx); 64 util_unreference_framebuffer_state(&nvc0->framebuffer); 66 for (i = 0; i < nvc0->num_vtxbufs; ++i) 67 pipe_resource_reference(&nvc0->vtxbuf[i].buffer, NULL); 69 pipe_resource_reference(&nvc0->idxbuf.buffer, NULL) 87 struct nvc0_context *nvc0 = nvc0_context(pipe); local 122 struct nvc0_context *nvc0; local [all...] |
nvc0_query.c | 59 nvc0_query_allocate(struct nvc0_context *nvc0, struct nvc0_query *q, int size) 61 struct nvc0_screen *screen = nvc0->screen; 82 nvc0_query_allocate(nvc0, q, 0); 100 struct nvc0_context *nvc0 = nvc0_context(pipe); local 138 if (!nvc0_query_allocate(nvc0, q, space)) { 172 nvc0_query_rotate(struct nvc0_context *nvc0, struct nvc0_query *q) 177 nvc0_query_allocate(nvc0, q, NVC0_QUERY_ALLOC_SPACE); 183 struct nvc0_context *nvc0 = nvc0_context(pipe); local 184 struct nouveau_pushbuf *push = nvc0->base.pushbuf; 192 nvc0_query_rotate(nvc0, q) 255 struct nvc0_context *nvc0 = nvc0_context(pipe); local 338 struct nvc0_context *nvc0 = nvc0_context(pipe); local 430 struct nvc0_context *nvc0 = nvc0_context(pipe); local [all...] |
nvc0_transfer.c | 17 nvc0_m2mf_transfer_rect(struct nvc0_context *nvc0, 22 struct nouveau_pushbuf *push = nvc0->base.pushbuf; 23 struct nouveau_bufctx *bctx = nvc0->bufctx; 112 nve4_m2mf_transfer_rect(struct nvc0_context *nvc0, 117 struct nouveau_pushbuf *push = nvc0->base.pushbuf; 118 struct nouveau_bufctx *bctx = nvc0->bufctx; 181 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); local 186 nouveau_bufctx_refn(nvc0->bufctx, 0, dst, domain | NOUVEAU_BO_WR); 187 nouveau_pushbuf_bufctx(push, nvc0->bufctx); 218 nouveau_bufctx_reset(nvc0->bufctx, 0) 226 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); local 336 struct nvc0_context *nvc0 = nvc0_context(pctx); local 411 struct nvc0_context *nvc0 = nvc0_context(pctx); local 438 struct nvc0_context *nvc0 = nvc0_context(pctx); local [all...] |
nvc0_state.c | 194 struct nvc0_context *nvc0 = nvc0_context(pipe); local 196 nvc0->blend = hwcso; 197 nvc0->dirty |= NVC0_NEW_BLEND; 322 struct nvc0_context *nvc0 = nvc0_context(pipe); local 324 nvc0->rast = hwcso; 325 nvc0->dirty |= NVC0_NEW_RASTERIZER; 393 struct nvc0_context *nvc0 = nvc0_context(pipe); local 395 nvc0->zsa = hwcso; 396 nvc0->dirty |= NVC0_NEW_ZSA; 445 nvc0_stage_sampler_states_bind(struct nvc0_context *nvc0, int s 608 struct nvc0_context *nvc0 = nvc0_context(pipe); local 624 struct nvc0_context *nvc0 = nvc0_context(pipe); local 640 struct nvc0_context *nvc0 = nvc0_context(pipe); local 650 struct nvc0_context *nvc0 = nvc0_context(pipe); local 688 struct nvc0_context *nvc0 = nvc0_context(pipe); local 698 struct nvc0_context *nvc0 = nvc0_context(pipe); local 708 struct nvc0_context *nvc0 = nvc0_context(pipe); local 718 struct nvc0_context *nvc0 = nvc0_context(pipe); local 729 struct nvc0_context *nvc0 = nvc0_context(pipe); local 753 struct nvc0_context *nvc0 = nvc0_context(pipe); local 763 struct nvc0_context *nvc0 = nvc0_context(pipe); local 773 struct nvc0_context *nvc0 = nvc0_context(pipe); local 784 struct nvc0_context *nvc0 = nvc0_context(pipe); local 840 struct nvc0_context *nvc0 = nvc0_context(pipe); local 864 struct nvc0_context *nvc0 = nvc0_context(pipe); local 912 struct nvc0_context *nvc0 = nvc0_context(pipe); local [all...] |
nvc0_surface.c | 206 struct nvc0_context *nvc0 = nvc0_context(pipe); local 238 nvc0->m2mf_copy_rect(nvc0, &drect, &srect, nx, ny); 256 BCTX_REFN(nvc0->bufctx, 2D, nv04_resource(src), RD); 257 BCTX_REFN(nvc0->bufctx, 2D, nv04_resource(dst), WR); 258 nouveau_pushbuf_bufctx(nvc0->base.pushbuf, nvc0->bufctx); 259 nouveau_pushbuf_validate(nvc0->base.pushbuf); 262 ret = nvc0_2d_texture_do_copy(nvc0->base.pushbuf, 271 nouveau_bufctx_reset(nvc0->bufctx, 0) 281 struct nvc0_context *nvc0 = nvc0_context(pipe); local 351 struct nvc0_context *nvc0 = nvc0_context(pipe); local 404 struct nvc0_context *nvc0 = nvc0_context(pipe); local 952 struct nvc0_context *nvc0 = nvc0_context(pipe); local [all...] |
nvc0_vbo.c | 166 nvc0_set_constant_vertex_attrib(struct nvc0_context *nvc0, const unsigned a) 168 struct nouveau_pushbuf *push = nvc0->base.pushbuf; 169 struct pipe_vertex_element *ve = &nvc0->vertex->element[a].pipe; 170 struct pipe_vertex_buffer *vb = &nvc0->vtxbuf[ve->vertex_buffer_index]; 199 nvc0_user_vbuf_range(struct nvc0_context *nvc0, int vbi, 202 if (unlikely(nvc0->vertex->instance_bufs & (1 << vbi))) { 203 const uint32_t div = nvc0->vertex->min_instance_div[vbi]; 204 *base = nvc0->instance_off * nvc0->vtxbuf[vbi].stride; 205 *size = (nvc0->instance_max / div) * nvc0->vtxbuf[vbi].stride 787 struct nvc0_context *nvc0 = nvc0_context(pipe); local [all...] |