Corbin Simpson
d8d8b0d244
softpipe: sp_winsys.h should define/include what it needs.
2009-12-06 23:49:02 -08:00
Corbin Simpson
c99fb991a3
r300g: Clean up previous commit.
...
If *I* can't read it, there's a strong possibility others can't,
either.
2009-12-06 23:34:53 -08:00
Marek Olšák
7091afed78
r300g: enhance ZTOP conditions
2009-12-06 23:34:53 -08:00
Younes Manton
c574f515f0
nouveau: Work around nv04-nv40 miptrees not matching nouveau_miptree.
...
Thanks to Bob Gleitsmann for the patch.
I'll clean this up in a better way later if noone else beats me to it.
2009-12-06 12:34:27 -05:00
Vinson Lee
7005f7cd1a
st/egl: Fix memory leak in egl_tracker.c.
...
(cherry picked from commit 052b127842 )
2009-12-06 01:15:24 -08:00
Marek Olšák
0748764351
r300g: don't render if everything is culled by scissoring
...
Otherwise a CS is refused by kernel 2.6.31 (and maybe all later
versions, not sure).
2009-12-06 01:13:37 -08:00
Marek Olšák
e1380cae88
r300g: remove redundant code and clean up
2009-12-06 01:13:36 -08:00
Vinson Lee
c994f08eb1
dri: Fix potential null pointer dereference in driBindContext.
...
(cherry picked from commit 919898e92f )
2009-12-06 01:01:55 -08:00
Vinson Lee
f622b649fb
dri: Fix potential null pointer deference in dri_put_drawable.
...
(cherry picked from commit 364070b1f2 )
2009-12-06 01:00:20 -08:00
Vinson Lee
76b3523d75
glx: Prevent potential null pointer deference in driCreateContext.
...
(cherry picked from commit 4b0b250aae )
2009-12-06 00:56:20 -08:00
Vinson Lee
978b80c8e3
progs/tests: Add tests to Makefile.
...
(cherry picked from commit 76d2ec3a0a )
2009-12-05 21:20:54 -08:00
Alex Deucher
df02bc42b3
radeon/r200/r600: fix drivers for changes in 433f0a82f5
2009-12-05 18:24:41 -05:00
Vinson Lee
3cd745515e
draw: Initialize variable in draw_pt.c.
...
(cherry picked from commit ea98e9820d )
2009-12-05 15:11:41 -08:00
Vinson Lee
b2953ee1a6
mesa: Fix array out-of-bounds access by _mesa_TexGenf.
...
_mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument
as an array.
(cherry picked from commit ca5a7aadb4 )
2009-12-05 13:00:35 -08:00
Vinson Lee
d74cd04e61
mesa: Fix array out-of-bounds access by _mesa_TexGeni.
...
_mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument
as an array.
(cherry picked from commit d55fb7c835 )
2009-12-05 12:59:34 -08:00
Vinson Lee
ca8a2150c7
mesa: Fix array out-of-bounds access by _mesa_TexParameterf.
...
_mesa_TexParameterf calls set_tex_parameterf, which uses the params
argument as an array.
(cherry picked from commit 270d36da14 )
2009-12-05 12:50:56 -08:00
Vinson Lee
4071d065c2
mesa: Fix array out-of-bounds access by _mesa_TexParameterf.
...
_mesa_TexParameterf calls set_tex_parameteri, which uses the params
argument as an array.
(cherry picked from commit a201dfb6bf )
2009-12-05 12:47:40 -08:00
Younes Manton
cbb7226a4b
st/xvmc: No more pf_get_block().
2009-12-05 13:19:54 -05:00
Michel Dänzer
56a4342a04
r300g: Need to emit a hardware scissor rectangle even if scissor is disabled.
...
Just make it cover the whole framebuffer in that case. Otherwise the kernel CS
checker may complain, e.g. running progs/demos/gearbox. That runs fast now
here, but doesn't look right yet.
2009-12-05 17:59:49 +01:00
Michel Dänzer
01537a84df
st/mesa: Prefer alpha-less formats for RGB textures.
...
This can e.g. increase the chance of being able to accelerate
glCopyTex(Sub)Image from an alpha-less renderbuffer.
2009-12-05 17:59:49 +01:00
Michel Dänzer
d13c603e37
Add 'texture leak' test.
2009-12-05 17:59:49 +01:00
Michel Dänzer
433f0a82f5
radeon: Only get DRI2 front buffer information for glXBindTexImageEXT.
2009-12-05 17:54:23 +01:00
Vinson Lee
1446f30875
progs/samples: Fix memory leak if malloc fails in rgbtoppm.c.
2009-12-05 01:43:29 -08:00
Vinson Lee
412aeeed1c
progs/samples: Fix memory leak if fopen fails in rgbtoppm.c.
2009-12-05 01:38:14 -08:00
Vinson Lee
6212c8103a
progs/samples: Add rgbtoppm to Makefile.
2009-12-05 01:28:47 -08:00
Vinson Lee
2cd2341ce8
progs/tests: Removed unused variable from texdown.c.
2009-12-05 01:23:05 -08:00
Vinson Lee
d642edd2d1
progs/vpglsl: Assign glGetUniformLocationARB return value to GLint.
...
The return type of glGetUniformLocationARB is GLint, not GLuint.
2009-12-05 01:11:26 -08:00
Vinson Lee
8d2f3434c5
progs/fp: Redraw upon keypress.
2009-12-04 23:31:39 -08:00
José Fonseca
5b1a7843f8
svga: Dump SVGA_3D_CMD_BLIT_SURFACE_TO_SCREEN commands.
2009-12-05 06:34:59 +00:00
José Fonseca
781d8fccba
svga: Use _debug_printf, so that output may be dumped in release builds too.
...
The dump calls should be wrapped in #ifdef DEBUG .. #endif.
2009-12-05 06:05:56 +00:00
José Fonseca
501989bbcd
llvmpipe: Tweak disassembly to match gdb.
...
Helps verifying udis86 output.
2009-12-05 05:43:53 +00:00
José Fonseca
dd51b4f909
llvmpipe: Stop disassembling when an unsupported opcode is found.
...
Otherwise the terminal gets full of garbage.
2009-12-05 05:43:10 +00:00
Vinson Lee
fe8e18bcd4
mesa: Fix array out-of-bounds access in _mesa_TexEnvf.
...
_mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument
as an array.
(cherry picked from commit a11d60d14c )
2009-12-04 17:48:30 -08:00
Vinson Lee
4fb5ae7233
progs/util: Fix memory leak if fread returns 0 in CompileShaderFile.
...
(cherry picked from commit 11905da883 )
2009-12-04 17:35:00 -08:00
Vinson Lee
5683d7d43f
progs/util: Fix memory leak if fail to load/compile shader
...
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit c475079ef2 )
2009-12-04 17:32:48 -08:00
Vinson Lee
e5bc2a19bd
progs/fp: Add tri-inv.c to Makefile.
2009-12-04 17:29:53 -08:00
José Fonseca
c0a13bbae1
llvmpipe: Port vertex sampler support from softpipe.
...
Just enough boilerplate code to avoid segfaulting.
2009-12-04 21:27:03 +00:00
José Fonseca
a312e76468
llvmpipe: Ensure transfers are mapped.
...
This shouldn't happen but it does by some misterious reason. Fail the
assertion but at least do not segfault on release builds.
2009-12-04 21:27:03 +00:00
José Fonseca
b00b06b6e4
llvmpipe: Remove debug printf.
2009-12-04 21:27:03 +00:00
José Fonseca
818fd6b101
gallium: Disable force_align_arg_pointer attribute on x86_64.
...
Apparently not only unnecessary but also causes gcc to complain.
2009-12-04 21:27:03 +00:00
Roland Scheidegger
7d9b2edb97
identity: fix copy&paste error
2009-12-04 18:34:52 +01:00
Marek Olšák
042b524d48
radeong: flush CS if a buffer being mapped is referenced by it
...
Also, overlapping occlusion queries seems to work now.
2009-12-04 09:23:59 -08:00
Marek Olšák
7679447b58
r300g, radeong: fix the CS overflow
2009-12-04 09:23:59 -08:00
Marek Olšák
3da8265cd3
r300g: fix warnings
2009-12-04 09:23:59 -08:00
Roland Scheidegger
c977dd9c77
svga: fix another pipe_reference strict aliasing violation
2009-12-04 18:23:35 +01:00
Jakob Bornecrantz
6f1db18f14
vmware/xorg: Also stop ports on close
2009-12-04 16:50:26 +01:00
Jakob Bornecrantz
124f4bc977
vmware/xorg: Stop video ports on leave vt
2009-12-04 16:50:20 +01:00
Jakob Bornecrantz
f2e3fc1814
st/xorg: Add enter/leave vt hooks for winsys
2009-12-04 16:50:16 +01:00
Jakob Bornecrantz
c33520b360
st/xorg: Fix leave enter vt cycle in crtc code
2009-12-04 16:50:12 +01:00
Jakob Bornecrantz
d5b94b49f6
st/xorg: New libkms destroy api
2009-12-04 16:50:08 +01:00