Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-04-09 | util: Fix typo in earlier commit. | José Fonseca | |
2010-04-09 | util: ubyte_to_float and float_to_ubyte whenever possible. | José Fonseca | |
More accurate results. We should probably generalize these functions for more cases. | |||
2010-04-09 | util: Use consistent symbols in pack generator. | José Fonseca | |
2010-04-09 | util: Add dedicated depth-stencil packing/unpacking functions. | José Fonseca | |
Depth-stencil manually written given that each one is very close to be a special case. u_format_zs.c's still untested. | |||
2010-04-08 | util: Describe, implement, and test the new D3D9 color formats. | José Fonseca | |
2010-04-08 | util: Keep const keyword when unpacking formats. | José Fonseca | |
2010-04-08 | util: Reorder the code generated function so that they are grouped by format. | José Fonseca | |
Makes it easier to copy and paste. | |||
2010-04-07 | util: Support fixed formats conversion. | José Fonseca | |
2010-04-07 | util: Implement YUV and subsampled RGB format conversion. | José Fonseca | |
2010-04-06 | util: Support all SRGB formats. | José Fonseca | |
Based on code from Brian Paul and Michal Krol. | |||
2010-04-01 | util: Generate correct format conversions for half floats. | Michal Krol | |
2010-04-01 | util: Use u_half to perform half <--> float conversions. | Michal Krol | |
2010-04-01 | util/format: fix big endian compilation by not trying to byteswap single bytes | Luca Barbieri | |
Conceivably, we could also have a dummy util_bswap8, but it seems better to not emit it in the first place. | |||
2010-03-31 | util: Hook into libtxc_dxtn.so (WIP). | José Fonseca | |
2010-03-31 | util: Make the accessors bidimensional again. | José Fonseca | |
Otherwise there's no way to unpack blocks with height >1 | |||
2010-03-31 | util: First stab at half-float conversion. | Michal Krol | |
2010-03-31 | util: Add callback to fetch a single pixel. | José Fonseca | |
2010-03-31 | util: Use u_format_pack.py's code instead of u_format_access.py. | José Fonseca | |
2010-03-31 | Merge branch 'gallium-new-formats' | Roland Scheidegger | |
Conflicts: src/gallium/auxiliary/util/u_format.csv src/gallium/auxiliary/util/u_format_access.py src/gallium/auxiliary/util/u_format_pack.py | |||
2010-03-31 | util: Put the format pack/unpack functions in the description table. | José Fonseca | |
2010-03-31 | util: Make pack/unpack operate on spans. | José Fonseca | |
2010-03-31 | util: Make util_format_xxx_pack_xxx take pointer as arguments. | José Fonseca | |
2010-03-31 | util: Use VOID type for X channels in format descriptions. | José Fonseca | |
2010-03-30 | gallium: make the python scripts for format parsing not fail on new formats | Roland Scheidegger | |
they won't generate any useful conversion code for some of the new formats but at least don't assert. Also needed some more hacks so they don't generate code for some of the new formats, as gcc was not impressed. Also declare unused channels as void, and change the scripts to not fail if the first channel happened to be unused. Needs serious fixing. | |||
2010-03-09 | util: Use bitshift arithmetic for pack too. | José Fonseca | |
2010-03-06 | util: Use bitshift arithmetic to unpack pixels. | José Fonseca | |
All test cases pass now. | |||
2010-03-06 | util: Several fixes to clamping and test. | José Fonseca | |
All tests pass here except util_format_b5g5r5a1_unorm_unpack_4ub, due to apparently a gcc 4.4.3 bug. | |||
2010-02-26 | util: Code generate functions to pack and unpack a single pixel. | José Fonseca | |
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. |