Vinson Lee
d42467687e
progs/demos: Assert that input to malloc is valid.
2010-01-06 21:39:44 -08:00
Jakob Bornecrantz
61f7252448
Revert "pipebuffer: Multi-threading fixes for fencing."
...
This reverts commit 5b64d94390 .
2010-01-07 05:14:20 +01:00
Thomas Hellstrom
cb51f02678
Revert "st/dri: no need to request fake front buffer, only handle it being returned"
...
This reverts commit 1336989ec6 .
The commit breaks frontbuffer rendering and the possibility to do
on-demand frontbuffer requests on all Xservers prior to 1.7.
The commit should be conditioned on a dri2 version check.
I've submitted a patch to Xserver to bump dri2 minor, and it's acked by Ian.
To be able to check the version from within the state tracker, we will
probably need another dri2 extension function that returns the server
version. The protocol has support for it.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-01-11 21:36:51 +01:00
Thomas Hellstrom
01eff0e6d2
util: Build u_bitmask.o when using make.
...
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-01-11 21:36:51 +01:00
Vinson Lee
6d6c9c6688
progs/demos: Remove unnecessary header from fbotexture.c.
2010-01-11 00:24:39 -08:00
Dave Airlie
efaba97eaa
radeon: fix prediction for r100 inline vert/elt emits.
...
On r100 we emit the indices inline so we need to account
for that in the emission size.
2010-01-11 13:27:20 +10:00
Dave Airlie
1294df9ca4
radeon: fix bug in realloc code.
...
This bug was fixed in libdrm ages ago, port to non-kms
2010-01-11 13:27:14 +10:00
Vinson Lee
4fe51c7447
glu/sgi: Initialize members of class Mesher.
2010-01-10 16:09:41 -08:00
Vinson Lee
1111b38a1b
glu/sgi: Initialize members of class Slicer.
2010-01-10 15:55:52 -08:00
Vinson Lee
b9bd96608c
glu/sgi: Include missing header file.
2010-01-10 03:03:14 -08:00
Vinson Lee
199dedd6dd
progs/demos: Check upper bounds of input in manywin.c.
2010-01-10 01:57:13 -08:00
Vinson Lee
0c7814fe23
progs/demos: Bounds check input to fire.c.
2010-01-10 00:40:46 -08:00
Vinson Lee
9e98c1fbf6
glu/sgi: Initialize members of class Renderhints.
2010-01-10 00:14:33 -08:00
Vinson Lee
a5815c36f7
glu/sgi: Initialize members of class StoredVertex.
2010-01-09 23:55:05 -08:00
Vinson Lee
61afd1158f
glu/sgi: Include missing header file.
2010-01-09 23:53:54 -08:00
Vinson Lee
f8737bda37
glu/sgi: Initialize member of class O_pwlcurve.
2010-01-09 23:25:49 -08:00
Vinson Lee
683e3cb8db
progs/tests: Silence 'missing initializer' warnings.
2010-01-08 23:08:57 -08:00
Vinson Lee
223c8482ca
progs/glsl: Silence uninitialized variable warning.
2010-01-08 22:10:52 -08:00
Vinson Lee
3b82de92a0
progs/demos: Add missing initializers in engine.c.
2010-01-08 22:02:49 -08:00
Vinson Lee
4775723d2f
r300g: Silence unused variable warnings.
2010-01-08 21:43:54 -08:00
Vinson Lee
20d6360db7
tgsi: Silence uninitialized variable warnings.
2010-01-08 20:24:05 -08:00
Vinson Lee
45ac10fe6a
progs/xdemos: Check for string overflow.
2010-01-06 18:19:46 -08:00
Vinson Lee
25ffd76278
progs/xdemos: Check for string overflow.
2010-01-06 18:08:41 -08:00
Vinson Lee
468f270f3f
svga: Silence uninitialized variable warning.
2010-01-06 17:51:08 -08:00
Brian Paul
ef7eb62423
meta: remove F suffix from _mesa_Ortho() params
...
_mesa_Ortho() takes GLdoubles.
2010-01-06 18:22:06 -07:00
Brian Paul
73bd400016
docs: document a mipmap generation bug fix
2010-01-06 18:20:17 -07:00
Brian Paul
cb3cb96fbd
meta: move destination vertex/projection setup out of _mesa_meta_GenerateMipmap
...
Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
2010-01-06 18:20:17 -07:00
Brian Paul
06970b2ccb
meta: set viewport and projection matrix in _mesa_meta_GenerateMipmap
...
This fixes mipmap levels being clipped to the last viewport.
Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
2010-01-06 18:20:17 -07:00
Andre Maasikas
49653c01e8
r600: adjust after radeon mipmap changes in 7118db8700
...
R600_OUT_BATCH_RELOC doesn't really use offset so set it
in TEX_RESOURCE2
+ typo fix
2010-01-06 19:52:24 -05:00
Brian Paul
8485811f10
tnl: set FOGC result to (f,0,0,1)
...
Fixed FDO bug 23397.
2010-01-06 17:43:56 -07:00
Vinson Lee
4c45810d57
progs/xdemos: Remove comma at end of enumerator list.
2010-01-06 15:35:18 -08:00
Vinson Lee
96a4e4552d
progs/xdemos: Use temporary variables.
...
This was missed from the previous commit to glxheads.c.
2010-01-06 15:33:13 -08:00
Vinson Lee
c1dad22d71
progs/glsl: Prevent possible string overflow.
2010-01-06 15:25:42 -08:00
Vinson Lee
f4952f040b
progs/xdemos: Prevent possible string overflow.
2010-01-06 14:56:43 -08:00
Marek Olšák
6f498a7eff
r300g: add back-face color VS outputs
...
Required for two-sided lighting. BTW we are approaching softpipe-level
quality. ;)
2010-01-06 12:49:16 -08:00
Marek Olšák
7679ac2caa
r300g: fix SWTCL stream locations of texture coordinates
...
It might have caused hardlocks when TCL was bypassed, not sure.
2010-01-06 12:49:15 -08:00
Marek Olšák
1a4f242be6
r300g: if no DS buffer is set, disable reading from and writing to it
...
It fixes another "Bad CS" issue.
2010-01-06 12:49:15 -08:00
Marek Olšák
26f67a272b
r300g: disable the rasterization of WPOS if it's unused by the FS
2010-01-06 12:49:15 -08:00
Marek Olšák
bf60eb3fec
r300g: add WPOS
2010-01-06 12:49:15 -08:00
Marek Olšák
dc7f309f9c
r300/compiler: add full viewport transformation support in WPOS codegen
2010-01-06 12:49:15 -08:00
Marek Olšák
ddfc4e31ad
r300g: consolidate params
2010-01-06 12:49:15 -08:00
Marek Olšák
e78648db0a
r300g: fix outputting depth in the FS
2010-01-06 12:49:15 -08:00
Marek Olšák
7c902b43d8
r300g: optimize blending by conditionally disabling reads from the colorbuffer
2010-01-06 12:49:15 -08:00
Marek Olšák
6b9b3213c5
r300g: optimize blending by discarding pixels that don't change the colorbuffer
...
Let's get some performance out of the blender.
2010-01-06 12:49:14 -08:00
Marek Olšák
717c28055a
r300g: fix blending when SRC_ALPHA_SATURATE is used
2010-01-06 12:49:14 -08:00
Marek Olšák
a6d91a141f
util/blitter: allow NULL CSOs to be saved
2010-01-06 12:49:14 -08:00
Keith Whitwell
8e559e05a8
softpipe: fix draw return value
2010-01-06 18:05:08 +00:00
Pierre Ossman
c9befda13a
r600: float texture component ordering
...
The ordering of texture components was
backwards for the floating point textures.
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
2010-01-06 12:42:49 -05:00
Brian Paul
60f5608bd7
r300g: add missing is_anistropic param
2010-01-06 10:36:51 -07:00
Brian Paul
d8331aaf5b
svga: make texture_target a ubyte, not a bitfield
...
gcc won't let us take the address of a bitfield in the svga_fs_key_size()
function.
2010-01-06 09:54:36 -07:00