Lines Matching refs:texture

394     array_t const * const texcoordArray = c->arrays.texture;
397 if (!(c->rasterizer.state.texture[i].enable))
409 vec4_t& coords = v->texture[i];
414 // transform texture coordinates...
416 const transform_t& tr = c->transforms.texture[i].transform;
442 // Fetch & transform texture coordinates...
486 if (!c->rasterizer.state.texture[i].enable)
491 if (c->rasterizer.state.texture[i].s_wrap == GGL_CLAMP) {
492 int width = c->textures.tmu[i].texture->surface.width;
493 itt[0] = v->texture[i].S * width;
496 if (c->rasterizer.state.texture[i].t_wrap == GGL_CLAMP) {
497 int height = c->textures.tmu[i].texture->surface.height;
498 itt[3] = v->texture[i].T * height;
534 // get texture coordinates
588 // Fetch all texture coordinates if needed
603 // Fetch texture coordinates...
637 // set up texture iterators
704 const int w = c->textures.tmu[i].texture->surface.width;
705 const int h = c->textures.tmu[i].texture->surface.height;
721 const texture_t& tmu = c->rasterizer.state.texture[i];
726 int32_t s0 = v0->texture[i].S;
727 int32_t t0 = v0->texture[i].T;
728 int32_t s1 = v1->texture[i].S;
729 int32_t t1 = v1->texture[i].T;
730 int32_t s2 = v2->texture[i].S;
731 int32_t t2 = v2->texture[i].T;
733 const GLenum min_filter = c->textures.tmu[i].texture->min_filter;
737 &c->textures.tmu[i].texture->mip(lod));
778 const texture_t& tmu = c->rasterizer.state.texture[i];
783 int32_t s0 = v0->texture[i].S;
784 int32_t t0 = v0->texture[i].T;
785 int32_t s1 = v1->texture[i].S;
786 int32_t t1 = v1->texture[i].T;
787 int32_t s2 = v2->texture[i].S;
788 int32_t t2 = v2->texture[i].T;
790 const GLenum min_filter = c->textures.tmu[i].texture->min_filter;
794 &c->textures.tmu[i].texture->mip(lod));