Home
last modified time | relevance | path

Searched refs:texstate (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/
Dr300_state_derived.c746 struct r300_texture_sampler_state *texstate; in r300_merge_textures_and_samplers() local
771 texstate = &state->regs[i]; in r300_merge_textures_and_samplers()
772 texstate->format = view->format; in r300_merge_textures_and_samplers()
773 texstate->filter0 = sampler->filter0; in r300_merge_textures_and_samplers()
774 texstate->filter1 = sampler->filter1; in r300_merge_textures_and_samplers()
777 texstate->border_color = in r300_merge_textures_and_samplers()
806 &texstate->format); in r300_merge_textures_and_samplers()
807 texstate->format.tile_config |= offset & 0xffffffe0; in r300_merge_textures_and_samplers()
812 texstate->format.format1 |= view->texcache_region; in r300_merge_textures_and_samplers()
834 texstate->format.format1 |= in r300_merge_textures_and_samplers()
[all …]
Dr300_emit.c102 struct r300_textures_state* texstate = r300->textures_state.state; in get_rc_constant_state() local
115 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture); in get_rc_constant_state()
123 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture); in get_rc_constant_state()
790 struct r300_texture_sampler_state *texstate; in r300_emit_textures_state() local
801 texstate = &allstate->regs[i]; in r300_emit_textures_state()
804 OUT_CS_REG(R300_TX_FILTER0_0 + (i * 4), texstate->filter0); in r300_emit_textures_state()
805 OUT_CS_REG(R300_TX_FILTER1_0 + (i * 4), texstate->filter1); in r300_emit_textures_state()
807 texstate->border_color); in r300_emit_textures_state()
809 OUT_CS_REG(R300_TX_FORMAT0_0 + (i * 4), texstate->format.format0); in r300_emit_textures_state()
810 OUT_CS_REG(R300_TX_FORMAT1_0 + (i * 4), texstate->format.format1); in r300_emit_textures_state()
[all …]
Dr300_fs.c149 struct r300_textures_state *texstate = r300->textures_state.state; in get_external_state() local
152 for (i = 0; i < texstate->sampler_state_count; i++) { in get_external_state()
153 struct r300_sampler_state *s = texstate->sampler_states[i]; in get_external_state()
154 struct r300_sampler_view *v = texstate->sampler_views[i]; in get_external_state()
/external/mesa3d/src/mesa/main/
Dattrib.c421 struct texture_state *texstate = CALLOC_STRUCT(texture_state); in _mesa_PushAttrib() local
424 if (!texstate) { in _mesa_PushAttrib()
432 memcpy(&texstate->Texture, &ctx->Texture, sizeof(ctx->Texture)); in _mesa_PushAttrib()
439 _mesa_reference_texobj(&texstate->SavedTexRef[u][tex], in _mesa_PushAttrib()
447 _mesa_copy_texture_object(&texstate->SavedObj[u][tex], in _mesa_PushAttrib()
452 _mesa_reference_shared_state(ctx, &texstate->SharedRef, ctx->Shared); in _mesa_PushAttrib()
456 save_attrib_data(&head, GL_TEXTURE_BIT, texstate); in _mesa_PushAttrib()
674 pop_texture_group(struct gl_context *ctx, struct texture_state *texstate) in pop_texture_group() argument
681 const struct gl_texture_unit *unit = &texstate->Texture.Unit[u]; in pop_texture_group()
762 obj = &texstate->SavedObj[u][tgt]; in pop_texture_group()
[all …]
Ddescrip.mms90 texstate.c \
164 texstate.obj,\
242 texstate.obj : texstate.c
/external/mesa3d/doxygen/
Dcore_subset.doxy98 texstate.h \
/external/mesa3d/src/mesa/
Dsources.mak98 $(SRCDIR)main/texstate.c \
DSConscript131 'main/texstate.c',