HomeSort by relevance Sort by last modified time
    Searched refs:nvc0 (Results 1 - 25 of 26) sorted by null

1 2

  /external/mesa3d/src/gallium/drivers/nvc0/
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_shader_state.c 31 nvc0_program_update_context_state(struct nvc0_context *nvc0,
34 struct nouveau_pushbuf *push = nvc0->base.pushbuf;
38 if (!nvc0->state.tls_required)
39 BCTX_REFN_bo(nvc0->bufctx_3d, TLS, flags, nvc0->screen->tls);
40 nvc0->state.tls_required |= 1 << stage;
42 if (nvc0->state.tls_required == (1 << stage))
43 nouveau_bufctx_reset(nvc0->bufctx_3d, NVC0_BIND_TLS);
44 nvc0->state.tls_required &= ~(1 << stage);
51 PUSH_DATAh(push, nvc0->screen->text->offset + prog->immd_base)
    [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...]
nvc0_tex.c 210 nvc0_validate_tic(struct nvc0_context *nvc0, int s)
213 struct nouveau_pushbuf *push = nvc0->base.pushbuf;
214 struct nouveau_bo *txc = nvc0->screen->txc;
219 for (i = 0; i < nvc0->num_textures[s]; ++i) {
220 struct nv50_tic_entry *tic = nv50_tic_entry(nvc0->textures[s][i]);
222 const boolean dirty = !!(nvc0->textures_dirty[s] & (1 << i));
232 tic->id = nvc0_screen_tic_alloc(nvc0->screen, tic);
252 nvc0->screen->tic.lock[tic->id / 32] |= 1 << (tic->id % 32);
261 BCTX_REFN(nvc0->bufctx_3d, TEX(s, i), res, RD);
263 for (; i < nvc0->state.num_textures[s]; ++i
    [all...]
nvc0_state_validate.c 7 nvc0_validate_zcull(struct nvc0_context *nvc0)
9 struct nouveau_pushbuf *push = nvc0->base.pushbuf;
10 struct pipe_framebuffer_state *fb = &nvc0->framebuffer;
56 nvc0_validate_fb(struct nvc0_context *nvc0)
58 struct nouveau_pushbuf *push = nvc0->base.pushbuf;
59 struct pipe_framebuffer_state *fb = &nvc0->framebuffer;
64 nouveau_bufctx_reset(nvc0->bufctx_3d, NVC0_BIND_FB);
120 BCTX_REFN(nvc0->bufctx_3d, FB, res, WR);
151 BCTX_REFN(nvc0->bufctx_3d, FB, &mt->base, WR);
164 nvc0_validate_blend_colour(struct nvc0_context *nvc0)
    [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...]
Makefile 4 LIBNAME = nvc0
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_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_push.c 39 init_push_context(struct nvc0_context *nvc0, struct push_context *ctx)
43 ctx->push = nvc0->base.pushbuf;
44 ctx->translate = nvc0->vertex->translate;
46 if (likely(nvc0->vertex->num_elements < 32))
47 ctx->need_vertex_id = nvc0->vertprog->vp.need_vertex_id;
54 if (unlikely(nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS)) {
55 ve = &nvc0->vertex->element[nvc0->vertprog->vp.edgeflag].pipe;
60 ctx->packet_vertex_limit = nvc0->vertex->vtx_per_packet_max;
65 ctx->vertex_words = nvc0->vertex->vtx_size
    [all...]
nvc0_vbo_translate.c 40 nvc0_push_context_init(struct nvc0_context *nvc0, struct push_context *ctx)
42 ctx->push = nvc0->base.pushbuf;
44 ctx->translate = nvc0->vertex->translate;
45 ctx->vertex_size = nvc0->vertex->size;
48 nvc0->vertprog->vp.need_vertex_id && (nvc0->vertex->num_elements < 32);
51 ctx->edgeflag.enabled = nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS;
59 nvc0_vertex_configure_translate(struct nvc0_context *nvc0, int32_t index_bias)
61 struct translate *translate = nvc0->vertex->translate;
64 for (i = 0; i < nvc0->num_vtxbufs; ++i)
    [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_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_program.c 649 nvc0_program_upload_code(struct nvc0_context *nvc0, struct nvc0_program *prog)
651 struct nvc0_screen *screen = nvc0->screen;
703 nvc0->base.push_data(&nvc0->base, screen->text, prog->code_base,
705 nvc0->base.push_data(&nvc0->base, screen->text,
709 nvc0->base.push_data(&nvc0->base,
713 BEGIN_NVC0(nvc0->base.pushbuf, NVC0_3D(MEM_BARRIER), 1);
714 PUSH_DATA (nvc0->base.pushbuf, 0x1011)
    [all...]
nvc0_miptree.c 289 bo_config.nvc0.memtype = nvc0_mt_choose_storage_type(mt, TRUE);
299 if (likely(bo_config.nvc0.memtype)) {
306 bo_config.nvc0.tile_mode = mt->level[0].tile_mode;
nvc0_winsys.h 96 return bo->config.nvc0.memtype;
  /external/libdrm/nouveau/
abi16.c 67 struct nvc0_fifo *nvc0 = obj->data; local
75 nvc0->base.channel = req.channel;
76 nvc0->base.pushbuf = req.pushbuf_domains;
77 nvc0->notify = req.notifier_handle;
78 nvc0->base.object->handle = req.channel;
79 nvc0->base.object->length = sizeof(*nvc0);
297 bo->config.nvc0.memtype = (info->tile_flags & 0xff00) >> 8;
298 bo->config.nvc0.tile_mode = info->tile_mode;
342 info->tile_flags = (config->nvc0.memtype & 0xff) << 8
    [all...]
nouveau.h 108 } nvc0; member in union:nouveau_bo_config
  /external/mesa3d/src/gallium/targets/xvmc-nouveau/
Makefile 9 $(TOP)/src/gallium/drivers/nvc0/libnvc0.a \
  /external/mesa3d/src/gallium/targets/dri-nouveau/
Makefile 13 $(TOP)/src/gallium/drivers/nvc0/libnvc0.a \
  /external/mesa3d/src/gallium/targets/vdpau-nouveau/
Makefile 12 $(TOP)/src/gallium/drivers/nvc0/libnvc0.a \
  /external/mesa3d/src/gallium/targets/xorg-nouveau/
Makefile 18 $(TOP)/src/gallium/drivers/nvc0/libnvc0.a \
  /external/mesa3d/src/gallium/
Android.mk 49 drivers/nvc0
  /external/mesa3d/src/gallium/targets/pipe-loader/
Makefile 44 $(TOP)/src/gallium/drivers/nvc0/libnvc0.a \
  /external/mesa3d/src/gallium/targets/egl-static/
Makefile 106 $(TOP)/src/gallium/drivers/nvc0/libnvc0.a \

Completed in 350 milliseconds

1 2