Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-20 | util: Use a checkboard pattern instead of asserting for unknown formats. | José Fonseca | |
Useful to replay traces which use DXTC textures... | |||
2009-02-19 | util: Support PIPE_FORMAT_Z32_FLOAT in pipe_tile_raw_to_rgba | José Fonseca | |
2009-01-06 | gallium: Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV | Brian Paul | |
This is copied from Ian's commit a330933bb75c38148668637cd22b90d75d39506f | |||
2008-12-22 | gallium: const correctness. | José Fonseca | |
2008-12-20 | gallium: Fix typo in define name. | José Fonseca | |
2008-12-19 | gallium: Simple and efficient cache. | José Fonseca | |
Fixed size hash table. Collisions are handled by simply destroying the previous entry. It hasn't received much testing yet. | |||
2008-12-19 | gallium: replace #elif with #else | Brian Paul | |
2008-12-18 | Gallium: fix for conform test | Robert Ellison | |
The following construction in util_surface_copy() in gallium/auxiliary/util/u_rect.c, introduced in commit d177c9ddda2c452cf7d6696d89cf4458ef986f98, incorrectly inverts the Y coordinate in the last parameter to pipe_copy_rect(). /* If do_flip, invert src_y position and pass negative src stride */ pipe_copy_rect(dst_map, &dst->block, dst->stride, dst_x, dst_y, w, h, src_map, do_flip ? -(int) src->stride : src->stride, src_x, do_flip ? w - src_y : src_y); The intention is to start at the last Y coordinate line and move backwards, in the case of a flip; in that case, the correct calculation is "src_y + h - 1", not "w - src_y". This fixes a Gallium assertion failure in the conformance tests: u_rect.c:65:pipe_copy_rect: Assertion `src_y >= 0' failed. debug_get_bool_option: GALLIUM_ABORT_ON_ASSERT = TRUE Trace/breakpoint trap | |||
2008-12-18 | gallium: Enable memory debugging on all windows platforms. | José Fonseca | |
2008-12-17 | gallium: fix memory corruption in u_gen_mipmap.c | Brian Paul | |
Remove the old/initial vbuf allocation in util_create_gen_mipmap(). We were allocating a small vbuf at this point so get_next_slot() didn't have as large of buffer as it expected. So all but the first set_vertex_data() was writing out of bounds. Also added some comments. | |||
2008-12-12 | gallium: avoid mapping same vertex buffer in subsequent frames | Keith Whitwell | |
Quite a few util modules were maintaining a single vertex buffer over multiple frames, and potentially reusing it in subsequent frames. Unfortunately that would force us into syncrhonous rendering as the buffer manager would be forced to wait for the previous rendering to complete prior to allowing the map. This resolves that issue, but requires the state tracker to issue a few new flush() calls at the end of each frame. | |||
2008-12-10 | util: new funcs for triming/validating primitives | Keith Whitwell | |
2008-12-09 | gallium: Abort by default on windows user space. | José Fonseca | |
2008-11-17 | gallium: Use costum log2 for all windows builds. | José Fonseca | |
2008-11-17 | gallium: State when there are no memory leaks detected. | José Fonseca | |
2008-11-17 | gallium: 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-14 | gallium: increase table size for fast log/pow functions | Brian Paul | |
The various conformance tests pass now. | |||
2008-11-14 | util: Use OpenGL rasterization rules in blits and mipmap generation. | Brian Paul | |
2008-11-12 | util: Optimise log2(). | Michal Krol | |
2008-11-12 | util: Add log2() definition for MSC. | Michal Krol | |
2008-11-10 | gallium: fix comment again. A half-closed interval was intended. | Brian | |
Never saw the [a,b[ notation before. | |||
2008-11-10 | gallium: fix typos in comments | Brian Paul | |
2008-11-10 | gallium: actually flip the coordinates | Zack Rusin | |
2008-11-09 | util: 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-09 | gallium: _debug_vprintf() should be silent if DEBUG is not defined | Brian | |
2008-10-29 | gallium: new sanity assertions in mmAllocMem() | Brian Paul | |
2008-09-18 | util: A few more memory debugging checks. | José Fonseca | |
2008-09-18 | util: Add missing p_debug.h include. | José Fonseca | |
2008-09-13 | gallium: add another value check to util_fast_pow() | Brian Paul | |
Fixes glitches seen in morph3d demo. | |||
2008-09-09 | util: Ensure we always have a full qualified file name on windows display. | José Fonseca | |
2008-09-09 | util: Enable u_stream_std.c for PIPE_SUBSYSTEM_WINDOWS_USER. | Michal Krol | |
2008-09-08 | util: Allow to define the maximum file size. | José Fonseca | |
This avoids splitting the bitmaps in many files. | |||
2008-09-08 | util: Dump surfaces to BMP. | José Fonseca | |
This allows quick inspection of surfaces in mass scale. | |||
2008-09-08 | util: Rip-off trace's os-independent stream code. | José Fonseca | |
2008-09-05 | gallium: remove debug code from prev commit | Brian Paul | |
2008-09-05 | gallium: new util_unpack_color_ub() function | Brian Paul | |
2008-09-05 | gallium: Pass 512 bytes max to EngDebugPrint. | José Fonseca | |
2008-09-04 | gallium: new util_surface_copy() and util_surface_fill() helpers | Brian Paul | |
These are plug-in fallbacks for the pipe->surface_copy() and pipe->surface_fill() functions. | |||
2008-09-04 | gallium: Fix typo. | José Fonseca | |
2008-09-04 | gallium: Use pipe_buffer_* inlines as much as possible. | José Fonseca | |
2008-09-03 | gallium: 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-01 | util: make timed_winsys os independent | Keith Whitwell | |
2008-09-01 | util: add func to return time as uint64 microseconds | Keith Whitwell | |
2008-09-01 | add u_timed_winsys.[ch] | Keith Whitwell | |
2008-08-31 | util: Fix compiler errors in the release build of C++ sources. | José Fonseca | |
2008-08-25 | gallium: include p_debug.h for non-HAVE_POSIX_MEMALIGN | Brian | |
2008-08-25 | gallium: Add missing includes. | Michal Krol | |
2008-08-24 | gallium: remove old tile util files | Brian Paul | |
2008-08-24 | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | |
Also, rename p_tile.[ch] to u_tile.[ch] | |||
2008-08-23 | util: Silence compiler warnings on Windows. | Michal Krol | |