Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-30 | nouveau: Fix glTexSubImage on swizzled surfaces on <=NV40 | Luca Barbieri | |
Currently in nvXX_transfer_new a temporary as large as the surface is created. If the subrectangle is not the whole texture we would need to read back the whole texture, but we aren't. Thus, everything but the subrectangle specified is loaded as garbage. This can be seen in progs/demos/ray. This patch fixes the problem by creating a temporary that covers only the desired subrectangle. That makes us hit an alignment assert in nv04_surface_2d.c. Fix it using the point registers instead of manipulating the swizzled surface offset to account for the destination coordinates (which do not seem to have a 1024 limit). Signed-off-by: Francisco Jerez <currojerez@riseup.net> | |||
2009-12-28 | nouveau: Fix swizzling for copies to rectangular textures | Luca Barbieri | |
nVidia hardware seems to swizzle rectangular texture (with width != height) coordinates by swizzling the lower bits and then adding the higher bits from the larger dimension. However, nv04_swizzle_bits ignores width and height and just interleaves everything. This causes problems with rectangular POT textures with height or width 2048 or 4096 (but not 2048x1024 where it works by chance) since the driver swizzles them in 1024x1024 chunks and gets the start position for the non-first chunks wrong. The following patch seems to fix those problems. | |||
2009-12-28 | nouveau: Fix nv20-40 swizzled miptree RTs | Luca Barbieri | |
I just coded a patch that does this and seems to work fine. It must be fixed since it breaks OpenGL (or the state tracker can be changed, but it seems better to do it in the driver). The patch also fixes NV20 and NV30 in the same way. They compile but are untested. I would guess that using the 3D engine is faster for the larger levels, but the 2D engine is faster for the smaller ones (and lacks this issue). | |||
2009-12-17 | Move the remaining format pf_get_* functions to u_format.h. | Michal Krol | |
Previously they depended on format blocks, but after removing those they started depending on format encoding. | |||
2009-12-14 | nouveau: avoid running out of relocs | Maarten Maathuis | |
- Added flush notify functions for NV30 and NV40. - Flushing mid frame will call flush notify, which will resubmit all relocs. - We don't try to recover from reloc failure yet. | |||
2009-12-02 | gallium: adapt nv drivers to interface cleanups | Roland Scheidegger | |
2009-10-31 | nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40. | Younes Manton | |
2009-10-12 | Add support for more 8 and 16 bits formats | Patrice Mandin | |
2009-10-06 | nv04-nv40: Fix swizzle transfers for NPOT sizes. | Younes Manton | |
Workarounds not necessary, SIFM can handle NPOT, we just weren't setting dst dimensions properly. SIFM can't handle odd w,h though, that still needs fixing. | |||
2009-08-26 | nv04: Handle more Z formats. | Younes Manton | |
Based on the patch from Luo Jinghua. | |||
2009-07-27 | nouveau: swizzle a single row or column, doing it one pixel at a time | Patrice Mandin | |
2009-07-26 | nouveau: only swizzle square textures for copy | Patrice Mandin | |
2009-07-26 | nouveau: Take into account destination position for copy_swizzle, need to ↵ | Patrice Mandin | |
split copy a bit more | |||
2009-07-26 | nouveau: Recursively swizzle an NPOT sized copy | Patrice Mandin | |
2009-07-24 | nouveau: use nv04_surface_copy_swizzle only for POT sizes | Patrice Mandin | |
2009-07-22 | nouveau: Take into account sx,sy parameters to read from source surface | Patrice Mandin | |
2009-06-29 | nouveau: Turn off debug cannon. | Younes Manton | |
2009-06-05 | nouveau: move channel creation into pipe drivers | Ben Skeggs | |
2009-06-05 | nouveau: call notifier/grobj etc funcs directly | Ben Skeggs | |
libdrm_nouveau is linked with the winsys, there's no good reason to do all this through yet another layer. | |||
2009-06-05 | nv04: remove u_simple_screen usage | Ben Skeggs | |
2009-03-04 | nouveau: oops, forgot to keep the NV10_SIFM object | Patrice Mandin | |
2009-03-04 | nouveau: Use proper SIFM object on NV30 | Patrice Mandin | |
2009-02-25 | nouveau: nv04-nv40 texture transfer. | Younes Manton | |
2009-02-10 | nouveau: nv40 swizzled mipmap fixes. | Younes Manton | |
2009-02-10 | nouveau: revert all my changes here, not the right way | Patrice Mandin | |
2009-02-10 | nouveau: stop with 0 dimension | Patrice Mandin | |
2009-02-10 | nouveau: we already have the right src offset | Patrice Mandin | |
2009-02-10 | nouveau: do not forget to half dimension. | Patrice Mandin | |
2009-02-10 | nouveau: revert most parts of recent mipmap+swizzle stuff. We only need to ↵ | Patrice Mandin | |
find right src and dst offset for given mipmap level. | |||
2009-02-10 | nouveau: dst offset is correct | Patrice Mandin | |
2009-02-10 | nouveau: recalc sub width and height for each mipmap level | Patrice Mandin | |
2009-02-08 | nouveau: include and calc offset before changing dimensions for next level | Patrice Mandin | |
2009-02-08 | nouveau: upload and swizzle each mipmap level in turn | Patrice Mandin | |
2009-02-06 | nouveau: Pass proper format to NV04_GDI_RECTANGLE_TEXT. | Younes Manton | |
2009-02-05 | nv04: fix pasto in nv04_surface_2d_init() | Pekka Paalanen | |
Wrong hardware object being used, when compared with earlier code. Signed-off-by: Pekka Paalanen <pq@iki.fi> | |||
2009-02-05 | nv04-nv40: move 2d blit/fill code into pipe driver | Ben Skeggs | |