Home | History | Annotate | Download | only in libpixelflinger

Lines Matching refs:tx

113         "565 fb, 8888 tx, blend", scanline_t32cb16blend, init_y_noop },
116 "565 fb, 8888 tx", scanline_t32cb16, init_y_noop },
565 texture_t& tx = c->state.texture[i];
566 if (!tx.enable)
568 texture_iterators_t& ti = tx.iterators;
572 if (tx.s_coord != GGL_ONE_TO_ONE) {
573 const int w = tx.surface.width;
574 u = wrapping(tc[i].s, w, tx.s_wrap);
577 u = (((tx.shade.is0>>16) + x)<<16) + FIXED_HALF;
581 if (tx.t_coord != GGL_ONE_TO_ONE) {
582 const int h = tx.surface.height;
583 v = wrapping(tc[i].t, h, tx.t_wrap);
586 v = (((tx.shade.it0>>16) + y)<<16) + FIXED_HALF;
590 if (tx.mag_filter == GGL_NEAREST &&
591 tx.min_filter == GGL_NEAREST)
595 tx.surface.read(&tx.surface, c, u, v, &texel);
597 const int w = tx.surface.width;
598 const int h = tx.surface.height;
605 if (tx.s_wrap == GGL_REPEAT) {
616 if (tx.t_wrap == GGL_REPEAT) {
629 tx.surface.read(&tx.surface, c, u0, v0, &texels[0]);
630 tx.surface.read(&tx.surface, c, u0, v1, &texels[1]);
631 tx.surface.read(&tx.surface, c, u1, v0, &texels[2]);
632 tx.surface.read(&tx.surface, c, u1, v1, &texels[3]);
660 switch (tx.env) {
681 uint32_t Cc = tx.env_color[i];