summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* util: Fix PIPE_FORMAT_R8G8B8_UNORM description and notes.José Fonseca2010-03-011-3/+1
| | | | | | There is actually no ambiguity in use -- it is always used as R8 G8 B8
* util: Remove inexisting formats.José Fonseca2010-03-011-7/+0
| | | | | | | Can't find these formats used in any state tracker or any API. For some of these probably the reverse notation was meant, for which formats already exist.
* util: A few more links for D3D formats.José Fonseca2010-03-011-2/+3
|
* util: A few more todo marks.José Fonseca2010-03-011-0/+3
|
* util: More documentation for u_format.csvJosé Fonseca2010-03-011-0/+57
|
* util: Tweak comments regarding R8G8B8A8/X8_UNORM.José Fonseca2010-03-011-2/+2
|
* python: Don't mention deprecated drivers=trace option.José Fonseca2010-03-011-0/+4
| | | | Now trace always built.
* util: Fix X8/A8B8G8R8_SNORM's swizzle.José Fonseca2010-02-271-2/+2
|
* gallium: define GENERATED auxiliary filesBrian Paul2010-02-261-1/+7
| | | | Don't need special default dependency on u_format_pack.h anymore.
* util: Define SRGB's channels as normalized.José Fonseca2010-02-261-9/+9
| | | | A better approximation than uscaled...
* util: Code generate functions to pack and unpack a single pixel.José Fonseca2010-02-265-159/+501
| | | | | | | | | | | | | | | | | | | | | 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-263-26/+94
|
* util: Add util_bswap16.José Fonseca2010-02-261-0/+11
|
* util: Use python names consistent with u_format.hJosé Fonseca2010-02-263-114/+126
|
* util: Add is_pot() method to formats.José Fonseca2010-02-261-0/+7
|
* util: remove a trailing semicolon in format table codeBrian Paul2010-02-251-1/+1
|
* util: Remove import of unused sys module.Vinson Lee2010-02-251-3/+0
|
* tgsi: Remove dead code.Michal Krol2010-02-251-12/+0
|
* util: Assert that pointer is not null before dereferencing.Vinson Lee2010-02-251-1/+4
|
* gallivm: Update for UTIL_FORMAT_LAYOUT_xxx changes.José Fonseca2010-02-243-7/+5
|
* util: Kill array vs arith layouts. Revamp UTIL_FORMAT_LAYOUT_xxx.José Fonseca2010-02-244-180/+163
| | | | Too confusing. I now can get the same information through other means.
* util: Refactor some code.José Fonseca2010-02-241-14/+21
|
* util: Cope with the fact that formats in u_format.csv are not ordered.José Fonseca2010-02-244-75/+47
|
* util: Factor out the code to shorten a format name.José Fonseca2010-02-242-15/+14
|
* util: Handle correctly 24bit formats.José Fonseca2010-02-241-61/+64
|
* util: Minor tweaks to ambigous/unused format descriptions.José Fonseca2010-02-241-6/+6
|
* util: Fix swizzles for SRGB formats.José Fonseca2010-02-241-10/+10
| | | | | | 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.
* util: Organize formats in groups. Add comments.José Fonseca2010-02-241-35/+61
|
* util: Allow '#' comments in u_format.csv.José Fonseca2010-02-241-1/+9
|
* util: Kill unused UTIL_FORMAT_LAYOUT_SCALAR.José Fonseca2010-02-241-6/+0
|
* util: Store more derived data in the the format description.José Fonseca2010-02-243-0/+48
|
* gallivm: added clamp and int_to_float functionsBrian Paul2010-02-232-1/+50
|
* pipebuffer: slab: if size < alignment, use alignment to find bucketLuca Barbieri2010-02-231-1/+5
| | | | | | | | | | 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 <[email protected]>
* pipebuffer: fix inverted signalled checkingLuca Barbieri2010-02-231-1/+1
| | | | | | A return of 0 means the fence is signalled. Signed-off-by: José Fonseca <[email protected]>
* pipebuffer: avoid assert due to increasing a zeroed refcntLuca Barbieri2010-02-231-1/+1
| | | | | | | | 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 <[email protected]>
* draw: Remove dead code.Vinson Lee2010-02-221-7/+1
|
* tgsi: Report an error when a destination has an empty writemask.José Fonseca2010-02-221-0/+3
|
* pipebuffer: Don't synchronize when checking for buffer overflows.José Fonseca2010-02-221-1/+3
| | | | To avoid masking synchronization issues in debug builds.
* draw: Remove dead code.Vinson Lee2010-02-211-7/+1
|
* tgsi: ifdef out unused function micro_sqrt.Vinson Lee2010-02-201-0/+2
|
* tgsi: Make more exec opcodes look pretty.Michal Krol2010-02-191-64/+20
|
* tgsi: Change prototypes of micro opcodes to explicitly indicates number of args.Michal Krol2010-02-191-164/+206
|
* tgsi: Rewrite exec implementations of NRM and NRM4.Michal Krol2010-02-191-61/+70
|
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-191-1/+1
|
* pipebuffer: Include fenced buffer manager in buildJakob Bornecrantz2010-02-181-0/+1
|
* util: Fix typo of debug_dump_float_rgba_bmp.Vinson Lee2010-02-171-1/+1
|
* draw: Add assert to check input of memcpy.Vinson Lee2010-02-141-0/+1
|
* util: Avoid dumping masked state. Other minor improvements.José Fonseca2010-02-142-28/+43
|
* os: A stream for debug logging.José Fonseca2010-02-146-2/+89
| | | | | | | Just a wrapper around os_log_message. Although it would probably make more sense to be the other way around. Also some comment fixes.
* util: Helper functions to dump all state objects.José Fonseca2010-02-144-0/+789
|