Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util: Flush stdout on util_format. | José Fonseca | 2010-09-22 | 1 | -0/+8 |
| | |||||
* | python/tests: Fixed tri.py for API and TGSI syntax changes. | Tilman Sauerbeck | 2010-09-20 | 1 | -4/+4 |
| | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> | ||||
* | Add a test for the KIL opcode | Alex Corscadden | 2010-09-11 | 1 | -0/+18 |
| | | | | | This is a simple test for the KIL opcode. It should render a 6 sided figure with a colored interior. | ||||
* | graw: added test for finding shader mem leaks | Brian Paul | 2010-09-09 | 2 | -0/+267 |
| | |||||
* | graw: emit warnings when context/surface creation failes | Brian Paul | 2010-09-09 | 1 | -3/+11 |
| | |||||
* | graw: fix array size, indentation, | Brian Paul | 2010-09-09 | 1 | -7/+10 |
| | |||||
* | util: Helper function to determined whether two formats can be memcpy'ed. | José Fonseca | 2010-09-05 | 3 | -0/+78 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These are the non-trivial conversions that this function recognizes, which was produced by u_format_compatible_test.c: b8g8r8a8_unorm -> b8g8r8x8_unorm a8r8g8b8_unorm -> x8r8g8b8_unorm b5g5r5a1_unorm -> b5g5r5x1_unorm b4g4r4a4_unorm -> b4g4r4x4_unorm l8_unorm -> r8_unorm i8_unorm -> l8_unorm i8_unorm -> a8_unorm i8_unorm -> r8_unorm l16_unorm -> r16_unorm z24_unorm_s8_uscaled -> z24x8_unorm s8_uscaled_z24_unorm -> x8z24_unorm r8g8b8a8_unorm -> r8g8b8x8_unorm a8b8g8r8_srgb -> x8b8g8r8_srgb b8g8r8a8_srgb -> b8g8r8x8_srgb a8r8g8b8_srgb -> x8r8g8b8_srgb a8b8g8r8_unorm -> x8b8g8r8_unorm r10g10b10a2_uscaled -> r10g10b10x2_uscaled r10sg10sb10sa2u_norm -> r10g10b10x2_snorm State trackers and pipe drivers should be updated to take advantage of this knowledge, e.g., in surface_copy. | ||||
* | graw: Undo late loading of graw drivers. | José Fonseca | 2010-08-26 | 9 | -9/+16 |
| | | | | | | | | | | Keith prefers a clean separation between graw applications and implementations, where apps do not link libgallium.a but instead get all functionality they need via graw interface. Although this is not incompatible with late loading of graw drivers, it it would make it very hard to maintain, as wrappers for every utility symbol exposed in graw would have to be written or generated somehow. | ||||
* | graw: Dynamically load graw libraries. | José Fonseca | 2010-08-26 | 9 | -16/+9 |
| | | | | | | | | | This allows to build multiple graws libs simultaneously and avoid unnecessary rebuilds of the tests. Also remove graw_util.c from inside the graw implementation -- it was only being provided by one implementation, and graw tests were linking against gallium anyway. | ||||
* | gallium: make all checks for PIPE_TEXTURE_2D check for PIPE_TEXTURE_RECT too | Luca Barbieri | 2010-08-20 | 1 | -1/+1 |
| | | | | | | | Searched for them with: git grep -E '[!=]=.*PIPE_TEXTURE_2D|PIPE_TEXTURE_2D.*[!=]=|case.*PIPE_TEXTURE_2D' Behavior hasn't been changed. | ||||
* | translate_test: Fix compilation with MSVC. | Vinson Lee | 2010-08-12 | 1 | -1/+2 |
| | |||||
* | translate_test: fix compilation on non-POSIX platforms | Luca Barbieri | 2010-08-12 | 1 | -5/+19 |
| | | | | Use a kludgy function based on rand() instead of drand48() | ||||
* | translate_test: improve | Luca Barbieri | 2010-08-12 | 1 | -6/+60 |
| | | | | | | | 1. Generate random data specifically for float and doubles, so that they end up in [0, 1] range 2. Don't test useless conversions like SCALED <-> NORM 3. Poison the buffers before testing | ||||
* | scons: Fix freebsd8 build. | Vinson Lee | 2010-08-11 | 2 | -2/+8 |
| | |||||
* | translate_test: fix segfault on x86-64 | Luca Barbieri | 2010-08-11 | 1 | -2/+6 |
| | |||||
* | translate_test: fix, reindent, and improve | Luca Barbieri | 2010-08-11 | 1 | -137/+204 |
| | | | | | | | 1. Fix the segfault due to the reverted commit using the new interface 2. Reindent to Mesa 3 spaces style 3. Improve output and return success/failure with error code 4. Add much better support for testing translate_sse | ||||
* | translate: Add translate_test.c to SCons. | Vinson Lee | 2010-08-11 | 1 | -1/+2 |
| | | | | | This is a follow-up to commit 945e38c73b46afc12b0655f9fc8200f216a8f8c1, which added translate_test.c to make. | ||||
* | translate: add testsuite | Luca Barbieri | 2010-08-11 | 2 | -1/+172 |
| | | | | | Currently only checks all possible format conversions, and doesn't attempt to test whether multiple buffers/elements or indices work. | ||||
* | graw/tests: Use pipe_context::draw_vbo. | Chia-I Wu | 2010-07-29 | 7 | -17/+28 |
| | | | | | | | The other drawing variants such as draw_arrays or draw_elements_instanced were removed. This fixes fdo bug #29287. | ||||
* | scons: Fix sunos5 build. | Vinson Lee | 2010-07-27 | 2 | -0/+6 |
| | |||||
* | graw/tests: pass -e option to test draw_elements_instanced() | Brian Paul | 2010-07-20 | 1 | -1/+45 |
| | |||||
* | graw: new tri-instanced.c program to test instanced drawing | Brian Paul | 2010-07-15 | 2 | -0/+297 |
| | |||||
* | gallium: Make trivial examples use target helpers | Jakob Bornecrantz | 2010-07-04 | 3 | -26/+23 |
| | |||||
* | gallium: Fix compilation of trivial quad-tex | Jakob Bornecrantz | 2010-07-04 | 1 | -1/+1 |
| | |||||
* | graw: add two examples using new register files | Zack Rusin | 2010-06-18 | 2 | -0/+24 |
| | |||||
* | graw: remove wrong test | Zack Rusin | 2010-06-16 | 1 | -23/+0 |
| | |||||
* | graw: add a gs test for non-sequential inputs | Zack Rusin | 2010-06-16 | 2 | -10/+52 |
| | |||||
* | graw: test multiple cb's in geometry shaders | Zack Rusin | 2010-06-15 | 2 | -18/+82 |
| | |||||
* | graw: fix setup for multiple constant buffers | Zack Rusin | 2010-06-15 | 2 | -21/+64 |
| | |||||
* | graw: small fixups for the gs examples | Zack Rusin | 2010-06-14 | 2 | -5/+5 |
| | |||||
* | gs: give our test an option of rendering a strip | Zack Rusin | 2010-06-10 | 1 | -6/+42 |
| | |||||
* | graw: add a multiple primitive geometry shader test | Zack Rusin | 2010-06-09 | 1 | -0/+42 |
| | |||||
* | geometry shaders: make gs work with changable primitives and variable number ↵ | Zack Rusin | 2010-06-09 | 1 | -1/+2 |
| | | | | | | | | of vertices lots and lots of fixes for geometry shaders. in particular now we work when the gs emits a different primitive than the one the pipeline was started with and also we work when gs emits more vertices than would fit in the original buffer. | ||||
* | graw: Fix file handle leaks. | Vinson Lee | 2010-06-07 | 3 | -0/+3 |
| | |||||
* | graw: Remove unnecessary headers. | Vinson Lee | 2010-06-07 | 3 | -3/+0 |
| | |||||
* | graw: Add gallium library to SCons build. | Vinson Lee | 2010-06-07 | 1 | -1/+1 |
| | | | | Fixes MSVC SCons build. | ||||
* | graw: add gs-test.c and some simple geometry shader examples | Keith Whitwell | 2010-06-07 | 8 | -2/+626 |
| | |||||
* | graw: trivial geometry shader test | Keith Whitwell | 2010-06-07 | 2 | -0/+269 |
| | |||||
* | graw: add symlinks to shader test directories | Keith Whitwell | 2010-06-07 | 2 | -0/+2 |
| | |||||
* | graw: remove references to unistd.h | Keith Whitwell | 2010-06-07 | 4 | -4/+1 |
| | |||||
* | tests/graw: missing file tri.c | Keith Whitwell | 2010-06-07 | 1 | -0/+253 |
| | |||||
* | regress: remove interpolation and semantic info from vs inputs | Keith Whitwell | 2010-06-07 | 30 | -56/+56 |
| | |||||
* | test/graw: add vp-test | Keith Whitwell | 2010-06-07 | 2 | -1/+508 |
| | |||||
* | tests/graw: add fp-test | Keith Whitwell | 2010-06-07 | 2 | -0/+513 |
| | |||||
* | python/retrace: Interpret resource_copy_region. | José Fonseca | 2010-05-30 | 1 | -10/+6 |
| | |||||
* | Merge branch 'gallium-msaa' | Roland Scheidegger | 2010-05-21 | 4 | -16/+20 |
|\ | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c | ||||
| * | st/python: adapt to interface changes | Roland Scheidegger | 2010-05-17 | 4 | -16/+20 |
| | | | | | | | | | | | | | | compile tested only. Should probably change the python surface_copy/fill functions also into resource_copy/fill_region functions and adapt the code using them. | ||||
* | | gallium: remnants of old ccw state | Keith Whitwell | 2010-05-21 | 3 | -6/+3 |
| | | |||||
* | | graw: add quad-tex graw test for basic texturing | Keith Whitwell | 2010-05-14 | 2 | -1/+406 |
| | | |||||
* | | graw: combine graw_init and graw_create_window functions | Keith Whitwell | 2010-05-14 | 1 | -7/+10 |
| | | | | | | | | | | Different environments seem to want to create these in different orders. Abstract over this by combining the calls. |