Commit graph

18610 commits

Author SHA1 Message Date
Brian Paul
abfc32a68c cell: minor improvements to batch buffer functions 2008-10-20 15:44:22 -06:00
Brian Paul
6cec79dc4f cell: temporarily disable freeing of tiled texture memory
Allows glDrawPixels to work for now...
2008-10-20 09:35:18 -06:00
Brian Paul
81724da4f6 cell: use an approximation in compute_lambda_2d() to avoid sqrt
Though, the logf() call still needs attention.
2008-10-17 14:14:23 -06:00
Brian Paul
9fa8671c73 cell: add new debug flag (cache) to report texture cache stats on exit 2008-10-17 14:14:23 -06:00
Brian Paul
cb8ebc9124 cell: more efficient state emit for textures/samplers 2008-10-17 14:14:23 -06:00
Brian Paul
fa7b838806 cell: use 7-bit weights in sample_texture_2d_bilinear_int()
This allows us to use 16-bit signed mul/add instructions.  Had to
used unsigned mul before and there's no unsigned mul/add instruction.
2008-10-17 14:14:23 -06:00
Brian Paul
87a6fe57e8 Merge commit 'origin/gallium-0.1' into gallium-0.2
Conflicts:

	progs/trivial/tri.c
2008-10-17 14:13:00 -06:00
Brian Paul
d422c1eb5c mesa: redraw upon keypress in trivial/tri.c 2008-10-17 13:37:50 -06:00
Brian Paul
8d6ef125ac gallium: fix mis-matched malloc/free vs. aligned malloc/free
Use aligned malloc/free for teximage data everywhere to be consistant.
The mismatch didn't make any difference when HAVE_POSIX_MEMALIGN was defined.
2008-10-17 13:37:50 -06:00
Alan Hourihane
b50a0b89d9 build "GLX" egl driver by default and egl demos 2008-10-16 23:42:12 +01:00
Brian Paul
51ffab362b cell: pass spu_texture_level ptr to get_four_texels() 2008-10-16 13:54:17 -06:00
Brian Paul
033c90f4c1 cell: implement KIL instruction 2008-10-16 13:49:42 -06:00
Brian Paul
8bff2fccc9 cell: CELL_NUM_SPUS env var 2008-10-16 11:48:05 -06:00
Brian Paul
5191429b15 cell: trilinear mipmap interpolation 2008-10-16 11:19:22 -06:00
Brian Paul
f0c70f9aab cell: update comments 2008-10-16 09:52:02 -06:00
Brian Paul
1da8f9b005 cell: call proper sampler function in sample_texture_cube() 2008-10-16 09:33:45 -06:00
Brian Paul
926b8dbb3e cell: clean up various texture-related things
Distinguish among texture targets in codegen.
progs/demos/cubemap.c runs correctly now too.
2008-10-16 09:00:05 -06:00
Brian Paul
0116ee1d1c cell: start some performance measurements
Use the spu_write_decrementer() and spu_read_decrementer() functions to
measure time.  Convert to milliseconds according to the system timebase value.
2008-10-15 20:56:55 -06:00
Brian Paul
1c915b14a5 cell: updated debug code 2008-10-15 20:56:55 -06:00
Brian Paul
5ecb4f9694 cell: updated status in docs/cell.html 2008-10-15 15:46:53 -06:00
Brian Paul
224c19a758 cell: get rid of last usage of float4 union/typedef
Results in slightly tighter code.
2008-10-15 15:34:02 -06:00
Brian Paul
30d3b58112 cell: simplify triangle front/back face determination 2008-10-15 15:20:09 -06:00
Brian Paul
ec7d6c6561 cell: send rasterizer state to SPUs in proper way, remove front_winding hack 2008-10-15 14:39:16 -06:00
Brian Paul
8bf1059977 cell: query # cells too 2008-10-15 14:26:08 -06:00
Brian Paul
8bcbefb370 cell: query number SPUs with spe_cpu_info_get() 2008-10-15 14:20:10 -06:00
Brian Paul
67f615681c cell: use CELL_MAX_SPUS consistently. 2008-10-15 14:18:51 -06:00
Brian Paul
0eb0b0a816 cell: remove some old, pre-batchbuffer stuff 2008-10-15 14:12:55 -06:00
Brian Paul
79e96b3a77 cell: move some CELL_MAX constants 2008-10-15 13:58:58 -06:00
Brian Paul
708f046c21 cell: remove obsolete spu_debug.h file 2008-10-15 13:56:00 -06:00
Brian Paul
ddeec1ed10 cell: simplify spu debug code 2008-10-15 13:55:18 -06:00
Brian Paul
53951531ae cell: propogate blend color to SPUs for the fallback fragment ops code 2008-10-15 12:35:51 -06:00
Brian Paul
5f76a77b31 gallium: fix the shader-rebind test in softpipe, as was done for the draw module. 2008-10-15 12:00:48 -06:00
Brian Paul
05a8f203cd gallium: fix the test in vs_exec_prepare() to avoid redundant bindings
Fixes regressions seen in progs/samples/prim.c, progs/demos/ray.c
2008-10-15 12:00:48 -06:00
Brian Paul
a7f06dae20 gallium: temporariliy revert softpipe shader optimization 2008-10-15 12:00:48 -06:00
Brian Paul
9382a7100f cell: updated vertex dump/debug code 2008-10-15 10:54:57 -06:00
Brian Paul
f60c756ed1 cell: additional debug 2008-10-15 10:54:57 -06:00
Brian Paul
4e506f422a cell: fix/add some fallback blend cases 2008-10-15 10:54:57 -06:00
Brian Paul
abcd28b0b3 cell: need to flush draw module when constants change 2008-10-15 10:54:57 -06:00
Brian Paul
b261ed1f61 mesa: revert accidental change to fslight.c demo 2008-10-15 10:54:57 -06:00
Keith Whitwell
13f46fa1b9 draw: don't assume output buffer pointer is aligned
(cherry picked from commit 23cc303994)
2008-10-15 17:24:42 +01:00
Keith Whitwell
cf85e413ad Merge commit 'origin/gallium-0.1' into gallium-0.2
Conflicts:

	src/mesa/main/context.c
