Lines Matching defs:tx

192         "565 fb, 8888 tx, blend SRC_OVER", scanline_t32cb16blend, init_y_noop },
195 "565 fb, 8888 tx, SRC", scanline_t32cb16, init_y_noop },
199 "565 fb, 8888 tx, blend SRC_OVER dither", scanline_t32cb16blend_dither, init_y_noop },
203 "565 fb, 8888 tx, SRC dither", scanline_t32cb16_dither, init_y_noop },
207 "565 fb, 8888 tx, blend dst:ONE_MINUS_SRCA src:SRCA", scanline_t32cb16blend_srca, init_y_noop },
211 "565 fb, 8888 tx, SRC_OVER clamp", scanline_t32cb16blend_clamp, init_y },
214 "565 fb, 8888 tx, SRC_OVER clamp dither", scanline_t32cb16blend_clamp_dither, init_y },
218 "565 fb, 8888 tx, SRC_OVER clamp modulate", scanline_t32cb16blend_clamp_mod, init_y },
222 "565 fb, x888 tx, SRC_OVER clamp modulate", scanline_x32cb16blend_clamp_mod, init_y },
225 "565 fb, 8888 tx, SRC_OVER clamp modulate dither", scanline_t32cb16blend_clamp_mod_dither, init_y },
228 "565 fb, x888 tx, SRC_OVER clamp modulate dither", scanline_x32cb16blend_clamp_mod_dither, init_y },
231 "565 fb, 8888 tx, SRC clamp", scanline_t32cb16_clamp, init_y },
234 "565 fb, x888 tx, SRC clamp", scanline_t32cb16_clamp, init_y },
237 "565 fb, 8888 tx, SRC clamp dither", scanline_t32cb16_clamp_dither, init_y },
240 "565 fb, x888 tx, SRC clamp dither", scanline_t32cb16_clamp_dither, init_y },
243 "565 fb, 565 tx, SRC clamp", scanline_t16cb16_clamp, init_y },
246 "565 fb, 565 tx, SRC_OVER clamp", scanline_t16cb16blend_clamp_mod, init_y },
717 texture_t& tx = c->state.texture[i];
718 if (!tx.enable)
720 texture_iterators_t& ti = tx.iterators;
724 if (tx.s_coord != GGL_ONE_TO_ONE) {
725 const int w = tx.surface.width;
726 u = wrapping(tc[i].s, w, tx.s_wrap);
729 u = (((tx.shade.is0>>16) + x)<<16) + FIXED_HALF;
733 if (tx.t_coord != GGL_ONE_TO_ONE) {
734 const int h = tx.surface.height;
735 v = wrapping(tc[i].t, h, tx.t_wrap);
738 v = (((tx.shade.it0>>16) + y)<<16) + FIXED_HALF;
742 if (tx.mag_filter == GGL_NEAREST &&
743 tx.min_filter == GGL_NEAREST)
747 tx.surface.read(&tx.surface, c, u, v, &texel);
749 const int w = tx.surface.width;
750 const int h = tx.surface.height;
757 if (tx.s_wrap == GGL_REPEAT) {
768 if (tx.t_wrap == GGL_REPEAT) {
781 tx.surface.read(&tx.surface, c, u0, v0, &texels[0]);
782 tx.surface.read(&tx.surface, c, u0, v1, &texels[1]);
783 tx.surface.read(&tx.surface, c, u1, v0, &texels[2]);
784 tx.surface.read(&tx.surface, c, u1, v1, &texels[3]);
812 switch (tx.env) {
833 uint32_t Cc = tx.env_color[i];
966 texture_t& tx = c->state.texture[0];
967 const int32_t u = (tx.shade.is0>>16) + x;
968 const int32_t v = (tx.shade.it0>>16) + y;
969 m_src = reinterpret_cast<uint32_t*>(tx.surface.data)+(u+(tx.surface.stride*v));
983 texture_t& tx = c->state.texture[0];
984 const int32_t u = (tx.shade.is0>>16) + x;
985 const int32_t v = (tx.shade.it0>>16) + y;
986 m_src = reinterpret_cast<uint16_t*>(tx.surface.data)+(u+(tx.surface.stride*v));
1002 texture_t& tx = c->state.texture[0];
1003 texture_iterators_t& ti = tx.iterators;
1008 m_width_m1 = tx.surface.width - 1;
1009 m_height_m1 = tx.surface.height - 1;
1010 m_data = tx.surface.data;
1011 m_stride = tx.surface.stride;
1092 const texture_t& tx = c->state.texture[0];
1093 const texture_iterators_t& ti = tx.iterators;
1096 m_width_m1 = tx.surface.width-1;
1097 m_data = tx.surface.data;
1103 else if (v >= (int)tx.surface.height)
1104 v = (int)tx.surface.height-1;
1106 m_data += (tx.surface.stride*v) << shift;