summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
Commit message (Collapse)AuthorAgeFilesLines
* gallium/util: Define isfinite and isnan for MSVC.Chia-I Wu2010-05-311-0/+3
| | | | | Define isfinite and isnan to _finite and _isnan respectively for MSVC. Those macros are needed by st/vega.
* util: Add inline function for approximate floating point comparison.José Fonseca2010-05-301-0/+9
|
* util: Generic pointer to func conversion helper.José Fonseca2010-05-301-0/+12
| | | | That observes strict-aliasing rules.
* util: Also add a define for the dynamic library's prefix.José Fonseca2010-05-271-0/+3
|
* util: Remove unnecessary headers.Vinson Lee2010-05-261-2/+0
|
* util: update comments at blitterMarek Olšák2010-05-251-1/+1
|
* util: fix indentation in blitterMarek Olšák2010-05-251-14/+14
|
* r300g,util: remove pipe_surface from the util_blitter_copy interface and ↵Marek Olšák2010-05-252-126/+121
| | | | clean up
* r300g,util: remove pipe_surface from the util_blitter_fill interface and ↵Marek Olšák2010-05-252-25/+29
| | | | clean up
* util: remove unused util_blitter_copy_surfaceMarek Olšák2010-05-251-19/+1
|
* util/blitter: allow NULL clear colorMarek Olšák2010-05-231-5/+14
|
* Merge branch 'gallium-msaa'Roland Scheidegger2010-05-218-202/+163
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
| * util: fix obvious util_blitter_copy bugs...Roland Scheidegger2010-05-191-4/+3
| |
| * util: util_blitter_fill no longer needs to handle overlapRoland Scheidegger2010-05-191-52/+2
| |
| * util: fix some leftover util_surface_fill/copy callsRoland Scheidegger2010-05-182-8/+18
| |
| * gallium/util: adapt util code to interface changesRoland Scheidegger2010-05-178-143/+145
| | | | | | | | | | | | | | | | | | | | | | The util blit functions change their interface (apart from some rename) too (in particular util_blit_pixels now also takes a pipe_resource as the src blit argument instead of a surface, as it might just call resource_copy_region). Maybe the blit util code might need a bit more cleanup, it still doesn't feel very clean. In particular it seems that util_blit_pixels_tex should probably disappear, and I think it would be great if the code called by drivers for blitting (u_blitter.c, which isn't really touched by this change) could somehow be merged with the u_blit code.
* | Merge branch 'gallium-front-ccw'Keith Whitwell2010-05-215-12/+28
|\ \
| * | gallium: more work on ccw flag removalKeith Whitwell2010-05-141-0/+18
| | | | | | | | | | | | The linux-debug target builds...
| * | gallium: convert rasterizer state to use gl-style front/back conceptsKeith Whitwell2010-05-144-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use front/back instead of cw/ccw throughout. Also, use offset_point/line/fill instead of offset_cw/ccw. Brings gallium representation of this state into line with its main user, and also what turns out to be the most common hardware representation. This fixes a long-standing bias in the interface towards the architecture of the software rasterizer.
* | | gallium: fix/update tex target dumpingBrian Paul2010-05-201-0/+2
| | |
* | | gallium: added util_dump_logicop()Brian Paul2010-05-202-0/+46
| | |
* | | util: Remove unused imports from Python scripts.Vinson Lee2010-05-192-4/+0
| | |
* | | util: Remove unnecessary semicolons in Python scripts.Vinson Lee2010-05-192-5/+5
| | |
* | | util: Remove unused cruft.José Fonseca2010-05-151-95/+0
|/ /
* | util: fix copy_rect stride in default transfer_inline_writeKeith Whitwell2010-05-141-2/+2
| |
* | util: Fix ptr -> int conversion.José Fonseca2010-05-131-1/+1
| |
* | util: Add function to dump PIPE_STENCIL_OP_xxxJosé Fonseca2010-05-122-0/+30
| |
* | util: Recognize FALSE and F in debug_get_bool_optionJakob Bornecrantz2010-05-061-0/+4
| | | | | | | | | | Concidering that we actually print FALSE when displaying the option we should also accept that value.
* | gallium: untrack u_indices_gen.c and u_indices_gen.cJosé Fonseca2010-05-061-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | These files are built with make and removed with make clean, so it does not seem necessary to track them. Looking at the Makefile, it seems that the two u_indices_* files are handled similarly to u_format_srgb.c u_format_table.c and u_half.c, and these 3 files are already untracked and in .gitignore Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: José Fonseca <[email protected]>
* | gallium: untrack u_indices_gen.c and u_indices_gen.cXavier Chantry2010-05-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | These files are built with make and removed with make clean, so it does not seem necessary to track them. Looking at the Makefile, it seems that the two u_indices_* files are handled similarly to u_format_srgb.c u_format_table.c and u_half.c, and these 3 files are already untracked and in .gitignore Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: José Fonseca <[email protected]>
* | util: Remove unnecessary headers.Vinson Lee2010-05-043-3/+0
| |
* | gallium/util: added is_format_compressed()Brian Paul2010-05-041-0/+20
| |
* | u_blitter: fix creating fragment shadersWiktor Janas2010-05-041-7/+6
|/ | | | | | See FDO bug #27887. Signed-off-by: Marek Olšák <[email protected]>
* gallium: move surface utility functions into u_surface.cBrian Paul2010-05-036-179/+175
| | | | This is a better place than in u_rect.c
* gallium: move framebuffer utility functions into a new fileBrian Paul2010-05-034-84/+160
|
* util: add util_format_short_nameMarek Olšák2010-05-031-0/+13
|
* util: add util_format_is_plainMarek Olšák2010-05-031-0/+15
|
* gallium/util: print \n after DXTn printfLuca Barbieri2010-05-031-2/+2
| | | | | | | Re-add commit 2d65a7caf97684aa654088c76a74b632fbd685fa Signed-off-by: Xavier Chantry <[email protected]> Signed-off-by: José Fonseca <[email protected]>
* util: Add missing break statement in u_caps.cJakob Bornecrantz2010-04-301-0/+1
| | | | Thanks Vinson.
* util: Update caps after helpfull inputJakob Bornecrantz2010-04-292-19/+61
| | | | | | | | | | | | In no particular order: * Make list const * Add function comments * Clearly state that demo lists are not complete * Fix whitespace * Use __FUNCTION__ instead of __func__ * Add unimplemented check which always fail Thanks Brian and Keith.
* util: Add small caps checker helperJakob Bornecrantz2010-04-292-0/+269
|
* util: Format error format string as the rest of the pipe formatsJakob Bornecrantz2010-04-291-1/+1
|
* gallium/util: convert //-style commentsBrian Paul2010-04-281-2/+2
|
* gallium/util: convert //-style commentsBrian Paul2010-04-281-2/+2
|
* util: fix assorted problems in the image packing functionsBrian Paul2010-04-271-84/+70
|
* util: Add missing static keyword.José Fonseca2010-04-241-1/+1
|
* util: Fix unsigned <-> ptr conversions.José Fonseca2010-04-241-3/+3
|
* gallium: In option helpers, move assignment outside of if clause.Vinson Lee2010-04-231-3/+9
| | | | This silences Coverity assign_where_compare_meant warnings.
* gallium/util: document that pack/unpack strides are in bytesBrian Paul2010-04-231-0/+10
|
* gallium: Add static get option helpersJakob Bornecrantz2010-04-231-0/+33
|