Commit Graph

22474 Commits

Author SHA1 Message Date
Brian Paul f97df61d26 gallium: remove unneeded compressed=0 assignment 2009-04-09 15:02:47 -06:00
Brian Paul f122015674 st: remove comp_byte parameter to st_texture_create()
We can determine if the texture is compressed by checking the format.
2009-04-09 15:02:47 -06:00
Brian Paul 1ad2484f03 st: consolidate format->usage computation 2009-04-09 15:02:47 -06:00
Brian Paul eaca19edbb st: add const qualifiers, use GL types 2009-04-09 15:02:47 -06:00
Brian Paul d11d903c1b st: make loops over 3D texture slices a litte more intuitive 2009-04-09 15:02:47 -06:00
Brian Paul 5facd7986a st: reformatting and clean-ups in texture code 2009-04-09 15:02:47 -06:00
Michal Krol 790a18f2c2 tgsi/sse2: Fix ARL instruction. 2009-04-09 22:51:15 +02:00
Michal Krol c54b219975 tgsi/sse2: Fix LIT instruction. 2009-04-09 22:51:13 +02:00
José Fonseca 7cfd3b3bdf trace: Dump the fence, not its pointer. 2009-04-09 21:28:31 +01:00
José Fonseca 16c9bb81fd wgl: Remove unused member. 2009-04-09 21:27:43 +01:00
José Fonseca 0da3a13d6a trace: Use 'flags' name consistently. 2009-04-09 21:27:03 +01:00
José Fonseca 7ea265888f gallium: Use "flags" consistently. 2009-04-09 21:26:15 +01:00
José Fonseca fa2b9e4306 gdi: Use stw_* names. 2009-04-09 20:45:44 +01:00
José Fonseca 81660a44dc wgl: Use more stw_* names. 2009-04-09 20:45:43 +01:00
José Fonseca 4bbb5eb96a wgl: Use hooks instead of subclassing the window.
Subclassing the window is invasive: we might call an old window proc even
after it was removed. Glut and another bug just in the wrong time was
provoking this. Hooks don't have this problem.
2009-04-09 20:45:43 +01:00
Brian Paul deff099215 mesa: fix potential recursive locking deadlock in _mesa_HashWalk()
If the walk callback called _mesa_HashRemove() we'd deadlock.
2009-04-09 10:53:43 -06:00
Brian Paul 3163ea1453 i965: free shader's constant buffer in brwDeleteProgram()
Fixes mem leak observed with texcombine test.
2009-04-09 10:33:16 -06:00
José Fonseca 564ba25386 wgl: Catch the attempt of releasing a context which is not current. 2009-04-09 15:22:15 +01:00
José Fonseca 858d3da441 wgl: Move the framebuffer list to the device. Avoid recursive locking. 2009-04-09 15:22:15 +01:00
José Fonseca 8ef4129003 wgl: More symbol naming normalization. 2009-04-09 15:22:15 +01:00
José Fonseca d8ffccc80b stw: Use wglext.h's defines and prototypes. 2009-04-09 15:22:15 +01:00
José Fonseca 19068d93c8 stw: Normalize symbols prefix. 2009-04-09 15:22:15 +01:00
José Fonseca 7e563200b8 wgl: Add const qualifier to global constant data. 2009-04-09 15:22:15 +01:00
Brian Paul 8131123eff i965: set BRW_MASK_DISABLE flag in "send" instruction in brw_dp_READ_4()
This fixes the random results that were seen when fetching a constant
inside an IF/ELSE clause.  Disabling the execution mask ensures that all
the components of the register are written.
2009-04-08 19:37:33 -06:00
Brian Paul 43fc20e4e1 i965: clean-ups, debug code in brw_wm_glsl.c 2009-04-08 19:37:33 -06:00
Brian Paul 42cd3014f8 i965: init current_const[i].index = -1 2009-04-08 19:37:33 -06:00
Brian Paul ed9ba19bbb i965: move the fetch_constants() call before setting conditional mod state
Before, the instruction's CondUpdate field was mistakenly effecting the
constant-fetch operation.

