summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* nv40: fix include of nv04_surface_2d.hChristoph Bumiller2010-02-261-1/+1
|
* gallium/nouveau: clean-up #includesBrian Paul2010-02-265-22/+22
|
* softpipe: fix up #includesBrian Paul2010-02-262-6/+8
|
* gallium/trace: remove unneeded path prefixes on #includesBrian Paul2010-02-261-5/+5
|
* gallium/identity: remove unneeded path prefixes on #includesBrian Paul2010-02-261-5/+5
|
* util: Code generate functions to pack and unpack a single pixel.José Fonseca2010-02-262-5/+6
| | | | | | | | | | | | | | | | | | | | | Should work correctly for all pixel formats except SRGB formats. Generated code made much simpler by defining the pixel format as a C structure. For example this is the generated structure for PIPE_FORMAT_B6UG5SR5S_NORM: union util_format_b6ug5sr5s_norm { uint16_t value; struct { int r:5; int g:5; unsigned b:6; } chan; }; Not used everywhere yet because it seems compiled code is slower than bitshift arithmetic by some misterious reason. So we should generate bitshift arithmetic at least for the simple UNORM pixel formats.
* util: Factor some code into u_format_parse.pyJosé Fonseca2010-02-261-2/+2
|
* util: Use python names consistent with u_format.hJosé Fonseca2010-02-261-35/+35
|
* llvmpipe: Fix lp_tile_r5g6b5_unorm_write_4ub.José Fonseca2010-02-261-1/+2
| | | | Was using 32bit integer pointers instead of 16bits.
* llvmpipe: Fix scons dependencies.José Fonseca2010-02-261-0/+6
|
* r300g: Atomize vertex shader.Corbin Simpson2010-02-248-60/+58
|
* r300g: Move CALLOCs to correct place.Corbin Simpson2010-02-241-8/+7
|
* r300g: prevent CS overflow when emitting the draw packetsMarek Olšák2010-02-243-18/+55
| | | | Signed-off-by: Corbin Simpson <[email protected]>
* llvmpipe: clean up rasterization threads upon context destructionBrian Paul2010-02-242-0/+18
| | | | Fixes glean hang, bug 26536.
* r300g: remove invalid .PHONY lineBrian Paul2010-02-241-2/+0
| | | | | The $(COMPILER_ARCHIVE) target is not a phony target. This solves the unconditional re-making of libr300.a
* llvmpipe: more lp_rasterizer_task parameter passingBrian Paul2010-02-244-114/+89
|
* llvmpipe: pass fewer parameters to rasterization functionsBrian Paul2010-02-243-15/+9
|
* llvmpipe: added some assertionsBrian Paul2010-02-241-0/+5
|
* llvmpipe: SRGB textures not supported yetBrian Paul2010-02-241-1/+0
|
* llvmpipe: vertex shader textures not supported yetBrian Paul2010-02-241-1/+1
|
* r300: Update for UTIL_FORMAT_LAYOUT_xxx changes.José Fonseca2010-02-242-16/+4
|
* llvmpipe: Update for UTIL_FORMAT_LAYOUT_xxx changes.José Fonseca2010-02-242-7/+5
|
* i915g: fix a commentBrian Paul2010-02-241-1/+1
|
* llvmpipe: Fix breakeage.José Fonseca2010-02-241-24/+13
| | | | | | | Due to the u_format.csv changes the unrolled code generator was being used for formats it didn't support. Bring some bugfixes from u_format_access.py too.
* llvmpipe: Handle correctly 24bit formats.José Fonseca2010-02-241-44/+46
|
* llvmpipe: Kill unused UTIL_FORMAT_LAYOUT_SCALAR.José Fonseca2010-02-241-4/+2
|
* llvmpipe: add lp_tile_image.c to sourcesBrian Paul2010-02-232-0/+2
|
* llvmpipe: whole image tile/untile functionsBrian Paul2010-02-232-0/+183
|
* llvmpipe: remove Z16 format override hackBrian Paul2010-02-231-6/+0
|
* llvmpipe: Z16 format is not supportedBrian Paul2010-02-231-0/+4
|
* llvmpipe: added assertions to verify that scene is emptyBrian Paul2010-02-232-0/+5
|
* llvmpipe: added some assertionsBrian Paul2010-02-231-0/+3
|
* r300g: fix texture swizzling for the SRGB formatsMarek Olšák2010-02-241-4/+20
|
* i965g: Add fallthrough comments in switch statement.Vinson Lee2010-02-221-3/+3
| | | | Silences warnings about missing break statements in static analysis.
* r300g: fix draw_elements for "start" != 0Marek Olšák2010-02-231-7/+2
| | | | Reported-by: Andre Maasikas <[email protected]>
* svga: Upload user buffers only once.José Fonseca2010-02-224-29/+46
|
* svga: Fix the guest offset of piecewise buffer DMAs.José Fonseca2010-02-223-7/+9
| | | | | It was being erroneously set equal to the host offset, but it should be zero.
* svga: Emit a scalar rcp in shadow maps.José Fonseca2010-02-221-4/+4
| | | | Small improvement in Lightsmark 2008.
* svga: Don't emit zero writemasks.José Fonseca2010-02-222-28/+39
| | | | | | | | This fixes a regression with Lightsmark, where more compact TGSI from Mesa was causing a zero mask MOV to be emitted for shadow map compare, causing problems in some backends. Add a few more assertions to catch cases like this.
* svga: Upload the dirty ranges instead of the whole buffer.José Fonseca2010-02-221-45/+48
|
* svga: Break uploads of big buffers into smaller pieces.José Fonseca2010-02-222-22/+147
| | | | | | Fixes crash in Homeworld2 which tries to create a 14MB buffer, because we now avoid creating GMR buffers larger than 8MB to ensure progress given we have only a 16MB pool.
* svga: Note ranges even when there is no hardware buffer around.José Fonseca2010-02-221-5/+2
| | | | | Not having a hardware buffer around doesn't change the fact that the range is dirty and needs to be uploaded eventually.
* svga: Further cleanup/comment svga buffer code.José Fonseca2010-02-222-112/+142
| | | | Just cosmetic changes -- no behavior change.
* svga: Temporarily create a sw vertex buf when failed to create a hw buf.José Fonseca2010-02-221-7/+20
| | | | | Many apps don't check the return of map buffer so it is better not to fail.
* svga: Remove unused buffer download code.José Fonseca2010-02-222-45/+0
| | | | Unnecessary now that we never destroy buffer storage.
* svga: Prevent buffer overflow in buffer ranges.José Fonseca2010-02-221-8/+54
| | | | | | | Do this by extending the nearest range to cover the new range. This fixes an access fault in Call of Duty which was doing many disjoint glBufferSubData calls.
* svga: Fix PIPE_LOGICOP_INVERT.José Fonseca2010-02-221-6/+1
| | | | | | Actually the current XOR implementation is an INVERT. This fixes rectangle selection in Maya.
* i965g: added missing texture cap queriesBrian Paul2010-02-221-0/+4
|
* i915g: added missing texture cap queriesBrian Paul2010-02-221-0/+4
|
* Revert "r300g: rebuild winsys/pipe buffer handling and add buffer map"Dave Airlie2010-02-2214-600/+101
| | | | | | | | | | This reverts commit fff5be8e7b4557c221f2425dcafc2e7cbbba76ba. Probably went too soon with this, dileX reported OA not working for him it works here fine, but the optimisations I wanted aren't working properly yet so I'll fix that now. Signed-off-by: Dave Airlie <[email protected]>