2008-10-15 17:20:30 +01:00
Kristian Høgsberg
d533a5d00a Update DRI2 implementation according to new specification. 2008-10-15 11:18:05 +01:00
Kristian Høgsberg
e5ef0beb05 Revert pointless reindents to avoid merge conflicts.
Why are we reindenting code that's work in progress...
2008-10-15 11:18:05 +01:00
RALOVICH, Kristóf
5f6472fc69 glx: indent -br -i3 -npcs --no-tabs glxclient.h 2008-10-15 11:18:05 +01:00
RALOVICH, Kristóf
5e3edb6f98 glx: indent -br -i3 -npcs --no-tabs glcontextmodes.h 2008-10-15 11:18:04 +01:00
RALOVICH, Kristóf
00be6dfe2b glx: indent -br -i3 -npcs --no-tabs glxextensions.c 2008-10-15 11:18:04 +01:00
RALOVICH, Kristóf
c6d037678d glx: indent -br -i3 -npcs --no-tabs glxextensions.h 2008-10-15 11:18:00 +01:00
RALOVICH, Kristóf
1bb4658fab glx: indent -br -i3 -npcs --no-tabs xfont.c 2008-10-15 11:17:59 +01:00
RALOVICH, Kristóf
b57e9f2a74 glx: indent -br -i3 -npcs --no-tabs xf86dristr.h 2008-10-15 11:17:59 +01:00
RALOVICH, Kristóf
400c2d0cea glx: indent -br -i3 -npcs --no-tabs XF86dri.c 2008-10-15 11:17:58 +01:00