summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-02-24util: Kill array vs arith layouts. Revamp UTIL_FORMAT_LAYOUT_xxx.José Fonseca
Too confusing. I now can get the same information through other means.
2010-02-24i915g: fix a commentBrian Paul
2010-02-24gallium/docs: clean up texture usage text, added texture geom infoBrian Paul
2010-02-24llvmpipe: Fix breakeage.José Fonseca
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.
2010-02-24util: Refactor some code.José Fonseca
2010-02-24util: Cope with the fact that formats in u_format.csv are not ordered.José Fonseca
2010-02-24util: Factor out the code to shorten a format name.José Fonseca
2010-02-24llvmpipe: Handle correctly 24bit formats.José Fonseca
2010-02-24util: Handle correctly 24bit formats.José Fonseca
2010-02-24util: Minor tweaks to ambigous/unused format descriptions.José Fonseca
2010-02-24util: Fix swizzles for SRGB formats.José Fonseca
Based on Marek Olšák's fix 8-bits-per-channel formats swizzles, with the exception that the notation for several formats (the vector formats) is actually reversed so they should be left alone.
2010-02-24util: Organize formats in groups. Add comments.José Fonseca
2010-02-24util: Allow '#' comments in u_format.csv.José Fonseca
2010-02-24util: Kill unused UTIL_FORMAT_LAYOUT_SCALAR.José Fonseca
2010-02-24llvmpipe: Kill unused UTIL_FORMAT_LAYOUT_SCALAR.José Fonseca
2010-02-24util: Store more derived data in the the format description.José Fonseca
2010-02-23gallivm: added clamp and int_to_float functionsBrian Paul
2010-02-23llvmpipe: add lp_tile_image.c to sourcesBrian Paul
2010-02-23llvmpipe: whole image tile/untile functionsBrian Paul
2010-02-23llvmpipe: remove Z16 format override hackBrian Paul
2010-02-23llvmpipe: Z16 format is not supportedBrian Paul
2010-02-23st/glx: improved depth/stencil format selection codeBrian Paul
Actually ask the gallium screen what Z/stencil format is supported. This will let us remove some hacks in the llvmpipe driver.
2010-02-23st/glx: added PIPE_FORMAT_Z24S8_UNORM codeBrian Paul
2010-02-23llvmpipe: added assertions to verify that scene is emptyBrian Paul
2010-02-23llvmpipe: added some assertionsBrian Paul
2010-02-24r300g: fix texture swizzling for the SRGB formatsMarek Olšák
2010-02-23pipebuffer: slab: if size < alignment, use alignment to find bucketLuca Barbieri
If the size is lower than the alignment, we must use the alignment to select the bucket. Otherwise, the selected bucket won't be able to satisfy our request and will fail. Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-23pipebuffer: fix inverted signalled checkingLuca Barbieri
A return of 0 means the fence is signalled. Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-23pipebuffer: avoid assert due to increasing a zeroed refcntLuca Barbieri
The cache manager stores buffers with a reference count that dropped to 0. pipe_reference asserts in this case on debug builds, so use pipe_reference_init instead. Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-02-23st/egl: Unify surface creation.Chia-I Wu
Add a new function egl_g3d_create_surface and use it to create window, pixmap, buffer, and screen surfaces.
2010-02-22i965g: Add fallthrough comments in switch statement.Vinson Lee
Silences warnings about missing break statements in static analysis.
2010-02-22draw: Remove dead code.Vinson Lee
2010-02-23r300g: fix draw_elements for "start" != 0Marek Olšák
Reported-by: Andre Maasikas <amaasikas@gmail.com>
2010-02-22svga: Upload user buffers only once.José Fonseca
2010-02-22svga: Fix the guest offset of piecewise buffer DMAs.José Fonseca
It was being erroneously set equal to the host offset, but it should be zero.
2010-02-22svga: Emit a scalar rcp in shadow maps.José Fonseca
Small improvement in Lightsmark 2008.
2010-02-22svga: Don't emit zero writemasks.José Fonseca
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.
2010-02-22tgsi: Report an error when a destination has an empty writemask.José Fonseca
2010-02-22svga: Upload the dirty ranges instead of the whole buffer.José Fonseca
2010-02-22svga: Break uploads of big buffers into smaller pieces.José Fonseca
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.
2010-02-22svga: Note ranges even when there is no hardware buffer around.José Fonseca
Not having a hardware buffer around doesn't change the fact that the range is dirty and needs to be uploaded eventually.
2010-02-22svga: Further cleanup/comment svga buffer code.José Fonseca
Just cosmetic changes -- no behavior change.
2010-02-22svga: Temporarily create a sw vertex buf when failed to create a hw buf.José Fonseca
Many apps don't check the return of map buffer so it is better not to fail.
2010-02-22svga: Remove unused buffer download code.José Fonseca
Unnecessary now that we never destroy buffer storage.
2010-02-22pipebuffer: Don't synchronize when checking for buffer overflows.José Fonseca
To avoid masking synchronization issues in debug builds.
2010-02-22svga: Prevent buffer overflow in buffer ranges.José Fonseca
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.
2010-02-22svga: Fix PIPE_LOGICOP_INVERT.José Fonseca
Actually the current XOR implementation is an INVERT. This fixes rectangle selection in Maya.
2010-02-22i965g: added missing texture cap queriesBrian Paul
2010-02-22i915g: added missing texture cap queriesBrian Paul
2010-02-22Revert "r300g: rebuild winsys/pipe buffer handling and add buffer map"Dave Airlie
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 <airlied@redhat.com>