Brian Paul
ce40bc2ae0
gallium: in st_draw_vbo() try to detect interleaved arrays in a single VBO.
2008-08-27 13:22:54 -06:00
Brian Paul
8eb85f6f2a
gallium: remove old assertions
2008-08-27 13:22:54 -06:00
Brian Paul
6f33b778ae
gallium: call st_finish() in XMesaFlush()
2008-08-27 13:22:54 -06:00
Brian Paul
d29cf58b1d
gallium: s/_glthread_Cond/unsigned/ in p_thread.h
2008-08-27 08:46:29 -06:00
Michal Krol
da66a7640d
gallium: Add dummy defines of pipe_condvar for Windows to make it compile.
2008-08-27 11:06:08 +02:00
Brian Paul
0bb852fa49
gallium: thread wrapper clean-up
...
In p_thread.h replace _glthread_* functions with new pipe_* functions.
Remove other old cruft.
2008-08-26 16:35:12 -06:00
Brian Paul
b5ab3b7dfc
cell: use SDK 3.0 by default
2008-08-26 14:10:29 -06:00
Keith Whitwell
e6887a5752
draw: attempt atomic submit of large drawelements calls
2008-08-26 09:36:52 +01:00
Keith Whitwell
026e7731e5
vbo: seed initial max_element value with a more likely candidate
2008-08-26 09:36:47 +01:00
Brian
6ba9fb9b66
cell: asst fixes to get driver building/running again.
...
Note that SPU vertex transformation is disabled at this time.
2008-08-25 11:31:59 -06:00
Brian
60ac76175b
gallium: added const qualifiers on some draw funcs
2008-08-25 11:30:57 -06:00
Brian
a644c5a850
gallium: include p_debug.h for non-HAVE_POSIX_MEMALIGN
2008-08-25 11:30:20 -06:00
Brian
fd06d01b80
gallium: include <sched.h> on linux to get sched_yield() proto
2008-08-25 11:29:39 -06:00
Brian Paul
85813e36f2
gallium: include u_math.h
2008-08-25 08:32:50 -06:00
Michal Krol
2c4661f8fc
gallium: Add missing includes.
2008-08-25 10:42:25 +02:00
Brian
6fd2feaad7
gallium: include u_memory.h, u_math.h
2008-08-24 18:10:50 -06:00
Brian Paul
4c84e940d0
gallium: remove old tile util files
2008-08-24 17:49:11 -06:00
Brian Paul
4f25420bdd
gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h
...
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-24 17:48:55 -06:00
Michal Krol
ec7415642d
trace: Include u_string.h.
2008-08-23 12:31:50 +02:00
Michal Krol
e7ff7f78be
util: Silence compiler warnings on Windows.
2008-08-23 12:31:16 +02:00
Michal Krol
f3dfd5969d
util: Include missing u_rect.h.
2008-08-23 12:30:39 +02:00
Brian Paul
2b87174ec3
gallium: rename p_util.c to u_rect.c (it only contains rect copy/fill helpers)
2008-08-22 16:22:35 -06:00
Brian Paul
fe1e39afbb
gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h header
2008-08-22 16:19:22 -06:00
Brian Paul
a13475ff00
gallium: replace align_int() with align()
...
The two functions are identical. Removed align_int() from p_util.h
2008-08-22 16:09:37 -06:00
Brian Paul
f9c04d55d0
gallium: insert __cplusplus/extern wrappings
2008-08-22 15:53:28 -06:00
Brian Paul
a22bdd42d7
gallium: move math macros from p_util.h to u_math.h
...
More can be done...
2008-08-22 15:51:38 -06:00
Brian Paul
9935e3b730
gallium: stop using ifloor(), FABSF(), etc
2008-08-22 15:51:02 -06:00
Brian Paul
120270def7
gallium: stop using FABSF() macro
2008-08-22 15:49:36 -06:00
Brian Paul
1a46dcc8a9
gallium: replace LOG2() macro with util_fast_log2() inline func
2008-08-22 15:25:21 -06:00
Brian Paul
1c2ff4d9e6
gallium: use new util_fast_exp2(), _log2(), pow() functions
...
New code surrounded with #if FAST_MATH to allow comparing against original
code if we need to debug.
2008-08-22 15:16:43 -06:00
Brian Paul
07bebb839d
mesa: glsl: regenerated file
2008-08-22 15:14:47 -06:00
Brian Paul
47d4b958cf
mesa: glsl: implement exp() functions in terms of EXP asm instruction, not pow
2008-08-22 15:14:36 -06:00
Brian Paul
9e2b867b3f
gallium: new u_math.[ch] files for math functions
...
So far, optimized/low-precision versions of exp(), exp2(), log2(), pow().
2008-08-22 15:13:47 -06:00
José Fonseca
d32f51d471
python/retrace: Interpret texture/surfaces destructions.
2008-08-22 03:14:51 +01:00
José Fonseca
807a7487ff
trace: Don't trace texture/surfaces releases, only destructions.
2008-08-22 03:14:24 +01:00
José Fonseca
152d00d199
trace: Use a 4 hexadecimal digit suffix.
2008-08-22 03:13:27 +01:00
José Fonseca
7f3c3683ce
python/retrace: Process the trace call-by-call (instead of reading everything into memory).
2008-08-22 01:23:48 +01:00
José Fonseca
10624065b0
python/retrace: Support gziped traces.
2008-08-21 18:46:04 +01:00
José Fonseca
34d12c1787
trace: Hack to detect writes to user buffers.
...
It often happens that new data is written directly to the user buffers
without mapping/unmapping. This hack marks user buffers and dumps them
before passing them to pipe context.
2008-08-21 18:46:04 +01:00
José Fonseca
0fff3e4ea9
trace: Split the output stream on windows.
...
Because windows limits the ammount of memory that can be mapped.
2008-08-21 18:46:04 +01:00
José Fonseca
f52db6cd44
scons: Build the trace pipe driver by default.
2008-08-21 18:46:03 +01:00
Brian Paul
ad9c862ffb
mesa: glsl: fix a swizzle bug in storage_to_src_reg()
...
Need to remove the 'nil' components before swizzling a swizzle
2008-08-20 14:40:02 -06:00
Brian Paul
e55093bf2f
mesa: glsl: add check for exceeding max number of constants/uniforms
2008-08-20 14:39:10 -06:00
Brian Paul
29bee15b1e
mesa: glsl: regenerated file
2008-08-20 11:07:25 -06:00
Brian Paul
ef33697c7e
mesa: glsl: better implementation of ftransform()
2008-08-20 11:06:53 -06:00
Brian Paul
0fae764898
gallium: test for and cull prims with inf/nan vertices in sp_setup.c code.
2008-08-20 10:32:26 -06:00
Brian Paul
f6abdb2043
gallium: fix typo in LINE() macro (replace i+1 with i1 var)
...
We were sometimes referencing an invalid vertex.
Fixes progs/trivial/line-clip.c test among others.
2008-08-20 10:32:26 -06:00
José Fonseca
34cffce334
python/retrace: Retrace draw_elements and draw_range_elements.
2008-08-20 16:57:51 +01:00
José Fonseca
1d881b8e84
python: bindings for draw_range_elements.
2008-08-20 16:57:51 +01:00
Brian Paul
815cdcfbc0
mesa: allow for extra per-context init
2008-08-19 18:14:15 -06:00