Lines Matching refs:rasterizer

79         c->rasterizer.procs.activeTexture(c, i);
80 c->rasterizer.procs.bindTexture(c, &(u.texture->surface));
81 c->rasterizer.procs.texGeni(c, GGL_S,
83 c->rasterizer.procs.texGeni(c, GGL_T,
85 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D,
87 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D,
89 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D,
91 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D,
96 c->rasterizer.procs.disable(c, GGL_TEXTURE_2D);
104 if (c->rasterizer.state.texture[i].enable)
107 c->rasterizer.procs.activeTexture(c, c->textures.active);
126 if (c->rasterizer.state.texture[i].enable) {
130 c->rasterizer.procs.activeTexture(c, i);
145 c->rasterizer.procs.bindTexture(c, &(u.texture->surface));
154 if (c->rasterizer.state.texture[i].enable) {
158 c->rasterizer.procs.activeTexture(c, i);
168 c->rasterizer.procs.bindTexture(c, &(u.texture->surface));
172 c->rasterizer.procs.activeTexture(c, c->textures.active);
285 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]);
377 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]);
584 const uint32_t enables = c->rasterizer.state.enables;
597 c->rasterizer.procs.fogGrad3xv(c, iterators);
605 c->rasterizer.procs.zGrad3xv(c, iterators);
696 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
703 if (!c->rasterizer.state.texture[i].enable)
712 c->rasterizer.procs.texParameteri(c,
714 c->rasterizer.procs.texParameteri(c,
737 c->rasterizer.procs.texCoordGradScale8xv(c, i, texcoords);
740 const uint32_t enables = c->rasterizer.state.enables;
744 c->rasterizer.procs.activeTexture(c, c->textures.active);
745 c->rasterizer.procs.color4xv(c, c->currentColorClamped.v);
746 c->rasterizer.procs.disable(c, GGL_W_LERP);
747 c->rasterizer.procs.disable(c, GGL_AA);
748 c->rasterizer.procs.shadeModel(c, GL_FLAT);
749 c->rasterizer.procs.recti(c,
775 if (ggl_likely(c->rasterizer.state.enabled_tmu == 1)) {
786 c->rasterizer.procs.activeTexture(c, tmu);
787 c->rasterizer.procs.bindTexture(c, &(u.texture->surface));
788 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D,
790 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D,
793 c->rasterizer.procs.texGeni(c, GGL_S,
795 c->rasterizer.procs.texGeni(c, GGL_T,
798 c->rasterizer.procs.activeTexture(c, c->textures.active);
800 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
818 c->rasterizer.procs.texCoord2i(c, s0, t0);
819 const uint32_t enables = c->rasterizer.state.enables;
823 c->rasterizer.procs.color4xv(c, c->currentColorClamped.v);
824 c->rasterizer.procs.disable(c, GGL_W_LERP);
825 c->rasterizer.procs.disable(c, GGL_AA);
826 c->rasterizer.procs.shadeModel(c, GL_FLAT);
827 c->rasterizer.procs.recti(c, x, y, x+w, y+h);
862 c->rasterizer.procs.activeTexture(c, c->textures.active);
976 c->rasterizer.procs.texEnvi(c, target, pname, GLint(param));
984 c->rasterizer.procs.texEnvi(c, target, pname, GLint(*params));
991 c->rasterizer.procs.texEnvxv(c, target, pname, fixed);
1000 c->rasterizer.procs.texEnvi(c, target, pname, param);
1007 c->rasterizer.procs.texEnvxv(c, target, pname, params);
1199 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]);
1283 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]);
1308 // to call bindTexture on the main rasterizer.
1334 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
1457 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
1514 const GGLSurface& readSurface = c->rasterizer.state.buffers.read.s;
1521 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]);