summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* r300g: rebuild winsys/pipe buffer handling and add buffer mapDave Airlie2010-02-2214-101/+600
| | | | | | | | | | | | | This creates a cleaner winsys and drop the simple screen stuff. It makes r300g use pb_bufmgr structs and adds usage of the cached bufmgr for vertex/index buffers. It also avoids mapping too often. I'm not 100% sure this is perfect but it won't find its own bugs. Signed-off-by: Dave Airlie <[email protected]>
* r3OOg: support rendering of more than 65535 vertices per draw call (almost)Marek Olšák2010-02-222-29/+83
| | | | | | | | | | The path for VAP_ALT_NUM_VERTICES is also in place (and tested) but not enabled by default due to the missing support of this reg in the upstream kernel. Also, a non-zero BUFFER_BASE in the INDX_BUFFER packet3 hangs the machine. Am I missing something? Because of this, only draw_arrays can render more than 65535 vertices without the use of VAP_ALT_NUM_VERTICES.
* i965g: Fix memory leak.Vinson Lee2010-02-211-1/+2
|
* r300g: Remove unnecessary header.Vinson Lee2010-02-211-1/+0
|
* r300g: precompute framebuffer register valuesMarek Olšák2010-02-216-220/+250
|
* r300g: add all missing colorbuffer formatsMarek Olšák2010-02-212-83/+165
|
* r300g: make r300_translate_texformat privateMarek Olšák2010-02-213-235/+246
| | | | | | Unlikely to increase performance from inlining. And partially expose it through r300_is_sampler_format_supported.
* r300g: re-enable SRGB formatsMarek Olšák2010-02-211-1/+2
| | | | Ouch.
* i965g: Remove dead code.Vinson Lee2010-02-211-2/+0
|
* i965g: Fix assertions that were always true.Vinson Lee2010-02-211-4/+10
| | | | | | | | | The surface_format field is 9 bits wide which has a maximum value of 511. BRW_SURFACEFORMAT_INVALID has a value of 4095 which exceeds the width of the surface_format field. This patch asserts that the format is not BRW_SURFACEFORMAT_INVALID before assignment to the surface_format field.
* i965g: Fix use of out-of-scope variable.Vinson Lee2010-02-211-8/+7
|
* r300g: fix rendering into the L8 and A8 texture formatsMarek Olšák2010-02-191-2/+2
| | | | RB3D_COLORPITCH.COLORFORMAT.I8 stores the C2 component.
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-191-1/+1
|
* Revert "r300g: remove L8_UNORM from colorbuffer formats"Corbin Simpson2010-02-191-0/+1
| | | | | | | | This reverts commit fc427d23439a2702068209957f08990ea29fe21b. At least xorg uses this, and just because something is not used in OpenGL is *never* a valid reason to remove functionality from Gallium. If something lacks a test, go add a test, don't remove features.
* r300g: remove L8_UNORM from colorbuffer formatsMarek Olšák2010-02-191-1/+0
| | | | Not renderable in OpenGL anyway.
* softpipe: fix depth testing problemsBrian Paul2010-02-181-36/+53
| | | | | | | | | | | | | The optimized Z-test functions assumed that the array of incoming quads are adjacent, but that's not always true. The fragment shader can cull intermediate quads, for example. Now these Z-test functions can cope with non-adjacent quads. A little bit of performance is probably lost, but it's probably not worth worring about. This fixes broken glBitmap() Z testing, among other things. (cherry picked from commit d437d905e6924ebc05ec9efe87e1e2c48d75bc13)
* softpipe: comments and whitespace fixesBrian Paul2010-02-181-7/+8
|
* softpipe: const qualifiers, commentsBrian Paul2010-02-181-3/+3
|
* identity: Propagate api->name and api->driver_name upJakob Bornecrantz2010-02-181-0/+2
|
* trace: Propagate api->name upJakob Bornecrantz2010-02-181-0/+1
|
* svga: Silence uninitialized variable warnings.Vinson Lee2010-02-171-0/+6
|
* r300g: add support for all missing non-FP sampler formatsMarek Olšák2010-02-183-124/+234
| | | | | The idea is to directly parse the format description in r300_translate_texformat and return ~0 if the format is unsupported.
* llvmpipe: use ffs technique for full tiles alsoKeith Whitwell2010-02-171-45/+70
| | | | | | | | Need to compute two masks here for full and partial 16x16 blocks. Gives a further good improvement for isosurf particularly: isosurf 97 -> 108 gears 597 -> 611
* llvmpipe: rework do_block_16 to use bitmasks and ffsKeith Whitwell2010-02-171-27/+41
| | | | | | | | Some nice speedups: gears: 547 -> 597 isosurf: 83 -> 98 Others like gloss unchanged. Could do further work in this direction.
* nv40: Fix incorrect so_new() numbering.Francisco Jerez2010-02-161-1/+1
|
* nv40: Implement PIPE_CAP_MAX_COMBINED_SAMPLERS.Francisco Jerez2010-02-161-0/+2
|
* nv50: use hw idx buffers where we canBen Skeggs2010-02-162-8/+27
|
* nouveau: fix for latest libdrmBen Skeggs2010-02-161-5/+1
|
* r300g: fix the size of constant buffersMarek Olšák2010-02-153-2/+34
| | | | 4 more piglit tests pass, sweet.
* trace: Dump blend state as a binary blob.José Fonseca2010-02-151-37/+1
| | | | | | | | | | Gallium interfaces are too fluid -- XML or not is just too much work trying to accommodate for differences in traces. SWIG generated bindings are also full of quirks, making unmarshalling the XML from too hard. Finally, this is the first step for faster tracing.
* trace: Fix constant buffer unwrapping.José Fonseca2010-02-151-9/+4
| | | | | Pointer unwrapping should happen before dump the pointer, so that the real pipe driver pointers are shown, instead of the trace driver's.
* trace: No need to dump reference counts.José Fonseca2010-02-141-13/+0
|
* trace: Update for os_stream changes.José Fonseca2010-02-141-1/+1
|
* llvmpipe: Silence unused value warning.Vinson Lee2010-02-141-0/+1
|
* svga: Silence uninitialized variable warning.Vinson Lee2010-02-141-0/+1
|
* r300: add half_float_vertex supportMarek Olšák2010-02-142-0/+11
|
* r300g: set the correct tiling flags for renderbuffersMarek Olšák2010-02-141-0/+68
| | | | | | | | | | MACRO_SWITCH is applied to samplers but not renderbuffers. This commit fixes incorrect rendering to large and small mipmaps where the large ones are macrotiled and the small ones are not and both are emitted in the same CS. Note that this is still disabled by default (rework of texture transfers is next).
* r300g: add macrotiling support to texture setupMarek Olšák2010-02-143-10/+45
|
* r300g: accelerate blitting for all formats by faking the texture formatMarek Olšák2010-02-143-7/+85
|
* r300g: fix texture formats: A4R4G4B4_UNORM, A1R5G5B5_UNORM, R5G6B5_UNORMMarek Olšák2010-02-143-5/+17
|
* llvmpipe: s/debug_dump_/util_dump_/José Fonseca2010-02-144-31/+31
|
* cell: Use util_format_name().José Fonseca2010-02-141-2/+3
|
* llvmpipe: Use util_format_name().José Fonseca2010-02-141-2/+2
|
* nv: Use util_format_name().José Fonseca2010-02-146-10/+17
|
* r300g: Use util_format_name().José Fonseca2010-02-144-12/+13
|
* trace: Use util_format_name().José Fonseca2010-02-141-1/+2
|
* trace: Fix generated XML.José Fonseca2010-02-143-22/+9
|
* llvmpipe: Silence uninitialized variable warning.Vinson Lee2010-02-131-0/+2
|
* softpipe: Silence uninitialized variable warnings.Vinson Lee2010-02-131-0/+3
|
* r300g: fix scons buildMarek Olšák2010-02-142-3/+3
|