summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util
AgeCommit message (Collapse)Author
2008-11-17gallium: Make handle_table reentrant.José Fonseca
Ensure that the object has consistent state also when calling the destroy callback. Namely, ensure the object passed to the callback is removed from the table prior to calling the destroy callback to avoid a infinite loop or double free.
2008-11-14gallium: increase table size for fast log/pow functionsBrian Paul
The various conformance tests pass now.
2008-11-14util: Use OpenGL rasterization rules in blits and mipmap generation.Brian Paul
2008-11-12util: Optimise log2().Michal Krol
2008-11-12util: Add log2() definition for MSC.Michal Krol
2008-11-10gallium: fix comment again. A half-closed interval was intended.Brian
Never saw the [a,b[ notation before.
2008-11-10gallium: fix typos in commentsBrian Paul
2008-11-10gallium: actually flip the coordinatesZack Rusin
2008-11-09util: Fix util_fast_pow/exp2/log2.Brian
- Use a lookup table for log2. - Compute (float) (1 << ipart) by tweaking with the exponent directly to avoid integer overflow and float conversion. - Also table negative exponents to avoid float division and branching. - Implement util_fast_exp as function of util_fast_exp2. -------- Cherry-picked from gallium-0.2: 8415d06d90a197e16554dab98d160334fd9f9f93 This fixes some pow() glitches seen in fslight.c, spectex.c, etc. Conflicts: src/gallium/auxiliary/util/u_math.h
2008-11-09gallium: _debug_vprintf() should be silent if DEBUG is not definedBrian
2008-10-29gallium: new sanity assertions in mmAllocMem()Brian Paul
2008-09-18util: A few more memory debugging checks.José Fonseca
2008-09-18util: Add missing p_debug.h include.José Fonseca
2008-09-13gallium: add another value check to util_fast_pow()Brian Paul
Fixes glitches seen in morph3d demo.
2008-09-09util: Ensure we always have a full qualified file name on windows display.José Fonseca
2008-09-09util: Enable u_stream_std.c for PIPE_SUBSYSTEM_WINDOWS_USER.Michal Krol
2008-09-08util: Allow to define the maximum file size.José Fonseca
This avoids splitting the bitmaps in many files.
2008-09-08util: Dump surfaces to BMP.José Fonseca
This allows quick inspection of surfaces in mass scale.
2008-09-08util: Rip-off trace's os-independent stream code.José Fonseca
2008-09-05gallium: remove debug code from prev commitBrian Paul
2008-09-05gallium: new util_unpack_color_ub() functionBrian Paul
2008-09-05gallium: Pass 512 bytes max to EngDebugPrint.José Fonseca
2008-09-04gallium: new util_surface_copy() and util_surface_fill() helpersBrian Paul
These are plug-in fallbacks for the pipe->surface_copy() and pipe->surface_fill() functions.
2008-09-04gallium: Fix typo.José Fonseca
2008-09-04gallium: Use pipe_buffer_* inlines as much as possible.José Fonseca
2008-09-03gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.José Fonseca
We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed.
2008-09-01util: make timed_winsys os independentKeith Whitwell
2008-09-01util: add func to return time as uint64 microsecondsKeith Whitwell
2008-09-01add u_timed_winsys.[ch]Keith Whitwell
2008-08-31util: Fix compiler errors in the release build of C++ sources.José Fonseca
2008-08-25gallium: include p_debug.h for non-HAVE_POSIX_MEMALIGNBrian
2008-08-25gallium: Add missing includes.Michal Krol
2008-08-24gallium: remove old tile util filesBrian Paul
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-23util: Silence compiler warnings on Windows.Michal Krol
2008-08-23util: Include missing u_rect.h.Michal Krol
2008-08-22gallium: rename p_util.c to u_rect.c (it only contains rect copy/fill helpers)Brian Paul
2008-08-22gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h headerBrian Paul
2008-08-22gallium: insert __cplusplus/extern wrappingsBrian Paul
2008-08-22gallium: move math macros from p_util.h to u_math.hBrian Paul
More can be done...
2008-08-22gallium: new u_math.[ch] files for math functionsBrian Paul
So far, optimized/low-precision versions of exp(), exp2(), log2(), pow().
2008-08-19gallium: WinCE build fixes.José Fonseca
2008-08-12gallium: Disable debug break by default on windows.José Fonseca
2008-08-12gallium: Allow compilation inside X.José Fonseca
2008-08-09util: Utility functions to print to a string buffer without overflowing.José Fonseca
2008-08-07gallium: implement a bunch of missing put_tile functionsBrian Paul
2008-08-07gallium: enable the call to r16_put_tile_rgba(), silences warningBrian Paul
2008-08-07gallium: Simplify format->name conversion.José Fonseca
2008-08-07gallium: New function to dump surfaces.José Fonseca
2008-08-06gallium: fix clipping/stride bugs in pipe_get_tile_raw(), pipe_put_tile_raw()Brian Paul
We need to compute the default dst_stride and src_stride _before_ clipping. After clipping, the width value may have changed. This fixes visible tile glitches in some demos like progs/glsl/texdemo.c