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