/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_screen.c | 53 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_param() local 59 return (eng3d->oclass >= NV40_3D_CLASS) ? 4 : 1; in nv30_screen_get_param() 100 return eng3d->oclass == NV35_3D_CLASS || eng3d->oclass >= NV40_3D_CLASS; in nv30_screen_get_param() 107 return (eng3d->oclass >= NV40_3D_CLASS) ? 1 : 0; in nv30_screen_get_param() 257 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_paramf() local 267 return (eng3d->oclass >= NV40_3D_CLASS) ? 16.0 : 8.0; in nv30_screen_get_paramf() 282 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_shader_param() local 289 return (eng3d->oclass >= NV40_3D_CLASS) ? 512 : 256; in nv30_screen_get_shader_param() 292 return (eng3d->oclass >= NV40_3D_CLASS) ? 512 : 0; in nv30_screen_get_shader_param() 299 return ((eng3d->oclass >= NV40_3D_CLASS) ? (468 - 6): (256 - 6)) * sizeof(float[4]); in nv30_screen_get_shader_param() [all …]
|
D | nv30_clear.c | 86 if (nv30->screen->eng3d->oclass < NV40_3D_CLASS) { in nv30_clear() 111 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_clear_render_target() local 142 if (eng3d->oclass < NV40_3D_CLASS) in nv30_clear_render_target() 171 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_clear_depth_stencil() local 206 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_clear_depth_stencil()
|
D | nv30_vertprog.c | 58 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_vertprog_validate() local 80 vp->translated = _nvfx_vertprog_translate(eng3d->oclass, vp); in nv30_vertprog_validate() 106 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_vertprog_validate() 149 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_vertprog_validate() 208 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_vertprog_validate()
|
D | nv30_texture.c | 131 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; in nv30_sampler_state_create() local 152 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_sampler_state_create() 223 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; in nv30_sampler_view_create() local 288 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_sampler_view_create()
|
D | nv30_fragprog.c | 69 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_fragprog_validate() local 75 _nvfx_fragprog_translate(eng3d->oclass, fp); in nv30_fragprog_validate() 121 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_fragprog_validate()
|
D | nv30_state.c | 42 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; in nv30_blend_state_create() local 87 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_blend_state_create() 100 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_blend_state_create() 214 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; in nv30_zsa_state_create() local 227 if (eng3d->oclass == NV35_3D_CLASS || eng3d->oclass >= NV40_3D_CLASS) { in nv30_zsa_state_create()
|
D | nv30_fragtex.c | 37 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_fragtex_validate() local 70 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_fragtex_validate()
|
D | nv30_query.c | 277 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; in nv30_query_init() local 285 if (eng3d->oclass >= NV40_3D_CLASS) in nv30_query_init()
|
D | nv30_draw.c | 234 uint num_texcoords = (screen->eng3d->oclass < NV40_3D_CLASS) ? 8 : 10; in vroute_add() 256 if (screen->eng3d->oclass < NV40_3D_CLASS) { in vroute_add() 284 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_render_validate() local 368 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_render_validate()
|
D | nv30_screen.h | 32 struct nouveau_object *eng3d; member
|
D | nv30_state_validate.c | 41 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_validate_fb() local 126 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_validate_fb() 510 if (nv30->screen->eng3d->oclass >= NV40_3D_CLASS) { in nv30_state_validate()
|
D | nv30_vbo.c | 468 struct nouveau_object *eng3d = nv30->screen->eng3d; local 471 if (eng3d->oclass >= NV40_3D_CLASS && index_bias != nv30->state.index_bias) { 477 if (eng3d->oclass == NV40_3D_CLASS && index_size > 1 &&
|
D | nv30_context.c | 239 if (screen->eng3d->oclass < NV40_3D_CLASS) in nv30_context_create()
|
D | nv30_push.c | 248 if (nv30->screen->eng3d->oclass >= NV40_3D_CLASS) { in nv30_push_vbo()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv04_context.c | 66 fahrenheit = hw->eng3d; in nv04_context_engine() 68 if (fahrenheit != nctx->eng3d) { in nv04_context_engine() 71 nctx->eng3d = fahrenheit; in nv04_context_engine() 92 PUSH_DATA (push, hw->eng3d->handle); in nv04_hwctx_init() 132 nouveau_object_del(&nctx->hw.eng3d); in nv04_context_destroy() 176 &hw->eng3d); in nv04_context_create()
|
D | nv04_render.c | 169 struct nouveau_object *eng3d = nv04_context_engine(ctx); in swtnl_start() local 179 if (eng3d->oclass == NV04_MULTITEX_TRIANGLE_CLASS) in swtnl_start() 206 struct nouveau_object *eng3d = to_nv04_context(ctx)->eng3d; \ 209 int multi = (eng3d->oclass == NV04_MULTITEX_TRIANGLE_CLASS); \
|
D | nouveau_context.h | 55 struct nouveau_object *eng3d; member 100 (to_nouveau_context(ctx)->hw.eng3d)
|
D | nv04_context.h | 35 struct nouveau_object *eng3d; member
|
D | nv20_context.c | 105 PUSH_DATA (push, hw->eng3d->handle); in nv20_hwctx_init() 434 nouveau_object_del(&nctx->hw.eng3d); in nv20_context_destroy() 488 NULL, 0, &nctx->hw.eng3d); in nv20_context_create()
|
D | nv10_context.c | 209 PUSH_DATA (push, hw->eng3d->handle); in nv10_hwctx_init() 423 nouveau_object_del(&nctx->hw.eng3d); in nv10_context_destroy() 480 NULL, 0, &nctx->hw.eng3d); in nv10_context_create()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_screen.c | 576 nouveau_object_del(&screen->eng3d); in nvc0_screen_destroy() 992 &screen->eng3d); in nvc0_screen_create() 998 PUSH_DATA (push, screen->eng3d->oclass); in nvc0_screen_create() 1036 if (screen->eng3d->oclass < NVE4_3D_CLASS) { in nvc0_screen_create() 1046 if (screen->eng3d->oclass >= NVC1_3D_CLASS) { in nvc0_screen_create() 1051 nvc0_magic_3d_init(push, screen->eng3d->oclass); in nvc0_screen_create() 1112 if (screen->eng3d->oclass < GM107_3D_CLASS) { in nvc0_screen_create() 1133 if (screen->eng3d->oclass >= GM107_3D_CLASS) { in nvc0_screen_create() 1135 if (screen->eng3d->oclass == GM107_3D_CLASS) { in nvc0_screen_create() 1244 if (screen->eng3d->oclass >= NVE4_3D_CLASS) { in nvc0_screen_create()
|
D | nvc0_surface.c | 1571 bool eng3d = false; in nvc0_blit() local 1578 eng3d = true; in nvc0_blit() 1580 eng3d = true; in nvc0_blit() 1585 eng3d = true; in nvc0_blit() 1589 eng3d = true; in nvc0_blit() 1592 eng3d = true; in nvc0_blit() 1596 if (!eng3d && info->dst.format != info->src.format) { in nvc0_blit() 1598 eng3d = true; in nvc0_blit() 1603 eng3d = true; in nvc0_blit() 1606 eng3d = info->src.format != PIPE_FORMAT_I8_UNORM; in nvc0_blit() [all …]
|
D | nvc0_screen.h | 117 struct nouveau_object *eng3d; /* sqrt(1/2)|kepler> + sqrt(1/2)|fermi> */ member
|
D | nvc0_vbo.c | 776 if (nvc0->screen->eng3d->oclass < GM107_3D_CLASS) in nvc0_draw_stream_output() 1062 if (nvc0->screen->eng3d->oclass < GM107_3D_CLASS) in nvc0_draw_vbo()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_surface.c | 1663 bool eng3d = FALSE; in nv50_blit() local 1670 eng3d = true; in nv50_blit() 1672 eng3d = true; in nv50_blit() 1677 eng3d = true; in nv50_blit() 1681 eng3d = true; in nv50_blit() 1684 eng3d = true; in nv50_blit() 1688 if (!eng3d && info->dst.format != info->src.format) { in nv50_blit() 1691 eng3d = true; in nv50_blit() 1696 eng3d = true; in nv50_blit() 1699 eng3d = true; in nv50_blit() [all …]
|