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: Get all depth stencil tests passing. | José Fonseca | |
Note the tests don't test all the paths, in particular stride, and ensuring the old value is preserved. | |||
2010-04-09 | util: Add missing break statement. | José Fonseca | |
2010-04-09 | util: Use consistent symbols in pack generator. | José Fonseca | |
2010-04-09 | util: Reorder format tests -- group by format. | 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-09 | util: Include u_debug for debug_print_format. | Corbin Simpson | |
Caused fun linker errors on r600g. | |||
2010-04-09 | util: Set DXTN_LIBNAME to libtxc_dxtn.dylib on Mac OS X. | Vinson Lee | |
2010-04-08 | util: Support PIPE_FORMAT_B4G4R4X4_UNORM and PIPE_FORMAT_R8G8B8X8_UNORM. | José Fonseca | |
2010-04-08 | util: (Almost) universal format translation function. | José Fonseca | |
Untested. | |||
2010-04-08 | util: Describe, implement, and test the new D3D9 color formats. | José Fonseca | |
2010-04-08 | util: is_array/mixed/etc is only meaningful for plain 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-08 | util: Don't call util_dl_close(library) when util_format_s3tc_init is ↵ | José Fonseca | |
successful." Otherwise the library will be unloaded and function pointers become invalid. This reverts commit bc2bc0306e4dd8c56bd66a8aabf2433f6689653d. | |||
2010-04-08 | util: util_dl_close(library) before exiting util_format_s3tc_init. | Vinson Lee | |
2010-04-07 | util: Support fixed formats conversion. | José Fonseca | |
2010-04-07 | util: Add copyright header to u_half.h | José Fonseca | |
2010-04-07 | util: Remove the half typedef from p_compiler.h. | José Fonseca | |
Unnecessary, and doesn't even guarantee size. | |||
2010-04-07 | util: Use stubs for the dynamically loaded S3TC functions. | José Fonseca | |
Loosely based on Luca Barbieri's commit 52e9b990a192a9329006d5f7dd2ac222effea5a5. | |||
2010-04-07 | util: Remove u_tile.c YCbCr's. | José Fonseca | |
Superseded by u_format_yuv.c. Also PIPE_FORMAT_YUYV's interpretation was inconsistent: it was being interpreted as VYUY. | |||
2010-04-07 | util: Implement YUV and subsampled RGB format conversion. | José Fonseca | |
2010-04-06 | util: Respect destination stride in pipe_get_tile_swizzle(). | Michal Krol | |
2010-04-06 | util: Make half float lookup tables constant. | José Fonseca | |
2010-04-06 | util: Remove the hand written SRGB format support code. | José Fonseca | |
2010-04-06 | util: Support all SRGB formats. | José Fonseca | |
Based on code from Brian Paul and Michal Krol. | |||
2010-04-05 | util: added util_dl_error() | Brian Paul | |
2010-04-04 | Merge branch '7.8' | Ian Romanick | |
2010-04-03 | util: Use GCC atomic bultins on GCC 4.1 and higher only. | Vinson Lee | |
2010-04-03 | util: Revert unsolicited, untested, unreviewed, and broken changes to format ↵ | José Fonseca | |
support. Not all is bad, but I'm afraid I'll have to throw the baby with the water given they are all tied to together. | |||
2010-04-02 | gallium/util: print \n after DXTn printf | Luca Barbieri | |
2010-04-01 | gallium/util: remove extraneous semicolon | Brian Paul | |
2010-04-02 | gallium/util: revert util_format_init addition | Luca Barbieri | |
Putting calls to util_format_init all over the codebase is infeasible. Instead, half float tables are pregenerated, and the s3tc library is loaded on demand. I believe this is a solution that combines performance, cleanliness, flexibility and portability. | |||
2010-04-02 | gallium/util: add util_format_is_supported to check for pack/unpack | Luca Barbieri | |
This improves the code by making it more readable, and removes special knowledge of S3TC and other formats from softpipe. | |||
2010-04-02 | gallium/util: load s3tc on demand | Luca Barbieri | |
This changes the S3TC function pointers to be initialized to stubs that load the S3TC library and then delegate to the real functions. If the S3TC library fails to load, the function pointers are replaced with a "nop" function. The code is also changed to attempt to load the library only one time.c Note that unlike checking for a flag, this method has no performance cost at all. The use of the "nop" functions also allows to avoid most checks, that are only preserved when the function does non-trivial work. | |||
2010-04-02 | gallium/util: pregenerate half float tables | Luca Barbieri | |
This solution avoids the issue of how to run the initializers and also allows those pages (and the parts of them in processor caches) to be shared between multiple processes. The drawback is slightly higher library size. | |||
2010-04-01 | gallium/util: s/inline/INLINE/ | Vinson Lee | |
Fixes MSVC build. | |||
2010-04-02 | gallium/util: add util_format_init that inits s3tc and util_half | Luca Barbieri | |
Switch from auto-init to explicit init for util_half per Brian Paul's indication. NOTE: this is probably broken because not enough things call util_format_init. Will be fixed shortly | |||
2010-04-02 | gallium/util: add one-time initialization helper | Luca Barbieri | |
2010-04-02 | gallium/util: use #pragma section instead of #pragma data_seg | Luca Barbieri | |
They apparently both declare the section, but #pragma data_seg also puts all subsequent definitions in the section, which is undesirable. This should be the correct solution, and is actually used by the reference I cited (but I forgot to do it in my code). Untested, let me know if it doesn't work. | |||
2010-04-02 | gallium/util: reindent u_half.c and u_half.h with Mesa coding style | Luca Barbieri | |
Sorry, forgout about that. | |||
2010-04-02 | Revert "util: Init half-float tables on demand." | Luca Barbieri | |
This reverts commit 950300eb255f0e3507bf2757d16c3b5bc8ff3471. | |||
2010-04-01 | util: Init half-float tables on demand. | Corbin Simpson | |
Gets rid of unnecessary delays on startup and compiler-specific hax. | |||
2010-04-01 | util: Declare .CRT$XCU data segment. | Michal Krol | |
2010-04-01 | gallium/util: rewrite global constructor system for half floats (GCC/MSVC only!) | Luca Barbieri | |
NOTE: this commit will cause Gallium to fail to build on any compiler except GCC, the Microsoft C compiler and compatible compilers that claim to be one of those. This commit removes the u_gctors.cpp mechanism, in favor of using compiler-specific syntax to add global constructors from C files. This solves the problem of u_gctors.o not being pulled from static libraries and avoids using C++. However, it needs compiler-specific support for every compiler. The Microsoft C compiler support has not been tested. | |||
2010-04-01 | gallium/util: add copyright header to u_half.c | Luca Barbieri | |
2010-04-01 | util: Declare util_half_init_tables only once. | José Fonseca | |
2010-04-01 | util: Use u_math.h's union fi instead of redefining it. | José Fonseca | |
2010-04-01 | util: Add support for other DXTn RGBA formats. | José Fonseca | |