summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2011-01-30r600g: consolidate vertex_buffer_update functionsMarek Olšák
2011-01-30r600g: consolidate draw_vbo functions (v2)Marek Olšák
Added a conditional to spi_update per Dave's comment.
2011-01-30r600g: make r600_drawl inherit pipe_draw_infoMarek Olšák
2011-01-30r600g: add back u_upload_mgr integrationMarek Olšák
I can't see a performance difference with this code, which means all the driver-specific code removed in this commit was unnecessary. Now we use u_upload_mgr in a slightly different way than we did before it got dropped. I am not restoring the original code "as is" due to latest u_upload_mgr changes that r300g performance benefits from. This also fixes: - piglit/fp-kil
2011-01-30nvc0: implement transform feedback stateChristoph Bumiller
2011-01-29nvc0: enable PIPE_CAP_ARRAY_TEXTURES and fix themChristoph Bumiller
2011-01-29u_blitter: use user buffers instead of real buffersMarek Olšák
User buffers may be the fastest way to upload data.
2011-01-28gallium/docs: add info about transfer boxes and array texturesBrian Paul
2011-01-28gallium: added comments to pipe_transferBrian Paul
2011-01-28softpipe: fix array textures to use resource array_sizeBrian Paul
Don't use height for 1D array textures or depth for 2D array textures.
2011-01-28util: Fix leak of transfers in upload managerJakob Bornecrantz
2011-01-28r300g: fix resource_copy_region for DXT SRGB formatsMarek Olšák
2011-01-28r600g: handle PIPE_CAP_ARRAY_TEXTURESMarek Olšák
2011-01-28r300g: handle PIPE_CAP_ARRAY_TEXTURESMarek Olšák
2011-01-28r300g: 8x8-compressed zbuffer can only be point-sampledMarek Olšák
2011-01-28r300g: fix and re-enable 8x8 zbuffer compression modeMarek Olšák
Also cleanup the whole thing.
2011-01-27r300g: print driver info if RADEON_DEBUG=infoMarek Olšák
2011-01-27r300g: add winsys flag CAN_AACOMPRESSMarek Olšák
2011-01-27r300g: rename flag squaretiling -> drm_2_1_0Marek Olšák
2011-01-27util: fix parsing debug optionsMarek Olšák
So that 'foo' can be found in: OPTION=prefixfoosuffix,foo Also allow that debug options can be separated by a non-alphanumeric characters instead of just commas.
2011-01-27r300g: fix some bugs with zbuffer compression (v4)Marek Olšák
This drops the memblock manager for ZMASK. Instead, only one zbuffer can be compressed at a time. Note that this does not necessarily have to be slower. When there is a large number of zbuffers, compression might be used more often than it was before. It's also easier to debug. How it works: 1) 'clear' turns the compression on. 2) If some other zbuffer is set or the currently-bound zbuffer is used for texturing, the driver decompresses it and then turns the compression off. Notes: - The ZMASK clear has been refactored, so that only one packet3 is used to clear ZMASK. - The 8x8 compression mode is disabled. I couldn't make it work without issues. - Also removed driver-specific stuff from u_blitter. Driver status: - RV530 and R580 appear to just work (finally). - RV570 should work, but there may be an issue that we don't correctly calculate the number of dwords to clear, resulting in a partially uninitialized zbuffer. - RS690 misrenders as if no ZMASK clear happened. No idea what's going on. - RV350 may even hardlock. This issue was already present and this patch doesn't fix it. I think we are still missing some hardware info we need to make the zbuffer compression work fully. Note that there is also an issue with HiZ, resulting in a sort of blocky zigzagged corruption around some objects.
2011-01-26tgsi: add cases for array texturesBrian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33555
2011-01-26st/egl: Downgrade warning to debug when we can't create a drm screenKristian Høgsberg
We try to load a DRI driver if this fails so don't confuse users.
2011-01-26util: require debug options to be separated by commasMarek Olšák
Let's assume there are two options with names such that one is a substring of another. Previously, if we only specified the longer one as a debug option, the shorter one would be considered specified as well (because of strstr). This commit fixes it by checking that each option is surrounded by commas. (a regexp would be nicer, but this is not a performance critical code)
2011-01-26gallium: add an interface for query predicatesZack Rusin
as specified in the arb_occlusion_query2. just the interface.
2011-01-25softpipe: support for 1D/2D texture arraysBrian Paul
2011-01-25tgsi: add support for 1D/2D texture arraysBrian Paul
2011-01-25r600g: Implement timer queries.Mathias Fröhlich
2011-01-25r600g: Implement asyncronous query results.Mathias Fröhlich
2011-01-25r600g: Fix meaning of num_results for queries.Mathias Fröhlich
2011-01-25fix potential leak in r600_context_initTim Wiederhake
2011-01-25silences some valgrind warningsTim Wiederhake
==5547== Conditional jump or move depends on uninitialised value(s) ==5547== at 0x8FE745D: r600_drm_winsys_create (r600_drm.c:86)
2011-01-25softpipe: fix off-by-one error in setup_fragcoord_coeff()Brian Paul
If we invert Y, need to subtract one from the surface height. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=26795 for softpipe. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-25svga: link libwsw for dri-vmwgfx target with make build system tooRoland Scheidegger
2011-01-25u_blitter: remove bogus assertionMarek Olšák
The module uses the 3D engine, so it can blit non-compatible formats.
2011-01-25u_blitter: report recursion, update commentsMarek Olšák
2011-01-24nvc0: Move declaration before code.Vinson Lee
Fixes nvc0 SCons build.
2011-01-24gallium/tgsi: update the docs for the new opcodes a bitZack Rusin
2011-01-24scons: Add nvc0 to SConscript.Vinson Lee
2011-01-24vega: implement handler/pointer conversion using a hash tableBrian Paul
Before, we were just casting between 32-bit VGHandles and 64-bit pointers.
2011-01-24vega: remove redundant functions found elsewhereBrian Paul
2011-01-24vega: replace casts with pointer/handle conversion functionsBrian Paul
Per the spec, all OpenVG handles are 32-bit. We can't just cast them to/from integers on 64-bit systems. Start fixing that mess by introducing a set of handle/pointer conversion functions in handle.h. The next step is to implement a handle/pointer hash table...
2011-01-25svga: Add more swrast debugingJakob Bornecrantz
2011-01-25svga: Use get once helpers for context debug envsJakob Bornecrantz
2011-01-25rbug: Fix surface reference leakJakob Bornecrantz
2011-01-25r600g: FLT_TO_INT* are vector instructions on Evergreen.Henri Verbeet
FLT_TO_INT is a vector instruction, despite what the (current) documentation says. FLT_TO_INT_FLOOR and FLT_TO_INT_RPI aren't explicitly mentioned in the documentation, but those are vector instructions too.
2011-01-24graw: add a test showing the new sampling scheme in actionZack Rusin
2011-01-24gallium: implement modern sampling schemeZack Rusin
largely a merge of the previously discussed origin/gallium-resource-sampling but updated. the idea is to allow arbitrary binding of resources, the way opencl, new gl versions and dx10+ require, i.e. DCL RES[0], 2D, FLOAT LOAD DST[0], SRC[0], RES[0] SAMPLE DST[0], SRC[0], RES[0], SAMP[0]
2011-01-24draw: Do not use LLVM's opaque types.José Fonseca
Contrary what the name may suggest, LLVM's opaque types are used for recursive types -- types whose definition refers itself -- so opaque types correspond to pre-declaring a structure in C. E.g.: struct node; struct link { .... struct node *next; }; struct node { struct link link; } Void pointers are also disallowed by LLVM. So the suggested way of creating what's commonly referred as "opaque pointers" is using byte pointer (i.e., uint8_t * ).
2011-01-24secure malloc in translate_cache_createTim Wiederhake
Signed-off-by: Brian Paul <brianp@vmware.com>