Lines Matching refs:tx

169         "565 fb, 8888 tx, blend SRC_OVER", scanline_t32cb16blend, init_y_noop },
172 "565 fb, 8888 tx, SRC", scanline_t32cb16, init_y_noop },
176 "565 fb, 8888 tx, blend SRC_OVER dither", scanline_t32cb16blend_dither, init_y_noop },
180 "565 fb, 8888 tx, SRC dither", scanline_t32cb16_dither, init_y_noop },
184 "565 fb, 8888 tx, blend dst:ONE_MINUS_SRCA src:SRCA", scanline_t32cb16blend_srca, init_y_noop },
188 "565 fb, 8888 tx, SRC_OVER clamp", scanline_t32cb16blend_clamp, init_y },
191 "565 fb, 8888 tx, SRC_OVER clamp dither", scanline_t32cb16blend_clamp_dither, init_y },
195 "565 fb, 8888 tx, SRC_OVER clamp modulate", scanline_t32cb16blend_clamp_mod, init_y },
199 "565 fb, x888 tx, SRC_OVER clamp modulate", scanline_x32cb16blend_clamp_mod, init_y },
202 "565 fb, 8888 tx, SRC_OVER clamp modulate dither", scanline_t32cb16blend_clamp_mod_dither, init_y },
205 "565 fb, x888 tx, SRC_OVER clamp modulate dither", scanline_x32cb16blend_clamp_mod_dither, init_y },
208 "565 fb, 8888 tx, SRC clamp", scanline_t32cb16_clamp, init_y },
211 "565 fb, x888 tx, SRC clamp", scanline_t32cb16_clamp, init_y },
214 "565 fb, 8888 tx, SRC clamp dither", scanline_t32cb16_clamp_dither, init_y },
217 "565 fb, x888 tx, SRC clamp dither", scanline_t32cb16_clamp_dither, init_y },
220 "565 fb, 565 tx, SRC clamp", scanline_t16cb16_clamp, init_y },
223 "565 fb, 565 tx, SRC_OVER clamp", scanline_t16cb16blend_clamp_mod, init_y },
678 texture_t& tx = c->state.texture[i];
679 if (!tx.enable)
681 texture_iterators_t& ti = tx.iterators;
685 if (tx.s_coord != GGL_ONE_TO_ONE) {
686 const int w = tx.surface.width;
687 u = wrapping(tc[i].s, w, tx.s_wrap);
690 u = (((tx.shade.is0>>16) + x)<<16) + FIXED_HALF;
694 if (tx.t_coord != GGL_ONE_TO_ONE) {
695 const int h = tx.surface.height;
696 v = wrapping(tc[i].t, h, tx.t_wrap);
699 v = (((tx.shade.it0>>16) + y)<<16) + FIXED_HALF;
703 if (tx.mag_filter == GGL_NEAREST &&
704 tx.min_filter == GGL_NEAREST)
708 tx.surface.read(&tx.surface, c, u, v, &texel);
710 const int w = tx.surface.width;
711 const int h = tx.surface.height;
718 if (tx.s_wrap == GGL_REPEAT) {
729 if (tx.t_wrap == GGL_REPEAT) {
742 tx.surface.read(&tx.surface, c, u0, v0, &texels[0]);
743 tx.surface.read(&tx.surface, c, u0, v1, &texels[1]);
744 tx.surface.read(&tx.surface, c, u1, v0, &texels[2]);
745 tx.surface.read(&tx.surface, c, u1, v1, &texels[3]);
773 switch (tx.env) {
794 uint32_t Cc = tx.env_color[i];
927 texture_t& tx = c->state.texture[0];
928 const int32_t u = (tx.shade.is0>>16) + x;
929 const int32_t v = (tx.shade.it0>>16) + y;
930 m_src = reinterpret_cast<uint32_t*>(tx.surface.data)+(u+(tx.surface.stride*v));
944 texture_t& tx = c->state.texture[0];
945 const int32_t u = (tx.shade.is0>>16) + x;
946 const int32_t v = (tx.shade.it0>>16) + y;
947 m_src = reinterpret_cast<uint16_t*>(tx.surface.data)+(u+(tx.surface.stride*v));
963 texture_t& tx = c->state.texture[0];
964 texture_iterators_t& ti = tx.iterators;
969 m_width_m1 = tx.surface.width - 1;
970 m_height_m1 = tx.surface.height - 1;
971 m_data = tx.surface.data;
972 m_stride = tx.surface.stride;
1053 const texture_t& tx = c->state.texture[0];
1054 const texture_iterators_t& ti = tx.iterators;
1057 m_width_m1 = tx.surface.width-1;
1058 m_data = tx.surface.data;
1064 else if (v >= (int)tx.surface.height)
1065 v = (int)tx.surface.height-1;
1067 m_data += (tx.surface.stride*v) << shift;