Commit graph

15583 commits

Author SHA1 Message Date
José Fonseca
dc31bb5076 gallium: Invert include order. 2008-08-09 14:10:25 +01:00
José Fonseca
696067e781 trace: Dump shaders as text. 2008-08-09 14:10:25 +01:00
José Fonseca
673489fa5c tgsi: Dump shaders to a string too.
Again.
2008-08-09 14:10:25 +01:00
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
Brian Paul
74b14fe6dd mesa: fix some feature tests 2008-08-08 13:06:54 -06:00
Brian Paul
966e199e40 mesa: fix some pixel transfer state tests for depth formats 2008-08-08 12:29:48 -06:00
Brian Paul
27858226dc gallium: fix additional glCopyTex[Sub]Image issues
Use the TexFormat->StoreImage() routine for fallbacks.  This handles the
case of copying RGBA framebuffer data into an RGBA texture when the base
format is GL_RGB (or GL_LUMINANCE, etc).  In that case, we need to set
the texture's alpha=1 and override the framebuffer's alpha.
2008-08-08 10:39:56 -06:00
Brian Paul
48cf46a29d mesa: fix out-of-bounds memory reads in swizzle_copy() 2008-08-08 09:08:44 -06: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
4e070f10c0 gallium: clean-up, remove dead code, update comments 2008-08-07 17:59:41 -06: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
275b09f256 gallium: fix a few bugs on the fallback CopyTex[Sub]Image() path. 2008-08-07 13:32:43 -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
Brian Paul
2c2d6c90fe mesa: fix glBindTexture comment/error string 2008-08-07 13:32:43 -06:00
Brian Paul
14ac52e457 mesa: glsl: regenerated files 2008-08-07 13:32:43 -06:00
Brian Paul
a78f295f7c mesa: glsl: finish up support for precision qualifiers 2008-08-07 13:32:43 -06:00
José Fonseca
1ffd6908d4 mesa: pf_sprint_name->pf_name. 2008-08-07 19:25:54 +01: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
c76d86f0ab raw2png: Fix channel order in a8b8g8r8/x8b8g8r8 formats. 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
eb422a7243 raw2png: support some depth formats. 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
9a20cecc5c mesa: Extend GLSL syntax to accept type precision in full type specifiers. 2008-08-07 16:49:54 +02:00
Michal Krol
c5c7130385 mesa: Silence compiler warnings on Windows. 2008-08-07 16:23:15 +02:00
Michal Krol
d50d7a54de softpipe: Silence compiler warnings on Windows. 2008-08-07 16:22:34 +02: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
Jonathan White
b908ce93d4 egl: define vsnprintf 2008-08-06 16:42:38 -06:00
Jonathan White
bd953fdd54 egl: fixes for Windows 2008-08-06 16:37:49 -06:00
Brian Paul
695fc32503 mesa: glsl: regenerated file 2008-08-06 16:29:50 -06:00
Brian Paul
35b9aedf7f mesa: glsl: report 'Syntax Error' instead of 'Invalid external declaration' 2008-08-06 16:29:40 -06:00