/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
D | nv04_state_raster.c | 124 struct nv04_context *nv04 = to_nv04_context(ctx); in nv04_emit_control() local 128 nv04->ctrl[0] = NV04_TEXTURED_TRIANGLE_CONTROL_Z_FORMAT_FIXED | in nv04_emit_control() 130 nv04->ctrl[1] = 0; in nv04_emit_control() 131 nv04->ctrl[2] = 0; in nv04_emit_control() 135 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_DITHER_ENABLE; in nv04_emit_control() 139 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_CULL_MODE_NONE; in nv04_emit_control() 141 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_CULL_MODE_BOTH; in nv04_emit_control() 143 nv04->ctrl[0] |= (cull == GL_FRONT) ^ (front == GL_CCW) ? in nv04_emit_control() 149 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_Z_ENABLE; in nv04_emit_control() 151 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_Z_WRITE; in nv04_emit_control() [all …]
|
D | nv04_render.c | 97 swtnl_restart_ttri(struct nv04_context *nv04, struct nouveau_pushbuf *push) in swtnl_restart_ttri() argument 100 PUSH_DATA (push, nv04->colorkey); in swtnl_restart_ttri() 101 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->texture[0]->offset, in swtnl_restart_ttri() 103 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->format[0], NOUVEAU_BO_OR, in swtnl_restart_ttri() 106 PUSH_DATA (push, nv04->filter[0]); in swtnl_restart_ttri() 107 PUSH_DATA (push, nv04->blend); in swtnl_restart_ttri() 108 PUSH_DATA (push, nv04->ctrl[0] & ~0x3e000000); in swtnl_restart_ttri() 109 PUSH_DATA (push, nv04->fog); in swtnl_restart_ttri() 113 swtnl_restart_mtri(struct nv04_context *nv04, struct nouveau_pushbuf *push) in swtnl_restart_mtri() argument 116 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->texture[0]->offset, in swtnl_restart_mtri() [all …]
|
D | nouveau_surface.c | 55 config.nv04.surf_pitch = s->pitch; in nouveau_surface_alloc() 58 config.nv04.surf_flags = NV04_BO_32BPP; in nouveau_surface_alloc() 60 config.nv04.surf_flags = NV04_BO_16BPP; in nouveau_surface_alloc() 63 config.nv04.surf_flags |= NV04_BO_ZETA; in nouveau_surface_alloc()
|
D | nv04_state_tex.c | 63 struct nv04_context *nv04 = to_nv04_context(ctx); in nv04_emit_tex_obj() local 113 nv04->texture[i] = s; in nv04_emit_tex_obj() 114 nv04->format[i] = format; in nv04_emit_tex_obj() 115 nv04->filter[i] = filter; in nv04_emit_tex_obj()
|
D | nv04_state_frag.c | 255 struct nv04_context *nv04 = to_nv04_context(ctx); in nv04_emit_tex_env() local 288 nv04->blend &= ~NV04_TEXTURED_TRIANGLE_BLEND_TEXTURE_MAP__MASK; in nv04_emit_tex_env() 290 nv04->blend |= get_texenv_mode(ctx->Texture.Unit[0].EnvMode); in nv04_emit_tex_env() 292 nv04->blend |= get_texenv_mode(GL_MODULATE); in nv04_emit_tex_env() 295 nv04->alpha[i] = rc_a.hw; in nv04_emit_tex_env() 296 nv04->color[i] = rc_c.hw; in nv04_emit_tex_env() 297 nv04->factor = pack_rgba_f(MESA_FORMAT_ARGB8888, in nv04_emit_tex_env()
|
D | nv10_state_fb.c | 66 .nv04.surf_flags = NV04_BO_ZETA, in setup_hierz_buffer() 67 .nv04.surf_pitch = 0 in setup_hierz_buffer()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv04_state_raster.c | 124 struct nv04_context *nv04 = to_nv04_context(ctx); in nv04_emit_control() local 128 nv04->ctrl[0] = NV04_TEXTURED_TRIANGLE_CONTROL_Z_FORMAT_FIXED | in nv04_emit_control() 130 nv04->ctrl[1] = 0; in nv04_emit_control() 131 nv04->ctrl[2] = 0; in nv04_emit_control() 135 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_DITHER_ENABLE; in nv04_emit_control() 139 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_CULL_MODE_NONE; in nv04_emit_control() 141 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_CULL_MODE_BOTH; in nv04_emit_control() 143 nv04->ctrl[0] |= (cull == GL_FRONT) ^ (front == GL_CCW) ? in nv04_emit_control() 149 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_Z_ENABLE; in nv04_emit_control() 151 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_Z_WRITE; in nv04_emit_control() [all …]
|
D | nv04_render.c | 97 swtnl_restart_ttri(struct nv04_context *nv04, struct nouveau_pushbuf *push) in swtnl_restart_ttri() argument 100 PUSH_DATA (push, nv04->colorkey); in swtnl_restart_ttri() 101 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->texture[0]->offset, in swtnl_restart_ttri() 103 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->format[0], NOUVEAU_BO_OR, in swtnl_restart_ttri() 106 PUSH_DATA (push, nv04->filter[0]); in swtnl_restart_ttri() 107 PUSH_DATA (push, nv04->blend); in swtnl_restart_ttri() 108 PUSH_DATA (push, nv04->ctrl[0] & ~0x3e000000); in swtnl_restart_ttri() 109 PUSH_DATA (push, nv04->fog); in swtnl_restart_ttri() 113 swtnl_restart_mtri(struct nv04_context *nv04, struct nouveau_pushbuf *push) in swtnl_restart_mtri() argument 116 PUSH_RELOC(push, nv04->texture[0]->bo, nv04->texture[0]->offset, in swtnl_restart_mtri() [all …]
|
D | nouveau_surface.c | 55 config.nv04.surf_pitch = s->pitch; in nouveau_surface_alloc() 58 config.nv04.surf_flags = NV04_BO_32BPP; in nouveau_surface_alloc() 60 config.nv04.surf_flags = NV04_BO_16BPP; in nouveau_surface_alloc() 63 config.nv04.surf_flags |= NV04_BO_ZETA; in nouveau_surface_alloc()
|
D | nv04_state_tex.c | 63 struct nv04_context *nv04 = to_nv04_context(ctx); in nv04_emit_tex_obj() local 113 nv04->texture[i] = s; in nv04_emit_tex_obj() 114 nv04->format[i] = format; in nv04_emit_tex_obj() 115 nv04->filter[i] = filter; in nv04_emit_tex_obj()
|
D | nv04_state_frag.c | 255 struct nv04_context *nv04 = to_nv04_context(ctx); in nv04_emit_tex_env() local 288 nv04->blend &= ~NV04_TEXTURED_TRIANGLE_BLEND_TEXTURE_MAP__MASK; in nv04_emit_tex_env() 290 nv04->blend |= get_texenv_mode(ctx->Texture.Unit[0].EnvMode); in nv04_emit_tex_env() 292 nv04->blend |= get_texenv_mode(GL_MODULATE); in nv04_emit_tex_env() 295 nv04->alpha[i] = rc_a.hw; in nv04_emit_tex_env() 296 nv04->color[i] = rc_c.hw; in nv04_emit_tex_env() 297 nv04->factor = pack_rgba_f(MESA_FORMAT_ARGB8888, in nv04_emit_tex_env()
|
D | nv10_state_fb.c | 66 .nv04.surf_flags = NV04_BO_ZETA, in setup_hierz_buffer() 67 .nv04.surf_pitch = 0 in setup_hierz_buffer()
|