Home
last modified time | relevance | path

Searched refs:num_textures (Results 1 – 21 of 21) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c264 unsigned *num_textures) in update_textures() argument
266 const GLuint old_max = *num_textures; in update_textures()
273 *num_textures = 0; in update_textures()
287 *num_textures = unit + 1; in update_textures()
301 new_count = MAX2(*num_textures, old_max); in update_textures()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_tex.c219 for (i = 0; i < nvc0->num_textures[s]; ++i) { in nvc0_validate_tic()
263 for (; i < nvc0->state.num_textures[s]; ++i) in nvc0_validate_tic()
266 nvc0->state.num_textures[s] = nvc0->num_textures[s]; in nvc0_validate_tic()
285 for (i = 0; i < nvc0->num_textures[s]; ++i) { in nve4_validate_tic()
326 for (; i < nvc0->state.num_textures[s]; ++i) in nve4_validate_tic()
329 nvc0->state.num_textures[s] = nvc0->num_textures[s]; in nve4_validate_tic()
Dnvc0_surface.c457 unsigned num_textures[5]; member
799 nvc0->num_textures[s] = 0; in nvc0_blit_set_src()
800 nvc0->num_textures[4] = 1; in nvc0_blit_set_src()
806 nvc0->num_textures[4] = 2; in nvc0_blit_set_src()
875 blit->saved.num_textures[s] = nvc0->num_textures[s]; in nvc0_blitctx_pre_blit()
877 nvc0->textures_dirty[s] = (1 << nvc0->num_textures[s]) - 1; in nvc0_blitctx_pre_blit()
926 nvc0->num_textures[s] = blit->saved.num_textures[s]; in nvc0_blitctx_post_blit()
928 nvc0->textures_dirty[s] = (1 << nvc0->num_textures[s]) - 1; in nvc0_blitctx_post_blit()
Dnvc0_context.h103 uint8_t num_textures[5]; member
138 unsigned num_textures[5]; member
Dnvc0_context.c72 for (i = 0; i < nvc0->num_textures[s]; ++i) in nvc0_context_unreference_resources()
Dnvc0_state.c525 for (i = nr; i < nvc0->num_textures[s]; ++i) { in nvc0_stage_set_sampler_views()
534 nvc0->num_textures[s] = nr; in nvc0_stage_set_sampler_views()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_renderer.h68 int num_textures);
74 int num_textures,
Dxorg_renderer.c493 int num_textures) in renderer_begin_textures() argument
495 r->attrs_per_vertex = 1 + num_textures; in renderer_begin_textures()
503 int num_textures, in renderer_texture() argument
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi.h59 unsigned num_textures:8; member
143 return (const char *)&key->tex[key->num_textures] - (const char *)key; in svga_fs_key_size()
Dsvga_state_constants.c282 for (i = 0; i < key->num_textures; i++) { in emit_fs_consts()
Dsvga_state_fs.c225 key->num_textures = svga->curr.num_sampler_views; in make_fs_key()
Dsvga_tgsi_insn.c3122 for (i = 0; i < emit->key.fkey.num_textures; i++) { in needs_to_create_zero()
3130 for (i = 0; i < emit->key.fkey.num_textures; i++) { in needs_to_create_zero()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv40_verttex.c85 for (; i < nv30->vertprog.num_textures; i++) { in nv40_verttex_set_sampler_views()
91 nv30->vertprog.num_textures = nr; in nv40_verttex_set_sampler_views()
Dnv30_context.h79 unsigned num_textures; member
92 unsigned num_textures; member
Dnv30_fragtex.c187 for (; i < nv30->fragprog.num_textures; i++) { in nv30_fragtex_set_sampler_views()
193 nv30->fragprog.num_textures = nr; in nv30_fragtex_set_sampler_views()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_tex.c207 for (i = 0; i < nv50->num_textures[s]; ++i) { in nv50_validate_tic()
264 for (; i < nv50->state.num_textures[s]; ++i) { in nv50_validate_tic()
268 nv50->state.num_textures[s] = nv50->num_textures[s]; in nv50_validate_tic()
Dnv50_surface.c436 unsigned num_textures[3]; member
724 nv50->num_textures[0] = nv50->num_textures[1] = 0; in nv50_blit_set_src()
725 nv50->num_textures[2] = 1; in nv50_blit_set_src()
731 nv50->num_textures[2] = 2; in nv50_blit_set_src()
804 blit->saved.num_textures[s] = nv50->num_textures[s]; in nv50_blitctx_pre_blit()
847 nv50->num_textures[s] = blit->saved.num_textures[s]; in nv50_blitctx_post_blit()
Dnv50_context.h103 uint8_t num_textures[3]; member
134 unsigned num_textures[3]; member
Dnv50_context.c86 for (i = 0; i < nv50->num_textures[s]; ++i) in nv50_context_unreference_resources()
Dnv50_state.c627 for (i = nr; i < nv50->num_textures[s]; ++i) { in nv50_stage_set_sampler_views()
636 nv50->num_textures[s] = nr; in nv50_stage_set_sampler_views()
/external/drm_hwcomposer/
Dglworker.cpp247 static AutoGLProgram GenerateProgram(unsigned num_textures, in GenerateProgram() argument
249 std::string vertex_shader_string = GenerateVertexShader(num_textures); in GenerateProgram()
256 std::string fragment_shader_string = GenerateFragmentShader(num_textures); in GenerateProgram()