Home
last modified time | relevance | path

Searched refs:eng3d (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_screen.c50 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_param() local
55 return (eng3d->oclass >= NV40_3D_CLASS) ? 4 : 1; in nv30_screen_get_param()
95 return (eng3d->oclass >= NV40_3D_CLASS) ? 1 : 0; in nv30_screen_get_param()
135 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_paramf() local
145 return (eng3d->oclass >= NV40_3D_CLASS) ? 16.0 : 8.0; in nv30_screen_get_paramf()
159 struct nouveau_object *eng3d = screen->eng3d; in nv30_screen_get_shader_param() local
166 return (eng3d->oclass >= NV40_3D_CLASS) ? 512 : 256; in nv30_screen_get_shader_param()
169 return (eng3d->oclass >= NV40_3D_CLASS) ? 512 : 0; in nv30_screen_get_shader_param()
175 return (eng3d->oclass >= NV40_3D_CLASS) ? (468 - 6): (256 - 6); in nv30_screen_get_shader_param()
179 return (eng3d->oclass >= NV40_3D_CLASS) ? 32 : 13; in nv30_screen_get_shader_param()
[all …]
Dnv30_clear.c81 if (nv30->screen->eng3d->oclass < NV40_3D_CLASS) { in nv30_clear()
105 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_clear_render_target() local
136 if (eng3d->oclass < NV40_3D_CLASS) in nv30_clear_render_target()
164 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_clear_depth_stencil() local
199 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_clear_depth_stencil()
Dnv30_texture.c131 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()
205 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; in nv30_sampler_view_create() local
270 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_sampler_view_create()
Dnv30_vertprog.c56 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_vertprog_validate() local
104 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_vertprog_validate()
147 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_vertprog_validate()
206 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_vertprog_validate()
Dnv30_context.c146 if (screen->eng3d->oclass < NV40_3D_CLASS) in nv30_context_create()
157 nv30->is_nv4x = (screen->eng3d->oclass >= NV40_3D_CLASS) ? ~0 : 0; in nv30_context_create()
158 nv30->use_nv4x = (screen->eng3d->oclass >= NV40_3D_CLASS) ? ~0 : 0; in nv30_context_create()
Dnv30_fragprog.c64 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_fragprog_validate() local
116 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_fragprog_validate()
Dnv30_fragtex.c37 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_fragtex_validate() local
70 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_fragtex_validate()
Dnv30_query.c260 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; in nv30_query_init() local
267 if (eng3d->oclass >= NV40_3D_CLASS) in nv30_query_init()
Dnv30_state.c40 struct nouveau_object *eng3d = nv30_context(pipe)->screen->eng3d; in nv30_blend_state_create() local
85 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_blend_state_create()
98 if (eng3d->oclass < NV40_3D_CLASS) { in nv30_blend_state_create()
Dnv30_screen.h34 struct nouveau_object *eng3d; member
Dnv30_draw.c250 if (nv30_screen(pscreen)->eng3d->oclass < NV40_3D_CLASS) { in vroute_add()
273 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_render_validate() local
354 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_render_validate()
Dnv30_state_validate.c41 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_validate_fb() local
129 if (eng3d->oclass >= NV40_3D_CLASS) { in nv30_validate_fb()
503 if (nv30->screen->eng3d->oclass >= NV40_3D_CLASS) { in nv30_state_validate()
Dnv30_vbo.c458 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_draw_elements() local
469 if (eng3d->oclass == NV40_3D_CLASS && index_size > 1 && in nv30_draw_elements()
Dnv30_push.c244 if (nv30->screen->eng3d->oclass >= NV40_3D_CLASS) { in nv30_push_vbo()
Dnv30_transfer.c57 if (nv30->screen->eng3d->oclass < NV40_3D_CLASS) in nv30_transfer_blit()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_context.c66 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()
175 &hw->eng3d); in nv04_context_create()
Dnv04_render.c169 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); \
Dnouveau_context.h55 struct nouveau_object *eng3d; member
100 (to_nouveau_context(ctx)->hw.eng3d)
Dnv04_context.h35 struct nouveau_object *eng3d; member
Dnv10_context.c209 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()
Dnv20_context.c105 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()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_screen.c279 nouveau_object_del(&screen->eng3d); in nvc0_screen_destroy()
523 &screen->eng3d); in nvc0_screen_create()
529 PUSH_DATA (push, screen->eng3d->oclass); in nvc0_screen_create()
559 if (screen->eng3d->oclass < NVE4_3D_CLASS) { in nvc0_screen_create()
570 if (screen->eng3d->oclass >= NVC1_3D_CLASS) { in nvc0_screen_create()
575 nvc0_magic_3d_init(push, screen->eng3d->oclass); in nvc0_screen_create()
601 if (screen->eng3d->oclass >= NVE4_3D_CLASS) { in nvc0_screen_create()
631 if (screen->eng3d->oclass >= NVE4_3D_CLASS) in nvc0_screen_create()
Dnvc0_screen.h63 struct nouveau_object *eng3d; /* sqrt(1/2)|kepler> + sqrt(1/2)|fermi> */ member