summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util
AgeCommit message (Collapse)Author
2009-09-03aux/tgsi: pull back ureg work from 0.1 branchKeith Whitwell
Manual merge of ureg changes on the branch. Too much unrelated stuff for a proper merge.
2009-09-02util: add version of u_blit_pixels which takes a writemaskKeith Whitwell
Values outside the writemask are set in the destination to {0,0,0,1}
2009-08-30util: Auto generate pixel format accessor functions fromJosé Fonseca
This has several advantages over the u_ - not hand written - no intermediate memcpy of raw pixels - supports 4 ubytes in addition to floats - no need to pass a pipe_transfer It also has (hopefully temporary) limitations: - no support for YUV - no support for SRGB
2009-08-30Merge branch 'mesa_7_5_branch'Michel Dänzer
Conflicts: src/glx/x11/glxcmds.c
2009-08-29util: Add util_unsigned_logbase2.José Fonseca
Cherry picked from Keith's commit f911c3b9897b90132c8621a72bfeb824eb3b01e5.
2009-08-29util: Dump PIPE_FUNC_x value names.José Fonseca
2009-08-29util: Fix SCons build.José Fonseca
2009-08-29util: Auto-generate u_format_table.c from SConscript.José Fonseca
2009-08-29util: Fix blend factor dumping.José Fonseca
2009-08-29util: New file dedicated to dump state in human/machine readable format.José Fonseca
2009-08-29util: Make pixel format layout more meaningful.José Fonseca
Namelly, explicitly distinguish formats coded by arithmetic manipulation, from formats layed out in array.
2009-08-29util: Don't commit u_format_table.cJosé Fonseca
At least not until stabilizes, to reduce noise.
2009-08-29util: Fix r5g6b5 description.José Fonseca
2009-08-29util: Pixel format database.José Fonseca
There are some inconsistencies in pipe_format, but above all, there simply aren't enough bits in an enum to conveniently store all information about a pixel format we need to be able to dynamically generate pixel packing/unpacking code.
2009-08-28util: Reset size to zero when failed to allocate buffer.José Fonseca
2009-08-27Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-27gallium/util: added support for SRGB formatsBrian Paul
Fixes glean/texture_srgb failure, bug #23449.
2009-08-27gallium/util: added cases for SRGB formatsBrian Paul
2009-08-24tgsi: Fix build error due to commit acc7da90Cooper Yuan
2009-08-21util: add util_is_power_of_two functionKeith Whitwell
2009-08-19gallium: rename copy/fill_rect utility functionsBrian Paul
2009-08-13util: silence warnings for third REALLOC argumentKeith Whitwell
Our fallback realloc path requires an old_size argument, but the posix varient doesn't need this. Add some code to avoid gcc unused variable warnings for this extra argument.
2009-08-13util: remove unneeded includesKeith Whitwell
2009-08-13util: convert u_simple_shaders to use tgsi_uregKeith Whitwell
Much nicer now.
2009-08-11gallium: Add texture usage information to surface_buffer_createJakob Bornecrantz
We need aditional meta data about the usage of the surface in softpipe because we need to be able tell the diffrence between PRIMARY and DISPLAY_TARGET surfaces.
2009-08-07gallium: Move minify() to u_math.Corbin Simpson
minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3
2009-08-07util: fix incorrect assertionBrian Paul
Check that the dest surface/format is renderable.
2009-08-07util: include u_surface.h, added commentBrian Paul
2009-08-07util: use util_same_surface() to compare surface pointersBrian Paul
2009-08-07util: added util_same_surface() helper functionBrian Paul
2009-08-06util: fix incorrect assertionBrian Paul
Check that the dest surface/format is renderable.
2009-08-06util: include u_surface.h, added commentBrian Paul
2009-08-06util: use util_same_surface() to compare surface pointersBrian Paul
2009-08-06util: added util_same_surface() helper functionBrian Paul
2009-08-05Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: src/mesa/main/state.c
2009-08-05util: added comment/question about blit clippingBrian Paul
2009-08-05util: added util_blit_pixels() overlap testBrian Paul
A comment alluded to this. Now it's checked.
2009-08-05util: fix util_blit_pixels() test for surface_copy() pathBrian Paul
For the surface_copy() path require same format, no flipping and no stretching. Fixes progs/tests/copypixrate -blit
2009-08-05util: reformatting and commentsBrian Paul
2009-08-03gallium: comments, reformattingBrian Paul
2009-08-01mesa st: Move logbase2 function to util/u_math.hPatrice Mandin
2009-07-30Merge branch 'mesa_7_5_branch'Brian Paul
2009-07-29util: _debug_printf should print even when DEBUG is not definedKeith Whitwell
The leading underscore is meaningful... This function is used by _warning and _error functions as well as the more common debug_printf(). debug_printf (without underscore) gets turned off when DEBUG is disabled, but warning/error messages still use this function to get their message out. (cherry picked from commit 0ac879dca797360570543d5bd0fd64f8fb8e566e)
2009-07-28Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile configs/default docs/relnotes.html src/mesa/main/version.h
2009-07-28gallium: minor code/comments clean-upBrian Paul
2009-07-26util: fix typo.José Fonseca
2009-07-23util: Add support for Mac OS.Vinson Lee
2009-07-22softpipe: shortcircuit repeated lookups of the same tileKeith Whitwell
The sp_tile_cache is often called repeatedly to look up the same tile. Add a cache (to the cache) of the single tile most recently retreived and make a quick inline check to see if this matches the subsequent request. Add a tile_address bitfield struct to make this check easier.
2009-07-22util: _debug_printf should print even when DEBUG is not definedKeith Whitwell
The leading underscore is meaningful... This function is used by _warning and _error functions as well as the more common debug_printf(). debug_printf (without underscore) gets turned off when DEBUG is disabled, but warning/error messages still use this function to get their message out.
2009-07-07gallium: Fixes for clobbering stencil values in combined depth/stencil textures.Michel Dänzer
Also fix one case where a 32 bit depth value was incorrectly converted to a combined depth/stencil value.