Age | Commit message (Collapse) | Author |
|
|
|
|
|
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.
|
|
The various conformance tests pass now.
|
|
|
|
|
|
|
|
Never saw the [a,b[ notation before.
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
|
|
Fixes glitches seen in morph3d demo.
|
|
|
|
|
|
This avoids splitting the bitmaps in many files.
|
|
This allows quick inspection of surfaces in mass scale.
|
|
|
|
|
|
|
|
|
|
These are plug-in fallbacks for the pipe->surface_copy() and
pipe->surface_fill() functions.
|
|
|
|
|
|
We want to use the pipe_buffer_* inlines everywhere, but a pipe context
is not always available nor is it needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also, rename p_tile.[ch] to u_tile.[ch]
|
|
|
|
|
|
|
|
|
|
|
|
More can be done...
|
|
So far, optimized/low-precision versions of exp(), exp2(), log2(), pow().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|