Lines Matching refs:rasterizer

82         c->rasterizer.procs.activeTexture(c, i);
83 c->rasterizer.procs.bindTexture(c, &(u.texture->surface));
84 c->rasterizer.procs.texGeni(c, GGL_S,
86 c->rasterizer.procs.texGeni(c, GGL_T,
88 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D,
90 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D,
92 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D,
94 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D,
99 c->rasterizer.procs.disable(c, GGL_TEXTURE_2D);
107 if (c->rasterizer.state.texture[i].enable)
110 c->rasterizer.procs.activeTexture(c, c->textures.active);
129 if (c->rasterizer.state.texture[i].enable) {
133 c->rasterizer.procs.activeTexture(c, i);
142 c->rasterizer.procs.bindTexture(c, &(u.texture->surface));
151 if (c->rasterizer.state.texture[i].enable) {
155 c->rasterizer.procs.activeTexture(c, i);
161 c->rasterizer.procs.bindTexture(c, &(u.texture->surface));
165 c->rasterizer.procs.activeTexture(c, c->textures.active);
278 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]);
366 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]);
573 const uint32_t enables = c->rasterizer.state.enables;
586 c->rasterizer.procs.fogGrad3xv(c, iterators);
594 c->rasterizer.procs.zGrad3xv(c, iterators);
685 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
692 if (!c->rasterizer.state.texture[i].enable)
701 c->rasterizer.procs.texParameteri(c,
703 c->rasterizer.procs.texParameteri(c,
726 c->rasterizer.procs.texCoordGradScale8xv(c, i, texcoords);
729 const uint32_t enables = c->rasterizer.state.enables;
733 c->rasterizer.procs.activeTexture(c, c->textures.active);
734 c->rasterizer.procs.color4xv(c, c->currentColorClamped.v);
735 c->rasterizer.procs.disable(c, GGL_W_LERP);
736 c->rasterizer.procs.disable(c, GGL_AA);
737 c->rasterizer.procs.shadeModel(c, GL_FLAT);
738 c->rasterizer.procs.recti(c,
764 if (ggl_likely(c->rasterizer.state.enabled_tmu == 1)) {
775 c->rasterizer.procs.activeTexture(c, tmu);
776 c->rasterizer.procs.bindTexture(c, &(u.texture->surface));
777 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D,
779 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D,
782 c->rasterizer.procs.texGeni(c, GGL_S,
784 c->rasterizer.procs.texGeni(c, GGL_T,
787 c->rasterizer.procs.activeTexture(c, c->textures.active);
789 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
807 c->rasterizer.procs.texCoord2i(c, s0, t0);
808 const uint32_t enables = c->rasterizer.state.enables;
812 c->rasterizer.procs.color4xv(c, c->currentColorClamped.v);
813 c->rasterizer.procs.disable(c, GGL_W_LERP);
814 c->rasterizer.procs.disable(c, GGL_AA);
815 c->rasterizer.procs.shadeModel(c, GL_FLAT);
816 c->rasterizer.procs.recti(c, x, y, x+w, y+h);
851 c->rasterizer.procs.activeTexture(c, c->textures.active);
965 c->rasterizer.procs.texEnvi(c, target, pname, GLint(param));
973 c->rasterizer.procs.texEnvi(c, target, pname, GLint(*params));
980 c->rasterizer.procs.texEnvxv(c, target, pname, fixed);
989 c->rasterizer.procs.texEnvi(c, target, pname, param);
996 c->rasterizer.procs.texEnvxv(c, target, pname, params);
1188 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]);
1271 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]);
1295 // to call bindTexture on the main rasterizer.
1321 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
1444 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s;
1501 const GGLSurface& readSurface = c->rasterizer.state.buffers.read.s;
1508 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]);