Fixes progs/glsl/bump.c demo.  But there are some other issues related
to condition flags and IF/ELSE that need investigation...
2009-04-08 19:37:33 -06:00
Brian Paul f4468384b6 mesa: minor datatype changes in optimization code 2009-04-08 19:37:33 -06:00
Ben Skeggs 0da2781f2f nv50: adapt for new clear interface
this is so much nicer :)
2009-04-09 11:36:28 +10:00
Corbin Simpson 8648c26858 r300-gallium: Properly emit indexbufs.
This fixes hardlocks with anything using elts.
2009-04-08 15:31:04 -07:00
Corbin Simpson b3639d43f2 r300-gallium: Add vertex shader constant emit. 2009-04-08 15:31:04 -07:00
José Fonseca 71504c7700 python/retrace: Try to cope with failures creating textures. 2009-04-08 21:41:04 +01:00
José Fonseca c89eba0f31 python: Don't try to finish a null fence. 2009-04-08 21:41:04 +01:00
José Fonseca 4342d6a91f python/retrace: Use colors on windows console. 2009-04-08 21:41:03 +01:00
Robert Ellison 23ad86cfb9 Mesa: allow suppression of debug messages in a debug build
For testing, it's very useful to be able to test on a debug build,
while suppressing the debug messages (messages that are by default
suppressed in a release build), in order to see the same behavior
that users of release builds will see.

For example, the "piglit" test suite will flag an error on
programs that produce unexpected output, which means that a
debug build will always fail due to the extra debug messages.

This change introduces a new value to the MESA_DEBUG
environment variable.  In a debug build, explicitly setting MESA_DEBUG
to "0" will suppress all debug messages (both from _mesa_debug() and
from _mesa_warning()).  (The former behavior was that debug
messages were never suppressed in debug builds.)

Behavior of non-debug builds has not changed.  In such a build,
_mesa_debug() messages are always suppressed, and _mesa_warning()
messages will be suppressed unless MESA_DEBUG is set *to any value*.
2009-04-08 11:10:46 -06:00
Alan Hourihane a97c846d61 gallium: when using gl_PointCoord ensure we use the correct attribute. 2009-04-08 16:39:17 +01:00
José Fonseca 84e784665a python/retrace: Allow to specify the range of calls of interest. 2009-04-08 16:26:06 +01:00
José Fonseca e0e5d5014e trace: Make calls dumping threadsafe. 2009-04-08 16:26:05 +01:00
José Fonseca d2cdf6253c trace: Make call no global. 2009-04-08 16:26:05 +01:00
José Fonseca c14562d3b1 python/retrace: Handle recent traces.
Try to keep backwards compatability with old traces as much as possible.
2009-04-08 16:26:05 +01:00
José Fonseca aaea658dbe python: Fix method renaming. 2009-04-08 16:26:05 +01:00
José Fonseca 724929db3c python: Cope with null surfaces. 2009-04-08 16:26:05 +01:00
José Fonseca 923b4413a6 wgl: Integrate the trace driver on debug builds. 2009-04-08 16:26:05 +01:00
José Fonseca 927eb8fe4c trace: Simplify cast wrappers. 2009-04-08 16:26:05 +01:00
José Fonseca 7000b9d74a trace: Match pipe_context::clear prototype. 2009-04-08 16:26:04 +01:00
Brian Paul a3277c542b gallium: handle the case of util_pack_z_stencil(format=PIPE_FORMAT_S8_UNORM)
Fixes failed assertion in glean fbo test.
2009-04-08 08:23:45 -06:00
Brian Paul 9f784647ad docs: bump Gallium version number 2009-04-08 08:23:45 -06:00
Brian Paul f6b71d02c7 docs: updated Cell driver info 2009-04-08 08:23:45 -06:00
Brian Paul ce01de5075 docs: more info for 7.4 release notes 2009-04-08 08:23:45 -06:00
José Fonseca 629700ed7e mesa: Don't attempt to free the dummy program. 2009-04-08 11:32:43 +01:00