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

1 2

  /external/mesa3d/src/gallium/drivers/nv50/
nv50_context.c 71 nv50_context_unreference_resources(struct nv50_context *nv50)
75 nouveau_bufctx_del(&nv50->bufctx_3d);
76 nouveau_bufctx_del(&nv50->bufctx);
78 util_unreference_framebuffer_state(&nv50->framebuffer);
80 for (i = 0; i < nv50->num_vtxbufs; ++i)
81 pipe_resource_reference(&nv50->vtxbuf[i].buffer, NULL);
83 pipe_resource_reference(&nv50->idxbuf.buffer, NULL);
86 for (i = 0; i < nv50->num_textures[s]; ++i)
87 pipe_sampler_view_reference(&nv50->textures[s][i], NULL);
90 if (!nv50->constbuf[s][i].user
98 struct nv50_context *nv50 = nv50_context(pipe); local
121 struct nv50_context *nv50; local
    [all...]
nv50_state_validate.c 6 nv50_validate_fb(struct nv50_context *nv50)
8 struct nouveau_pushbuf *push = nv50->base.pushbuf;
9 struct pipe_framebuffer_state *fb = &nv50->framebuffer;
13 nouveau_bufctx_reset(nv50->bufctx_3d, NV50_BIND_FB);
54 nv50->state.rt_serialize = TRUE;
59 BCTX_REFN(nv50->bufctx_3d, FB, &mt->base, WR);
84 nv50->state.rt_serialize = TRUE;
88 BCTX_REFN(nv50->bufctx_3d, FB, &mt->base, WR);
103 nv50_validate_blend_colour(struct nv50_context *nv50)
105 struct nouveau_pushbuf *push = nv50->base.pushbuf
    [all...]
nv50_vbo.c 135 nv50_emit_vtxattr(struct nv50_context *nv50, struct pipe_vertex_buffer *vb,
138 struct nouveau_pushbuf *push = nv50->base.pushbuf;
167 if (attr == nv50->vertprog->vp.edgeflag) {
181 nv50_user_vbuf_range(struct nv50_context *nv50, int vbi,
184 if (unlikely(nv50->vertex->instance_bufs & (1 << vbi))) {
187 *size = nv50->vtxbuf[vbi].buffer->width0;
190 assert(nv50->vb_elt_limit != ~0);
191 *base = nv50->vb_elt_first * nv50->vtxbuf[vbi].stride;
192 *size = nv50->vb_elt_limit * nv50->vtxbuf[vbi].stride
718 struct nv50_context *nv50 = nv50_context(pipe); local
    [all...]
nv50_shader_state.c 32 nv50_constbufs_validate(struct nv50_context *nv50)
34 struct nouveau_pushbuf *push = nv50->base.pushbuf;
48 while (nv50->constbuf_dirty[s]) {
49 const int i = ffs(nv50->constbuf_dirty[s]) - 1;
50 nv50->constbuf_dirty[s] &= ~(1 << i);
52 if (nv50->constbuf[s][i].user) {
55 unsigned words = nv50->constbuf[s][0].size / 4;
60 if (!nv50->state.uniform_buffer_bound[s]) {
61 nv50->state.uniform_buffer_bound[s] = TRUE;
77 PUSH_DATAp(push, &nv50->constbuf[s][0].u.data[start * 4], nr)
    [all...]
Makefile 4 LIBNAME = nv50
nv50_state.c 210 struct nv50_context *nv50 = nv50_context(pipe); local
212 nv50->blend = hwcso;
213 nv50->dirty |= NV50_NEW_BLEND;
339 struct nv50_context *nv50 = nv50_context(pipe); local
341 nv50->rast = hwcso;
342 nv50->dirty |= NV50_NEW_RASTERIZER;
418 struct nv50_context *nv50 = nv50_context(pipe); local
420 nv50->zsa = hwcso;
421 nv50->dirty |= NV50_NEW_ZSA;
561 nv50_stage_sampler_states_bind(struct nv50_context *nv50, int s
710 struct nv50_context *nv50 = nv50_context(pipe); local
726 struct nv50_context *nv50 = nv50_context(pipe); local
742 struct nv50_context *nv50 = nv50_context(pipe); local
752 struct nv50_context *nv50 = nv50_context(pipe); local
793 struct nv50_context *nv50 = nv50_context(pipe); local
803 struct nv50_context *nv50 = nv50_context(pipe); local
813 struct nv50_context *nv50 = nv50_context(pipe); local
823 struct nv50_context *nv50 = nv50_context(pipe); local
834 struct nv50_context *nv50 = nv50_context(pipe); local
858 struct nv50_context *nv50 = nv50_context(pipe); local
868 struct nv50_context *nv50 = nv50_context(pipe); local
878 struct nv50_context *nv50 = nv50_context(pipe); local
889 struct nv50_context *nv50 = nv50_context(pipe); local
920 struct nv50_context *nv50 = nv50_context(pipe); local
942 struct nv50_context *nv50 = nv50_context(pipe); local
996 struct nv50_context *nv50 = nv50_context(pipe); local
    [all...]
nv50_draw.c 29 struct nv50_context *nv50; member in struct:nv50_render_stage
74 nv50_draw_render_stage(struct nv50_context *nv50)
78 rs->nv50 = nv50;
79 rs->stage.draw = nv50->draw;
nv50_tex.c 200 nv50_validate_tic(struct nv50_context *nv50, int s)
202 struct nouveau_pushbuf *push = nv50->base.pushbuf;
203 struct nouveau_bo *txc = nv50->screen->txc;
207 for (i = 0; i < nv50->num_textures[s]; ++i) {
208 struct nv50_tic_entry *tic = nv50_tic_entry(nv50->textures[s][i]);
219 tic->id = nv50_screen_tic_alloc(nv50->screen, tic);
254 nv50->screen->tic.lock[tic->id / 32] |= 1 << (tic->id % 32);
259 BCTX_REFN(nv50->bufctx_3d, TEXTURES, res, RD);
264 for (; i < nv50->state.num_textures[s]; ++i) {
268 nv50->state.num_textures[s] = nv50->num_textures[s]
    [all...]
nv50_surface.c 199 struct nv50_context *nv50 = nv50_context(pipe); local
231 nv50_m2mf_transfer_rect(nv50, &drect, &srect, nx, ny);
250 BCTX_REFN(nv50->bufctx, 2D, nv04_resource(src), RD);
251 BCTX_REFN(nv50->bufctx, 2D, nv04_resource(dst), WR);
252 nouveau_pushbuf_bufctx(nv50->base.pushbuf, nv50->bufctx);
253 nouveau_pushbuf_validate(nv50->base.pushbuf);
256 ret = nv50_2d_texture_do_copy(nv50->base.pushbuf,
265 nouveau_bufctx_reset(nv50->bufctx, NV50_BIND_2D);
275 struct nv50_context *nv50 = nv50_context(pipe) local
333 struct nv50_context *nv50 = nv50_context(pipe); local
385 struct nv50_context *nv50 = nv50_context(pipe); local
866 struct nv50_context *nv50 = nv50_context(pipe); local
    [all...]
nv50_push.c 209 nv50_push_vbo(struct nv50_context *nv50, const struct pipe_draw_info *info)
217 ctx.push = nv50->base.pushbuf;
218 ctx.translate = nv50->vertex->translate;
219 ctx.packet_vertex_limit = nv50->vertex->packet_vertex_limit;
220 ctx.vertex_words = nv50->vertex->vertex_size;
222 for (i = 0; i < nv50->num_vtxbufs; ++i) {
223 const struct pipe_vertex_buffer *vb = &nv50->vtxbuf[i];
227 data = nouveau_resource_map_offset(&nv50->base,
232 if (apply_bias && likely(!(nv50->vertex->instance_bufs & (1 << i))))
239 if (nv50->idxbuf.buffer)
    [all...]
nv50_query.c 60 nv50_query_allocate(struct nv50_context *nv50, struct nv50_query *q, int size)
62 struct nv50_screen *screen = nv50->screen;
83 nv50_query_allocate(nv50, q, 0);
101 struct nv50_context *nv50 = nv50_context(pipe); local
108 if (!nv50_query_allocate(nv50, q, NV50_QUERY_ALLOC_SPACE)) {
144 struct nv50_context *nv50 = nv50_context(pipe); local
145 struct nouveau_pushbuf *push = nv50->base.pushbuf;
156 nv50_query_allocate(nv50, q, NV50_QUERY_ALLOC_SPACE);
197 struct nv50_context *nv50 = nv50_context(pipe); local
198 struct nouveau_pushbuf *push = nv50->base.pushbuf
249 struct nv50_context *nv50 = nv50_context(pipe); local
326 struct nv50_context *nv50 = nv50_context(pipe); local
    [all...]
nv50_transfer.c 53 nv50_m2mf_transfer_rect(struct nv50_context *nv50,
58 struct nouveau_pushbuf *push = nv50->base.pushbuf;
59 struct nouveau_bufctx *bctx = nv50->bufctx;
151 struct nv50_context *nv50 = nv50_context(&nv->pipe); local
152 struct nouveau_pushbuf *push = nv50->base.pushbuf;
157 nouveau_bufctx_refn(nv50->bufctx, 0, dst, domain | NOUVEAU_BO_WR);
158 nouveau_pushbuf_bufctx(push, nv50->bufctx);
204 nouveau_bufctx_reset(nv50->bufctx, 0);
256 struct nv50_context *nv50 = nv50_context(pctx); local
257 struct nouveau_device *dev = nv50->screen->base.device
330 struct nv50_context *nv50 = nv50_context(pctx); local
    [all...]
nv50_program.c 374 nv50_program_upload_code(struct nv50_context *nv50, struct nv50_program *prog)
381 case PIPE_SHADER_VERTEX: heap = nv50->screen->vp_code_heap; break;
382 case PIPE_SHADER_GEOMETRY: heap = nv50->screen->fp_code_heap; break;
383 case PIPE_SHADER_FRAGMENT: heap = nv50->screen->gp_code_heap; break;
403 ret = nv50_tls_realloc(nv50->screen, prog->tls_space);
407 nv50->state.new_tls_space = TRUE;
412 nv50_sifc_linear_u8(&nv50->base, nv50->screen->code,
416 BEGIN_NV04(nv50->base.pushbuf, NV50_3D(CODE_CB_FLUSH), 1);
417 PUSH_DATA (nv50->base.pushbuf, 0)
    [all...]
nv50_context.h 166 nv50_context_screen(struct nv50_context *nv50)
168 return nv50_screen(&nv50->base.screen->base);
271 void nv50_vertex_arrays_validate(struct nv50_context *nv50);
nv50_miptree.c 272 bo_config.nv50.memtype = nv50_mt_choose_storage_type(mt, TRUE);
279 if (bo_config.nv50.memtype != 0) {
286 bo_config.nv50.tile_mode = mt->level[0].tile_mode;
338 mt->level[0].tile_mode = mt->base.bo->config.nv50.tile_mode;
nv50_winsys.h 86 return bo->config.nv50.memtype;
114 /* long, non-incremental, nv50-only */
  /external/mesa3d/src/gallium/targets/xvmc-nouveau/
Makefile 8 $(TOP)/src/gallium/drivers/nv50/libnv50.a \
  /external/mesa3d/src/gallium/targets/dri-nouveau/
Makefile 12 $(TOP)/src/gallium/drivers/nv50/libnv50.a \
  /external/mesa3d/src/gallium/targets/vdpau-nouveau/
Makefile 11 $(TOP)/src/gallium/drivers/nv50/libnv50.a \
  /external/mesa3d/src/gallium/targets/xorg-nouveau/
Makefile 17 $(TOP)/src/gallium/drivers/nv50/libnv50.a \
  /external/libdrm/nouveau/
abi16.c 301 bo->config.nv50.memtype = (info->tile_flags & 0x07f00) >> 8 |
303 bo->config.nv50.tile_mode = info->tile_mode << 4;
346 info->tile_flags = (config->nv50.memtype & 0x07f) << 8 |
347 (config->nv50.memtype & 0x180) << 9;
348 info->tile_mode = config->nv50.tile_mode >> 4;
nouveau.h 104 } nv50; member in union:nouveau_bo_config
  /external/mesa3d/src/gallium/
Android.mk 48 drivers/nv50 \
  /external/mesa3d/src/gallium/drivers/nouveau/
nouveau_mm.c 171 size, cache->config.nv50.memtype, ret);
  /external/mesa3d/src/gallium/targets/pipe-loader/
Makefile 43 $(TOP)/src/gallium/drivers/nv50/libnv50.a \

Completed in 645 milliseconds

1 2