summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* [g3dvl] fix missing swizzle on instanceidChristian König2011-05-181-1/+1
|
* [g3dvl] add missing ureg_ENDChristian König2011-05-161-0/+2
|
* [g3dvl] softpipe now needs the llvm libsChristian König2011-05-161-1/+1
|
* [g3dvl] store the idct matrix as hex valuesChristian König2011-05-161-10/+17
| | | | Give the dct matrix a higher precision.
* Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-05-1552-1123/+1887
|\
| * r600g: reduce flushes so only when texture and CB overlap.Dave Airlie2011-05-152-8/+17
| | | | | | | | | | | | | | We only need to do this when the texture and CB are using the same memory area. Signed-off-by: Dave Airlie <[email protected]>
| * r300g: HiZ fixesMarek Olšák2011-05-151-24/+24
| | | | | | | | | | | | | | Nothing special, just changing conditions for when HiZ can be enabled and when HiZ memory becomes invalid. I was thinking about it again and realized it had not been quite right.
| * r300g: don't set other HyperZ states if depth and stencil tests are disabledMarek Olšák2011-05-151-14/+27
| | | | | | | | Such as HiZ.
| * r300g: dynamically ask for and release Hyper-Z accessMarek Olšák2011-05-1510-95/+225
| | | | | | | | | | We ask for Hyper-Z access when clearing a zbuffer. We release it if no zbuffer clear has been done for 2 seconds.
| * r300g: fix conversion from int to booleanMarek Olšák2011-05-151-2/+2
| |
| * u_vbuf_mgr: fix max_index computation once againMarek Olšák2011-05-141-15/+47
| | | | | | | | | | | | | | | | | | | | | | | | See how I compute and use the 'unused' variable in the code. It's crucial for getting max_index right. Fixed with the help of apitrace. (bisecting the problematic draw call manually was not fun though) This should fix: https://bugs.freedesktop.org/show_bug.cgi?id=36268 https://bugs.freedesktop.org/show_bug.cgi?id=36609
| * nvc0: prevent overlap between load address and destination regsChristoph Bumiller2011-05-131-15/+29
| | | | | | | | | | | | | | | | For example, an indirect load like "ld b128 $r0q c0[$r0]" seems to overwrite the address register before finishing the load, but only if there are a lot of threads running. Visible as displaced geoemtry in Unigine Heaven.
| * util_logbase2 takes and returns unsigned, not intMatt Turner2011-05-121-2/+2
| | | | | | | | | | Signed-off-by: Matt Turner <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * Remove redundant util_unsigned_logbase2Matt Turner2011-05-125-17/+5
| | | | | | | | | | | | | | util_logbase2 is exactly the same function. Signed-off-by: Matt Turner <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * u_math.h: Remove redundant mingw32 ffs definitionMatt Turner2011-05-121-4/+0
| | | | | | | | | | Signed-off-by: Matt Turner <[email protected]> Signed-off-by: Brian Paul <[email protected]>
| * st/egl: Implement EGL_WL_bind_wayland_display for x11,drm,waylandBenjamin Franzke2011-05-1315-0/+495
| |
| * nvfx: fill some PIPE_CAPsFrancesco Marella2011-05-131-0/+6
| | | | | | | | Signed-off-by: Francesco Marella <[email protected]>
| * i915g: Fix typos in print messages.Vinson Lee2011-05-121-3/+3
| |
| * r600g: don't unmap if we haven't mappedDave Airlie2011-05-131-2/+4
| | | | | | | | | | | | should fix https://bugs.freedesktop.org/show_bug.cgi?id=37157 Signed-off-by: Dave Airlie <[email protected]>
| * r600g: use a local var to store pointer to which register we are working onDave Airlie2011-05-131-7/+8
| | | | | | | | | | | | this just makes the code a little bit cleaner. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: make range/block act more like a page tableDave Airlie2011-05-133-50/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only allocate the blocks ptr in the range if we ever have one, otherwise don't bother wasting the memory. valgrind glxinfo before: ==967== in use at exit: 419,754 bytes in 706 blocks ==967== total heap usage: 3,552 allocs, 2,846 frees, 3,550,131 bytes allocated after: ==5227== in use at exit: 419,754 bytes in 706 blocks ==5227== total heap usage: 3,452 allocs, 2,746 frees, 3,140,531 bytes allocate Signed-off-by: Dave Airlie <[email protected]>
| * r600g: reduce r600_reg footprintDave Airlie2011-05-133-788/+785
| | | | | | | | | | | | | | | | This drops 6k of the text segment, a minor drop in the ocean, however it also makes the code a lot cleaner and removes a lot of duplicated information, hopefully making it more maintainable. Signed-off-by: Dave Airlie <[email protected]>
| * r600g: reduce memory usage from range/block hash table.Dave Airlie2011-05-134-28/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This table covered a large range unnecessarily, reduce the address range covered, use the fact that the bottom two bits aren't significant, and remove unused fields from the range struct. It also drops the hash_size/shift in context in favour of a define, which should make doing the math a bit less CPU intensive. valgrind glxinfo Before: ==320== in use at exit: 419,754 bytes in 706 blocks ==320== total heap usage: 3,691 allocs, 2,985 frees, 7,272,467 bytes allocated After: ==967== in use at exit: 419,754 bytes in 706 blocks ==967== total heap usage: 3,552 allocs, 2,846 frees, 3,550,131 bytes allocated Signed-off-by: Dave Airlie <[email protected]>
| * r600g: delay mapping until first map request. (v2)Dave Airlie2011-05-132-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently r600g always maps every bo, this is quite pointless as it wastes VM and on 32-bit with wine running VM space is quite useful. So with this patch we don't create the mappings until first use, without tiling enabled this probably won't make a major difference on its own, but with tiled staged uploads it should avoid keeping maps for most of the textures unnecessarily. v2: add bo data ptr check Signed-off-by: Dave Airlie <[email protected]>
| * r600g: fix flushes on rs780/rs880Alex Deucher2011-05-111-1/+3
| | | | | | | | | | | | | | | | | | They need the same hack as rv670. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=35312 Signed-off-by: Alex Deucher <[email protected]>
| * svga/drm: Implement svga_winsys_screen::get_hw_version.José Fonseca2011-05-101-0/+14
| |
| * st/wgl: Remove buggy assertion.José Fonseca2011-05-101-2/+0
| | | | | | | | | | The assertion is wrong, now that state tracker can cope with a window with zero width or height.
| * nv50: fix mistake in pipe caps for pre-NVA0 cardsMaxim Levitsky2011-05-101-0/+1
| | | | | | | | Introduced by 531b12af35a832bcd8928a4919d76f8e9405cde0.
| * nv50/nvc0: make transfers aware of PIPE_TRANSFER_MAP_DIRECTLYMarcin Slusarz2011-05-092-0/+6
| | | | | | | | | | | | | | | | | | | | If state tracker asked us to map resource directly and we can't do it (because of tiling), return NULL instead of doing full transfer - state tracker should handle it and fallback to some other method or repeat transfer without PIPE_TRANSFER_MAP_DIRECTLY. It greatly improves performance of xorg state tracker on nv50+, because its fallback (DFS/UTS) is much faster than full transfer.
| * r300g: unreference a zbuffer surface after decompressionMarek Olšák2011-05-091-0/+2
| |
| * r300g: remove redundant state variable hyperz_lockedMarek Olšák2011-05-095-14/+12
| |
| * r600g: anisotropic filtering support for evergreen hwJerome Glisse2011-05-095-23/+31
| | | | | | | | Signed-off-by: Jerome Glisse <[email protected]>
| * r600g: add support for anisotropic filteringCarl-Philip Haensch2011-05-092-3/+26
| |
| * gallium: Factor out unknown endianness detection.Michel Dänzer2011-05-091-2/+4
| |
| * Don't allow compilation if endianness isn't knownMatt Turner2011-05-091-1/+1
| | | | | | | | | | | | | | | | PIPE_ARCH_UNKNOWN_ENDIAN is used no where else. All #else branches of ifdef PIPE_ARCH_LITTLE assume big-endian. Not #error'ing out here only serves to allow bad things to happen. Signed-off-by: Matt Turner <[email protected]>
| * p_config.h: Rely on glibc endianness definitions when availableMatt Turner2011-05-091-0/+12
| | | | | | | | | | | | Suggested by Julien Cristau. Signed-off-by: Matt Turner <[email protected]>
| * st/xorg: add some debugging messages to xorg_exa.cMarcin Slusarz2011-05-091-1/+15
| |
| * st/xorg: remove DEBUG_PRINT macro and add exa_debug_printfMarcin Slusarz2011-05-091-30/+29
| | | | | | | | Localizes preprocessor usage to one place.
| * st/xorg: fix compilation of xorg_exa.c with DEBUG_PRINT set to 1Marcin Slusarz2011-05-091-7/+5
| |
| * cell: fix unbalanced parenthesisNicolas Kaiser2011-05-081-1/+1
| | | | | | | | | | Signed-off-by: Nicolas Kaiser <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | [g3dvl] enable gl_rasterization_rules for idctChristian König2011-05-151-11/+6
| |
* | [g3dvl] enable gl_rasterization_rules for zscanChristian König2011-05-151-6/+5
| |
* | [g3dvl] store mvpos seperately from x,y cordChristian König2011-05-151-23/+27
| |
* | [g3dvl] pre apply zscan to quant matrixChristian König2011-05-151-68/+51
| |
* | [g3dvl] no need for seperate intermediate buffers any moreChristian König2011-05-152-102/+110
| | | | | | | | This should reduce the video memory footprint drastically.
* | [g3dvl] move alignment of buffers to mb size into contextChristian König2011-05-152-7/+4
| |
* | [g3dvl] fix fi_frame mb incrementChristian König2011-05-141-2/+19
| |
* | [g3dvl] move dct_type detection out of get_macroblock_modesChristian König2011-05-081-29/+23
| |
* | [g3dvl] fix field selection of mb without mcChristian König2011-05-081-18/+23
| |
* | [g3dvl] memcpy the DCT buffer instead of writing it directlyChristian König2011-05-071-2/+6
| | | | | | | | It looks like texture buffers are not cached so this seems to be alot faster