summaryrefslogtreecommitdiff
path: root/progs/gallium
AgeCommit message (Collapse)Author
2010-04-02progs/gallium/unit: Silence uninitialized variable warnings.Vinson Lee
2010-04-01progs/gallium/unit: Move declaration before code.Vinson Lee
Fixes SCons build.
2010-04-02gallium/util: revert util_format_init additionLuca 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-02gallium/util: add util_format_is_supported to check for pack/unpackLuca Barbieri
This improves the code by making it more readable, and removes special knowledge of S3TC and other formats from softpipe.
2010-04-02progs/gallium: add unit test for u_halfLuca Barbieri
2010-04-02gallium/util: add util_format_init that inits s3tc and util_halfLuca 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-01gallium/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-01python/tests: We're using a rgba8 rendertarget so sample only in the [0, 1] ↵José Fonseca
range.
2010-04-01python/tests: Several cleanups.José Fonseca
2010-04-01gallium/unit: Invoke util_half_init_tables().José Fonseca
half float formats now pass the tests.
2010-04-01util: Add support for other DXTn RGBA formats.José Fonseca
2010-04-01util: Get DXT1_RGB format working correctly.José Fonseca
2010-04-01util: Add test case for PIPE_FORMAT_DXT1_RGB.José Fonseca
2010-04-01util: Allow to have block format test casesJosé Fonseca
2010-04-01gallium/unit: Install test in build/xxx/binJosé Fonseca
2010-03-31util: Make the accessors bidimensional again.José Fonseca
Otherwise there's no way to unpack blocks with height >1
2010-03-31util: Add callback to fetch a single pixel.José Fonseca
2010-03-31python/tests: Read the number of tests to execute from command line.José Fonseca
2010-03-31util: Put the format pack/unpack functions in the description table.José Fonseca
2010-03-31util: Make pack/unpack operate on spans.José Fonseca
2010-03-31util: Make util_format_xxx_pack_xxx take pointer as arguments.José Fonseca
2010-03-31python/tests: Run trhough tests randomly.José Fonseca
2010-03-31python/tests: Rename test name.José Fonseca
We only test blitting from a surface -- we don't test any sampler state.
2010-03-31python/tests: Test all existing gallium formats.José Fonseca
2010-03-31python/tests: Speed up the tests by reusing the same pipe context.José Fonseca
2010-03-31python/tests: Get the tests running again.José Fonseca
2010-03-29progs/gallium/python: Get tri.py sample working again.José Fonseca
2010-03-28progs/raw: add note about accessing utility functionsKeith Whitwell
2010-03-28gallium: new raw gallium interface to support standalone testsKeith Whitwell
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.
2010-03-26progs/gallium: Add trivial gallium demosJakob Bornecrantz
2010-03-09Merge branch 'gallium-vertexelementcso'Roland Scheidegger
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
2010-03-06progs/gallium/unit: Remove the test cases.José Fonseca
2010-03-06progs/gallium/unit: Skip test cases which cannot be represented in 4ub.José Fonseca
2010-03-06progs/gallium/unit: Use the shortened name to reconstruct the function being ↵José Fonseca
tested.
2010-03-06progs/gallium/unit: Cleanup/fix PIPE_FORMAT_R8SG8SB8UX8U_NORM test cases.José Fonseca
2010-03-03progs/gallium/unit: Test (un)pack_4ub.José Fonseca
Most of them are failing.
2010-03-03progs/gallium/unit: Remove PIPE_FORMAT_R8G8B8X8_SNORM test cases.José Fonseca
2010-03-02progs/gallium/unit: Add test cases for single precision floats.José Fonseca
2010-03-02progs/gallium/unit: Add test cases for Nx16 and Nx32 integer formats.José Fonseca
2010-03-02progs/gallium/unit: Add more test cases.José Fonseca
2010-03-02progs/gallium/python: Rename pipe formats.José Fonseca
2010-03-02gallium/unit: Rename pipe formats.José Fonseca
2010-03-01progs/gallium/unit: Rename PIPE_FORMAT_A8B8G8R8_SNORM.José Fonseca
2010-03-01progs/gallium: Make a phony target "unit" to run unit tests.José Fonseca
2010-02-27progs/gallium: Add unit tests for pixel format packing/unpacking.José Fonseca
2010-02-22python/retrace: Dump all vertices for verbosity level 3.José Fonseca
2010-02-17gallium: remove redundant nr_components field from pipe_vertex_elementRoland Scheidegger
This is a property of the associated src_format pipe format. Hence use util_format_get_nr_components to query this when necessary instead.
2010-02-15python/retrace: Reconstruct blend state from binary blobs.José Fonseca
2010-02-14python/retrace: Interpret pipe_screen::context_create().José Fonseca
2010-02-14progs/gallium/python: New home for python statetracker scripts.José Fonseca