Commit graph

27608 commits

Author SHA1 Message Date
José Fonseca
3e1974f94e util: Utility functions to print to a string buffer without overflowing. 2008-08-09 14:10:25 +01:00
José Fonseca
b65259de6c trace: Allow to dump binary data. 2008-08-09 14:10:25 +01:00
José Fonseca
6c7aff209c trace: Trace pipe_winsys calls. 2008-08-09 14:10:24 +01:00
José Fonseca
fcfe63805d trace: Remove unused code. 2008-08-09 14:10:24 +01:00
José Fonseca
74d649d9a9 trace: Prevent from internal calls from pipe_context to pipe_screen from being traced. 2008-08-08 12:32:23 +01:00
José Fonseca
9dcb956a06 gallium: Add destroy callback to all *_winsys interfaces.
For consistency and to simplify these objects' destruction.
2008-08-08 12:32:23 +01:00
José Fonseca
be36f7869e i965: Remove extraneous arg to debug_printf. 2008-08-08 12:32:23 +01:00
Brian Paul
c1c4ff28f0 gallium: use PIPE_FORMAT_X8Z24_UNORM for 24-bit Z but no stencil 2008-08-07 15:14:52 -06:00
Brian Paul
fdb7dc889f softpipe: add support for PIPE_FORMAT_X8Z24_UNORM, PIPE_FORMAT_Z24X8_UNORM 2008-08-07 15:14:52 -06:00
José Fonseca
6a82ea2ed2 trace: Simplify HTML output. 2008-08-07 20:58:09 +01:00
José Fonseca
05e90964cf trace: Merge the CSS into the XSL. 2008-08-07 20:58:09 +01:00
José Fonseca
ce2137a6a4 trace: Dump format names. 2008-08-07 20:58:09 +01:00
Brian Paul
8fb55dab78 gallium: s/pf_sprint_name/pf_name/ 2008-08-07 13:35:21 -06:00
Brian Paul
ae2195caf5 gallium: s/printf/debug_printf/ 2008-08-07 13:32:43 -06:00
Brian Paul
b1ff7dac53 gallium: new/better debug code (disabled) 2008-08-07 13:32:43 -06:00
Brian Paul
600aa7501f gallium: implement a bunch of missing put_tile functions 2008-08-07 13:32:43 -06:00
Brian Paul
c8f3191383 gallium: enable the call to r16_put_tile_rgba(), silences warning 2008-08-07 13:32:43 -06:00
José Fonseca
fdafa1f863 gallium: Simplify format->name conversion. 2008-08-07 19:25:28 +01:00
José Fonseca
9dee60969d trace: Dump state. 2008-08-07 18:58:30 +01:00
José Fonseca
f2e19c34e0 trace: Trace pipe context calls. 2008-08-07 18:58:30 +01:00
José Fonseca
f6e0514736 trace: Add missing XSL and CSS. 2008-08-07 18:58:30 +01:00
José Fonseca
18fb8f1486 xlib: Integrate with the trace pipe driver. 2008-08-07 18:58:30 +01:00
José Fonseca
35355f7610 trace: New pipe driver to trace incoming calls.
Only pipe_screen calls traced, and only linux supported, for now.
2008-08-07 18:58:29 +01:00
José Fonseca
1ee500ac73 pipebuffer: Add an extra assertion to ensure buffers do not jump between lists. 2008-08-07 18:58:29 +01:00
José Fonseca
72a5e47978 gallium: New function to dump surfaces. 2008-08-07 18:58:29 +01:00
Michal Krol
d50d7a54de softpipe: Silence compiler warnings on Windows. 2008-08-07 16:22:34 +02:00
Ben Skeggs
ce8e846ffe nv40/nv50: enable mirror wrap modes 2008-08-07 11:38:56 +10:00
Ben Skeggs
fda01b5847 nouveau: fix build 2008-08-07 11:26:17 +10:00
Ben Skeggs
4b1c508f49 Merge remote branch 'origin/gallium-0.1' into nouveau-gallium-0.1 2008-08-07 11:19:15 +10:00
Brian Paul
a56ccb90c6 gallium: fix clipping/stride bugs in pipe_get_tile_raw(), pipe_put_tile_raw()
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
2008-08-06 19:15:10 -06:00
Brian Paul
be66a8f431 gallium: added PIPE_CAP_TEXTURE_MIRROR_CLAMP, PIPE_CAP_TEXTURE_MIRROR_REPEAT
Check for these caps in state tracker and enable corresponding GL extensions
if supported.
2008-08-06 17:22:29 -06:00
Brian Paul
ea0007cc4c softpipe: add texture border color code 2008-08-06 17:14:22 -06:00
Michal Krol
2783f3bfab tgsi: Put a newline after IMM. 2008-08-04 12:18:09 +02:00
Younes Manton
7fde9febd6 g3dvl: Temporarily disable IDCT. 2008-08-03 18:21:13 -04:00
Younes Manton
a55ced5676 nv40: Support for PIPE_FORMAT_R16_SNORM. 2008-08-03 17:20:48 -04:00
Younes Manton
4a8b908a46 softpipe: support PIPE_FORMAT_R16_SNORM. 2008-08-02 19:37:16 +02:00
Younes Manton
1d27b4bc0f g3dvl: Use R16_SNORM instead of A8L8_UNORM for block rendering. 2008-07-30 16:47:10 -04:00
José Fonseca
76164bf7a2 tgsi: Insert newlines after the statements, instead of before.
Prevents shader dumps from getting concatenated with the next debug message.
2008-07-30 00:44:56 +09:00
José Fonseca
28454a512a util: Don't define replacement math functions for CE.
It appears to be working without this before, and it is probably necessary.
2008-07-28 22:42:18 +09:00
José Fonseca
c208a2c791 Merge tgsi/exec and tgsi/util directories. 2008-07-28 12:42:13 +09:00
Younes Manton
a17e6c046c g3dvl: Recursively build dependencies.
Run `make` in src/libXvMC and everything should be built for Nouveau.
Run `make DRIVER=softpipe` in src/libXvMC for SoftPipe.
2008-07-26 16:55:46 -04:00
Ben Skeggs
9e445d3e63 Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-07-27 00:54:57 +10:00
José Fonseca
ff7a7031ca gallium: Windows miniport portability fixes. 2008-07-26 09:18:07 +09:00
José Fonseca
fd6865c7e5 softpipe: Remove unused variables. 2008-07-24 21:23:09 +09:00
José Fonseca
83869ceab5 tgsi: Silent msvc warning.
Rather stupid warning: msvc is warning that converting from a 1bit
structure bitfield to a unsigned char looses precision... /WX makes this
an error.
2008-07-24 21:23:08 +09:00
Younes Manton
a8da04cb86 nv all: Copy shader tokens on create, free on delete.
Must copy token stream on shader create, client is allowed to free
their copy after creating the state object.
2008-07-23 23:46:45 -04:00
Brian Paul
f7be39ea10 gallium: bump TGSI_EXEC_NUM_TEMPS to 128 2008-07-23 16:28:15 -06:00
Brian Paul
5f2a5f6164 gallium: print extended swizzle negation flags 2008-07-23 09:56:44 -06:00
Michal Krol
0aa0141e0c tgsi: Fix tgsi_util_get_full_src_register_extswizzle(). 2008-07-23 17:53:50 +02:00
Jakob Bornecrantz
818cd9dca2 i915: intel_flush_frontbuffer does work 2008-07-23 14:07:26 +02:00