search for: st_atom_viewport

Displaying 1 result from an estimated 1 matches for "st_atom_viewport".

2009 May 11
1
[PATCH] nv50/gallium: small fix for nv50_transfer_rect_m2mf (sy <-> dy)
...e alone doesn't fix it. The mesa state tracker in st_cb_clear.c assumes Y_0_TOP when clearing the color buffer, but that seems to be wrong for NV50. When bypassing the viewport transformation, vertex position (0, 0) becomes bottom left, and not top. This is a problem in several other places. In st_atom_viewport.c, because of Y_0_TOP we get inverted viewport parameters, so the translations are wrong there, too, the image doesn't appear flipped though becasuse scale[1] gets negated again in nv50_state_validate (but the translation - inconsistenly - remains unchanged). Now one could do so_data (so, f...