Lines Matching refs:rasterizer
82 c->rasterizer.procs.activeTexture(c, i); in validate_tmu()
83 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in validate_tmu()
84 c->rasterizer.procs.texGeni(c, GGL_S, in validate_tmu()
86 c->rasterizer.procs.texGeni(c, GGL_T, in validate_tmu()
88 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
90 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
92 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
94 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in validate_tmu()
99 c->rasterizer.procs.disable(c, GGL_TEXTURE_2D); in validate_tmu()
107 if (c->rasterizer.state.texture[i].enable) in ogles_validate_texture()
110 c->rasterizer.procs.activeTexture(c, c->textures.active); in ogles_validate_texture()
129 if (c->rasterizer.state.texture[i].enable) { in ogles_lock_textures()
133 c->rasterizer.procs.activeTexture(c, i); in ogles_lock_textures()
142 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in ogles_lock_textures()
151 if (c->rasterizer.state.texture[i].enable) { in ogles_unlock_textures()
155 c->rasterizer.procs.activeTexture(c, i); in ogles_unlock_textures()
161 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in ogles_unlock_textures()
165 c->rasterizer.procs.activeTexture(c, c->textures.active); in ogles_unlock_textures()
278 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]); in copyPixels()
370 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in createTextureSurface()
577 const uint32_t enables = c->rasterizer.state.enables; in set_depth_and_fog()
590 c->rasterizer.procs.fogGrad3xv(c, iterators); in set_depth_and_fog()
598 c->rasterizer.procs.zGrad3xv(c, iterators); in set_depth_and_fog()
689 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; in drawTexxOESImp()
696 if (!c->rasterizer.state.texture[i].enable) in drawTexxOESImp()
705 c->rasterizer.procs.texParameteri(c, in drawTexxOESImp()
707 c->rasterizer.procs.texParameteri(c, in drawTexxOESImp()
730 c->rasterizer.procs.texCoordGradScale8xv(c, i, texcoords); in drawTexxOESImp()
733 const uint32_t enables = c->rasterizer.state.enables; in drawTexxOESImp()
737 c->rasterizer.procs.activeTexture(c, c->textures.active); in drawTexxOESImp()
738 c->rasterizer.procs.color4xv(c, c->currentColorClamped.v); in drawTexxOESImp()
739 c->rasterizer.procs.disable(c, GGL_W_LERP); in drawTexxOESImp()
740 c->rasterizer.procs.disable(c, GGL_AA); in drawTexxOESImp()
741 c->rasterizer.procs.shadeModel(c, GL_FLAT); in drawTexxOESImp()
742 c->rasterizer.procs.recti(c, in drawTexxOESImp()
768 if (ggl_likely(c->rasterizer.state.enabled_tmu == 1)) { in drawTexiOES()
779 c->rasterizer.procs.activeTexture(c, tmu); in drawTexiOES()
780 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in drawTexiOES()
781 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in drawTexiOES()
783 c->rasterizer.procs.texParameteri(c, GGL_TEXTURE_2D, in drawTexiOES()
786 c->rasterizer.procs.texGeni(c, GGL_S, in drawTexiOES()
788 c->rasterizer.procs.texGeni(c, GGL_T, in drawTexiOES()
791 c->rasterizer.procs.activeTexture(c, c->textures.active); in drawTexiOES()
793 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; in drawTexiOES()
811 c->rasterizer.procs.texCoord2i(c, s0, t0); in drawTexiOES()
812 const uint32_t enables = c->rasterizer.state.enables; in drawTexiOES()
816 c->rasterizer.procs.color4xv(c, c->currentColorClamped.v); in drawTexiOES()
817 c->rasterizer.procs.disable(c, GGL_W_LERP); in drawTexiOES()
818 c->rasterizer.procs.disable(c, GGL_AA); in drawTexiOES()
819 c->rasterizer.procs.shadeModel(c, GL_FLAT); in drawTexiOES()
820 c->rasterizer.procs.recti(c, x, y, x+w, y+h); in drawTexiOES()
855 c->rasterizer.procs.activeTexture(c, c->textures.active); in glActiveTexture()
969 c->rasterizer.procs.texEnvi(c, target, pname, GLint(param)); in glTexEnvf()
977 c->rasterizer.procs.texEnvi(c, target, pname, GLint(*params)); in glTexEnvfv()
984 c->rasterizer.procs.texEnvxv(c, target, pname, fixed); in glTexEnvfv()
993 c->rasterizer.procs.texEnvi(c, target, pname, param); in glTexEnvx()
1000 c->rasterizer.procs.texEnvxv(c, target, pname, params); in glTexEnvxv()
1192 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexImage2D()
1276 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glTexSubImage2D()
1327 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; in glCopyTexImage2D()
1450 const GGLSurface& cbSurface = c->rasterizer.state.buffers.color.s; in glCopyTexSubImage2D()
1507 const GGLSurface& readSurface = c->rasterizer.state.buffers.read.s; in glReadPixels()
1514 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); in glReadPixels()