Commit Graph

22586 Commits

Author SHA1 Message Date
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
Brian Paul
105758105a st: implement glCopyTexImage() for GL_DEPTH24_STENCIL8 internal format 2009-04-07 17:56:40 -06:00
Brian Paul
b7615e5240 st: implement GL_DEPTH_STENCIL format for glReadPixels and DrawPixels() 2009-04-07 17:32:29 -06:00
Brian Paul
fbcd78b5d1 softpipe: minor debug-help changes in softpipe_transfer_map() 2009-04-07 17:31:49 -06:00
Brian Paul
ac1ff1b9fe mesa: add another special/optimized case in _mesa_unpack_depth_span() 2009-04-07 17:31:14 -06:00
Brian Paul
228f20e324 swrast: fix point rendering function selection
Need to clamp default point size to min/max range before checking if it's one.
Fixes glean pointAtten test.
2009-04-07 13:44:13 -06:00
Brian Paul
d03053688f mesa: fix incorrect component ordering for sRGB8 texture fetch/store
This format is layered on MESA_FORMAT_RGB888 so the component order is
actually BGR.
Fixes glean pixelFormat failures.
2009-04-07 13:17:42 -06:00
Brian Paul
0f0e24f6ef glsl: enable the new linear scan register allocator code
Seems to b working well enough to enable all the time.
Optimizations can be disabled with "export MESA_GLSL=nopt" if needed.
2009-04-07 11:10:27 -06:00
Brian Paul
439909a87d docs: document the MESA_GLSL env var, other misc GLSL updates 2009-04-07 11:09:53 -06:00
Brian Paul
4069447f73 glsl: don't optimize program if MESA_GLSL=nopt 2009-04-07 11:01:15 -06:00
Brian Paul
3e79d65083 swrast: restore !shader check around add_specular()
Fixes a regression from commit 76ac75af8e.
2009-04-07 07:04:14 -06:00
Corbin Simpson
799f43f2e0 r300-gallium: vs: Add MAD. 2009-04-06 23:36:34 -07:00
Corbin Simpson
00bb3deed2 r300-gallium: vs: Add MUL. 2009-04-06 23:26:38 -07:00
Corbin Simpson
6a1be41af9 r300-gallium: Fix surface_copy too. 2009-04-06 23:25:27 -07:00
Corbin Simpson
ffbf3f4952 r300-gallium: Properly setup HW/SW TCL controls.
This keeps non-TCL chipsets from locking up, and also fully unbreaks
RADEON_NO_TCL rendering.
2009-04-06 23:18:56 -07:00
Brian Paul
3630da9916 swrast: more texcombine clean-ups 2009-04-06 21:37:20 -06:00
Brian Paul
1b2ab02367 swrast: asst. clean-ups in texcombine code 2009-04-06 20:08:43 -06:00
Brian Paul
76ac75af8e swrast: fix secondary color add for glBitmap
Also, clean up the logic involved in choosing per-vertex vs. per-fragment
primary+secondary color addition.
2009-04-06 17:18:58 -06:00
José Fonseca
b4c0e1f9e1 stw: Choose a color buffer format that matches the visual.
The massive ifs are ugly, but it's not worth to automate this for just a
handful of formats.

Fixes conform bcolor.c.
2009-04-06 23:09:02 +01:00
Brian Paul
f4d744af24 softpipe: clean up the buffer clear and tile cache code a little 2009-04-06 15:31:58 -06:00
Brian Paul
87c356a222 swrast: fix incorrect arithmetic for GL_ADD_SIGNED/GL_COMBINE4_NV mode 2009-04-06 14:38:09 -06:00
Brian Paul
89276e2aaf st: as with swrast, interpret texture border color according to texture format
Depending on the hardware driver this might not be needed, but it will
cause no harm.
2009-04-06 14:06:08 -06:00
Brian Paul
a07e68df68 st: rename a helper function 2009-04-06 14:00:03 -06:00
Brian Paul
b48eb05f1f swrast: fix texture border color interpretation
The texture border color must be interpreted according to the texture's
base format.  For example, for a GL_ALPHA texture, sampling the border
color should return (0,0,0,borderAlpha).  This wasn't an issue here until
I removed the legacy texenv code (we always use the combiner path now).
2009-04-06 13:53:46 -06:00
José Fonseca
8332925c3c mesa: Fix orientation adjustment for reading stencil pixels.
Fixes conform spcorner.c & spclear.c failure.
2009-04-06 20:38:37 +01:00
Eric Anholt
6b187cc8a5 intel: Avoid dri2 GetBuffers round-trips for internal Viewport calls.
This gets us the savings for driver-internal viewport calls that
dd1c68f151 was attempting, without relying
on Xlib internals or clients handling X events.
2009-04-06 11:17:25 -07:00
Eric Anholt
e7aef006e5 i965: Use GTT maps when available to upload vertex arrays and system VBOs.
This speeds up OA on my GM45 by 21% (more than the original CPU cost of
the upload path).  We might still be able to squeeze a few more percent out
by avoiding repeatedly mapping/unmapping buffers as we upload elements into
them.
2009-04-06 10:58:52 -07:00
Eric Anholt
5cca1ceb81 intel: Clean up some a leftover from sedding of bufmgr context->screen move. 2009-04-06 10:31:13 -07:00
José Fonseca
2d56d0839e r300-gallium: Skeleton for integrating into the python statetracker. 2009-04-06 15:51:27 +01:00
Michel Dänzer
e798bf8053 radeon: Expose a 32 bit RGBA fbconfig even when the screen depth is 16.
Otherwise current xserver / libGL no longer expose a 32 bit RGBA GLX visual,
and compiz fails.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=20479 .
2009-04-06 08:59:57 +02:00
Corbin Simpson
36ae0766b9 r300-gallium: vp: Moar. 2009-04-05 02:05:08 -07:00
Corbin Simpson
84d76607ec r300-gallium: vs: Use a tab to properly set up OVM. 2009-04-05 01:32:55 -07:00
Corbin Simpson
50ee103cf0 r300-gallium: Re-translate shaders if constants change. 2009-04-05 01:32:28 -07:00
Corbin Simpson
ce7963f338 r300-gallium: Properly interface with Draw for vert shaders. 2009-04-05 01:00:25 -07:00
Corbin Simpson
484795ff14 r300-gallium: Update state handlers/setters for vertex shaders. 2009-04-05 00:15:19 -07:00
Corbin Simpson
316b244ff1 r300-gallium: vs: Moar vert shaders. 2009-04-04 23:44:37 -07:00
Corbin Simpson
7cd535b478 r300-gallium: vs: Expand instruction emission. 2009-04-04 22:57:45 -07:00
Corbin Simpson
a4a853e593 r300-gallium: Update clear() code.
We have a huge optimization opportunity, but for now we'll just use the util.
2009-04-04 22:30:14 -07:00
Brian Paul
7a164411ab cell: update clear() code to catch up to gallium changes 2009-04-04 13:45:54 -06:00