Searched defs:texstate (Results 1 - 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_fs.c149 struct r300_textures_state *texstate = r300->textures_state.state; local
152 for (i = 0; i < texstate->sampler_state_count; i++) {
153 struct r300_sampler_state *s = texstate->sampler_states[i];
154 struct r300_sampler_view *v = texstate->sampler_views[i];
H A Dr300_state_derived.c746 struct r300_texture_sampler_state *texstate; local
771 texstate = &state->regs[i];
772 texstate->format = view->format;
773 texstate->filter0 = sampler->filter0;
774 texstate->filter1 = sampler->filter1;
777 texstate->border_color =
806 &texstate->format);
807 texstate->format.tile_config |= offset & 0xffffffe0;
812 texstate->format.format1 |= view->texcache_region;
834 texstate
[all...]
H A Dr300_emit.c102 struct r300_textures_state* texstate = r300->textures_state.state; local
115 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture);
123 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture);
790 struct r300_texture_sampler_state *texstate; local
801 texstate = &allstate->regs[i];
804 OUT_CS_REG(R300_TX_FILTER0_0 + (i * 4), texstate->filter0);
805 OUT_CS_REG(R300_TX_FILTER1_0 + (i * 4), texstate->filter1);
807 texstate->border_color);
809 OUT_CS_REG(R300_TX_FORMAT0_0 + (i * 4), texstate->format.format0);
810 OUT_CS_REG(R300_TX_FORMAT1_0 + (i * 4), texstate
1180 struct r300_textures_state *texstate = local
[all...]
/external/mesa3d/src/mesa/main/
H A Dattrib.c57 #include "texstate.h"
421 struct texture_state *texstate = CALLOC_STRUCT(texture_state); local
424 if (!texstate) {
432 memcpy(&texstate->Texture, &ctx->Texture, sizeof(ctx->Texture));
439 _mesa_reference_texobj(&texstate->SavedTexRef[u][tex],
447 _mesa_copy_texture_object(&texstate->SavedObj[u][tex],
452 _mesa_reference_shared_state(ctx, &texstate->SharedRef, ctx->Shared);
456 save_attrib_data(&head, GL_TEXTURE_BIT, texstate);
674 pop_texture_group(struct gl_context *ctx, struct texture_state *texstate) argument
681 const struct gl_texture_unit *unit = &texstate
1274 struct texture_state *texstate local
1632 struct texture_state *texstate = (struct texture_state*)attr->data; local
[all...]

Completed in 93 milliseconds