Lines Matching refs:tx

180         "565 fb, 8888 tx, blend SRC_OVER", scanline_t32cb16blend, init_y_noop },
183 "565 fb, 8888 tx, SRC", scanline_t32cb16, init_y_noop },
187 "565 fb, 8888 tx, blend SRC_OVER dither", scanline_t32cb16blend_dither, init_y_noop },
191 "565 fb, 8888 tx, SRC dither", scanline_t32cb16_dither, init_y_noop },
195 "565 fb, 8888 tx, blend dst:ONE_MINUS_SRCA src:SRCA", scanline_t32cb16blend_srca, init_y_noop },
199 "565 fb, 8888 tx, SRC_OVER clamp", scanline_t32cb16blend_clamp, init_y },
202 "565 fb, 8888 tx, SRC_OVER clamp dither", scanline_t32cb16blend_clamp_dither, init_y },
206 "565 fb, 8888 tx, SRC_OVER clamp modulate", scanline_t32cb16blend_clamp_mod, init_y },
210 "565 fb, x888 tx, SRC_OVER clamp modulate", scanline_x32cb16blend_clamp_mod, init_y },
213 "565 fb, 8888 tx, SRC_OVER clamp modulate dither", scanline_t32cb16blend_clamp_mod_dither, init_y },
216 "565 fb, x888 tx, SRC_OVER clamp modulate dither", scanline_x32cb16blend_clamp_mod_dither, init_y },
219 "565 fb, 8888 tx, SRC clamp", scanline_t32cb16_clamp, init_y },
222 "565 fb, x888 tx, SRC clamp", scanline_t32cb16_clamp, init_y },
225 "565 fb, 8888 tx, SRC clamp dither", scanline_t32cb16_clamp_dither, init_y },
228 "565 fb, x888 tx, SRC clamp dither", scanline_t32cb16_clamp_dither, init_y },
231 "565 fb, 565 tx, SRC clamp", scanline_t16cb16_clamp, init_y },
234 "565 fb, 565 tx, SRC_OVER clamp", scanline_t16cb16blend_clamp_mod, init_y },
699 texture_t& tx = c->state.texture[i];
700 if (!tx.enable)
702 texture_iterators_t& ti = tx.iterators;
706 if (tx.s_coord != GGL_ONE_TO_ONE) {
707 const int w = tx.surface.width;
708 u = wrapping(tc[i].s, w, tx.s_wrap);
711 u = (((tx.shade.is0>>16) + x)<<16) + FIXED_HALF;
715 if (tx.t_coord != GGL_ONE_TO_ONE) {
716 const int h = tx.surface.height;
717 v = wrapping(tc[i].t, h, tx.t_wrap);
720 v = (((tx.shade.it0>>16) + y)<<16) + FIXED_HALF;
724 if (tx.mag_filter == GGL_NEAREST &&
725 tx.min_filter == GGL_NEAREST)
729 tx.surface.read(&tx.surface, c, u, v, &texel);
731 const int w = tx.surface.width;
732 const int h = tx.surface.height;
739 if (tx.s_wrap == GGL_REPEAT) {
750 if (tx.t_wrap == GGL_REPEAT) {
763 tx.surface.read(&tx.surface, c, u0, v0, &texels[0]);
764 tx.surface.read(&tx.surface, c, u0, v1, &texels[1]);
765 tx.surface.read(&tx.surface, c, u1, v0, &texels[2]);
766 tx.surface.read(&tx.surface, c, u1, v1, &texels[3]);
794 switch (tx.env) {
815 uint32_t Cc = tx.env_color[i];
948 texture_t& tx = c->state.texture[0];
949 const int32_t u = (tx.shade.is0>>16) + x;
950 const int32_t v = (tx.shade.it0>>16) + y;
951 m_src = reinterpret_cast<uint32_t*>(tx.surface.data)+(u+(tx.surface.stride*v));
965 texture_t& tx = c->state.texture[0];
966 const int32_t u = (tx.shade.is0>>16) + x;
967 const int32_t v = (tx.shade.it0>>16) + y;
968 m_src = reinterpret_cast<uint16_t*>(tx.surface.data)+(u+(tx.surface.stride*v));
984 texture_t& tx = c->state.texture[0];
985 texture_iterators_t& ti = tx.iterators;
990 m_width_m1 = tx.surface.width - 1;
991 m_height_m1 = tx.surface.height - 1;
992 m_data = tx.surface.data;
993 m_stride = tx.surface.stride;
1074 const texture_t& tx = c->state.texture[0];
1075 const texture_iterators_t& ti = tx.iterators;
1078 m_width_m1 = tx.surface.width-1;
1079 m_data = tx.surface.data;
1085 else if (v >= (int)tx.surface.height)
1086 v = (int)tx.surface.height-1;
1088 m_data += (tx.surface.stride*v) << shift;