Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | progs/gallium: Move into src/gallium/tests | José Fonseca | 2010-04-13 | 87 | -6710/+0 |
| | | | | | | | Two reasons: - progs will eventually have its own repository - it is just to easy to forget updating the code for interface changes when it is outside of src | ||||
* | progs/gallium/raw: Update symbols. | José Fonseca | 2010-04-12 | 3 | -11/+11 |
| | | | | Untested -- just the same changes done to progs/gallium/python. | ||||
* | progs/gallium/python: Try to fix most regressions. | José Fonseca | 2010-04-12 | 9 | -151/+123 |
| | | | | Not enough for retrace to work again though. | ||||
* | util: Get all depth stencil tests passing. | José Fonseca | 2010-04-09 | 1 | -10/+294 |
| | | | | | Note the tests don't test all the paths, in particular stride, and ensuring the old value is preserved. | ||||
* | util: Reorder format tests -- group by format. | José Fonseca | 2010-04-09 | 1 | -28/+32 |
| | |||||
* | util: Add dedicated depth-stencil packing/unpacking functions. | José Fonseca | 2010-04-09 | 1 | -20/+20 |
| | | | | | | | Depth-stencil manually written given that each one is very close to be a special case. u_format_zs.c's still untested. | ||||
* | gallium/unit: Silence warnings. | José Fonseca | 2010-04-09 | 1 | -2/+2 |
| | |||||
* | util: Remove the half typedef from p_compiler.h. | José Fonseca | 2010-04-07 | 1 | -2/+2 |
| | | | | Unnecessary, and doesn't even guarantee size. | ||||
* | util: Implement YUV and subsampled RGB format conversion. | José Fonseca | 2010-04-07 | 1 | -4/+12 |
| | |||||
* | util: Revert unsolicited, untested, unreviewed, and broken changes to format ↵ | José Fonseca | 2010-04-03 | 1 | -1/+7 |
| | | | | | | | 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. | ||||
* | python/tests: Output test results in a format that Hudson CI can understand. | José Fonseca | 2010-04-03 | 1 | -5/+69 |
| | |||||
* | progs/gallium/unit: Silence uninitialized variable warnings. | Vinson Lee | 2010-04-02 | 1 | -4/+4 |
| | |||||
* | progs/gallium/unit: Move declaration before code. | Vinson Lee | 2010-04-01 | 1 | -1/+2 |
| | | | | Fixes SCons build. | ||||
* | gallium/util: revert util_format_init addition | Luca Barbieri | 2010-04-02 | 1 | -4/+0 |
| | | | | | | | | | | 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. | ||||
* | gallium/util: add util_format_is_supported to check for pack/unpack | Luca Barbieri | 2010-04-02 | 1 | -3/+1 |
| | | | | | This improves the code by making it more readable, and removes special knowledge of S3TC and other formats from softpipe. | ||||
* | progs/gallium: add unit test for u_half | Luca Barbieri | 2010-04-02 | 3 | -1/+77 |
| | |||||
* | gallium/util: add util_format_init that inits s3tc and util_half | Luca Barbieri | 2010-04-02 | 1 | -1/+1 |
| | | | | | | | | 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 | ||||
* | gallium/util: rewrite global constructor system for half floats (GCC/MSVC only!) | Luca Barbieri | 2010-04-01 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | python/tests: We're using a rgba8 rendertarget so sample only in the [0, 1] ↵ | José Fonseca | 2010-04-01 | 1 | -2/+2 |
| | | | | range. | ||||
* | python/tests: Several cleanups. | José Fonseca | 2010-04-01 | 4 | -117/+117 |
| | |||||
* | gallium/unit: Invoke util_half_init_tables(). | José Fonseca | 2010-04-01 | 1 | -0/+2 |
| | | | | half float formats now pass the tests. | ||||
* | util: Add support for other DXTn RGBA formats. | José Fonseca | 2010-04-01 | 1 | -2/+2 |
| | |||||
* | util: Get DXT1_RGB format working correctly. | José Fonseca | 2010-04-01 | 1 | -2/+19 |
| | |||||
* | util: Add test case for PIPE_FORMAT_DXT1_RGB. | José Fonseca | 2010-04-01 | 1 | -5/+37 |
| | |||||
* | util: Allow to have block format test cases | José Fonseca | 2010-04-01 | 1 | -68/+145 |
| | |||||
* | gallium/unit: Install test in build/xxx/bin | José Fonseca | 2010-04-01 | 1 | -0/+2 |
| | |||||
* | util: Make the accessors bidimensional again. | José Fonseca | 2010-03-31 | 1 | -4/+4 |
| | | | | Otherwise there's no way to unpack blocks with height >1 | ||||
* | util: Add callback to fetch a single pixel. | José Fonseca | 2010-03-31 | 1 | -0/+34 |
| | |||||
* | python/tests: Read the number of tests to execute from command line. | José Fonseca | 2010-03-31 | 1 | -1/+4 |
| | |||||
* | util: Put the format pack/unpack functions in the description table. | José Fonseca | 2010-03-31 | 1 | -20/+25 |
| | |||||
* | util: Make pack/unpack operate on spans. | José Fonseca | 2010-03-31 | 1 | -4/+4 |
| | |||||
* | util: Make util_format_xxx_pack_xxx take pointer as arguments. | José Fonseca | 2010-03-31 | 1 | -2/+6 |
| | |||||
* | python/tests: Run trhough tests randomly. | José Fonseca | 2010-03-31 | 2 | -55/+52 |
| | |||||
* | python/tests: Rename test name. | José Fonseca | 2010-03-31 | 1 | -0/+0 |
| | | | | We only test blitting from a surface -- we don't test any sampler state. | ||||
* | python/tests: Test all existing gallium formats. | José Fonseca | 2010-03-31 | 2 | -86/+57 |
| | |||||
* | python/tests: Speed up the tests by reusing the same pipe context. | José Fonseca | 2010-03-31 | 2 | -4/+6 |
| | |||||
* | python/tests: Get the tests running again. | José Fonseca | 2010-03-31 | 5 | -32/+97 |
| | |||||
* | progs/gallium/python: Get tri.py sample working again. | José Fonseca | 2010-03-29 | 1 | -10/+10 |
| | |||||
* | progs/raw: add note about accessing utility functions | Keith Whitwell | 2010-03-28 | 1 | -0/+10 |
| | |||||
* | gallium: new raw gallium interface to support standalone tests | Keith Whitwell | 2010-03-28 | 2 | -0/+102 |
| | | | | | | | | Provides basic window system integration behind a simple interface, allowing tests to be written without dependency on either the driver or window system. With a lot of work, could turn into something like glut for gallium. | ||||
* | progs/gallium: Add trivial gallium demos | Jakob Bornecrantz | 2010-03-26 | 4 | -0/+671 |
| | |||||
* | Merge branch 'gallium-vertexelementcso' | Roland Scheidegger | 2010-03-09 | 1 | -1/+0 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i965/brw_draw_upload.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_context.h src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state_derived.c src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_clear.c | ||||
| * | gallium: remove redundant nr_components field from pipe_vertex_element | Roland Scheidegger | 2010-02-17 | 1 | -1/+0 |
| | | | | | | | | | | This is a property of the associated src_format pipe format. Hence use util_format_get_nr_components to query this when necessary instead. | ||||
* | | progs/gallium/unit: Remove the test cases. | José Fonseca | 2010-03-06 | 1 | -545/+11 |
| | | |||||
* | | progs/gallium/unit: Skip test cases which cannot be represented in 4ub. | José Fonseca | 2010-03-06 | 1 | -4/+23 |
| | | |||||
* | | progs/gallium/unit: Use the shortened name to reconstruct the function being ↵ | José Fonseca | 2010-03-06 | 1 | -1/+1 |
| | | | | | | | | tested. | ||||
* | | progs/gallium/unit: Cleanup/fix PIPE_FORMAT_R8SG8SB8UX8U_NORM test cases. | José Fonseca | 2010-03-06 | 1 | -7/+6 |
| | | |||||
* | | progs/gallium/unit: Test (un)pack_4ub. | José Fonseca | 2010-03-03 | 1 | -8/+103 |
| | | | | | | | | Most of them are failing. | ||||
* | | progs/gallium/unit: Remove PIPE_FORMAT_R8G8B8X8_SNORM test cases. | José Fonseca | 2010-03-03 | 1 | -9/+1 |
| | | |||||
* | | progs/gallium/unit: Add test cases for single precision floats. | José Fonseca | 2010-03-02 | 1 | -3/+38 |
| | |