search for: st_fb_orientation

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

2009 May 11
1
[PATCH] nv50/gallium: small fix for nv50_transfer_rect_m2mf (sy <-> dy)
...emains unchanged). Now one could do so_data (so, fui(-(nv50->viewport.translate[1] - nv50->framebuffer.height)); as well, which would make the viewport transformation correct, but the ST still outputs the wrong vertex coordinates for clear_with_quad. To fix both things, one could just let st_fb_orientation in st_context.h return Y_0_BOTTOM, but then glCopyTexSubImage2D (calling the appropriate function in st_cb_texture.c) flips the image and copies from the wrong offset, since offset 0 in memory is, well, top, as opposed to bottom like it seems to be for vertex coordinates that bypass the viewport ....