Marek Olšák
7091afed78
r300g: enhance ZTOP conditions
16 years ago
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.
16 years ago
Vinson Lee
7005f7cd1a
st/egl: Fix memory leak in egl_tracker.c.
(cherry picked from commit 052b127842
)
16 years ago
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).
16 years ago
Marek Olšák
e1380cae88
r300g: remove redundant code and clean up
16 years ago
Vinson Lee
c994f08eb1
dri: Fix potential null pointer dereference in driBindContext.
(cherry picked from commit 919898e92f
)
16 years ago
Vinson Lee
f622b649fb
dri: Fix potential null pointer deference in dri_put_drawable.
(cherry picked from commit 364070b1f2
)
16 years ago
Vinson Lee
76b3523d75
glx: Prevent potential null pointer deference in driCreateContext.
(cherry picked from commit 4b0b250aae
)
16 years ago
Vinson Lee
978b80c8e3
progs/tests: Add tests to Makefile.
(cherry picked from commit 76d2ec3a0a
)
16 years ago
Alex Deucher
df02bc42b3
radeon/r200/r600: fix drivers for changes in 433f0a82f5a4696e6b0c4061f645485ec8079bb4
16 years ago
Vinson Lee
3cd745515e
draw: Initialize variable in draw_pt.c.
(cherry picked from commit ea98e9820d
)
16 years ago
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
)
16 years ago
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
)
16 years ago
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
)
16 years ago
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
)
16 years ago
Younes Manton
cbb7226a4b
st/xvmc: No more pf_get_block().
16 years ago
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.
16 years ago
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.
16 years ago
Michel Dänzer
d13c603e37
Add 'texture leak' test.
16 years ago
Michel Dänzer
433f0a82f5
radeon: Only get DRI2 front buffer information for glXBindTexImageEXT.
16 years ago
Vinson Lee
1446f30875
progs/samples: Fix memory leak if malloc fails in rgbtoppm.c.
16 years ago
Vinson Lee
412aeeed1c
progs/samples: Fix memory leak if fopen fails in rgbtoppm.c.
16 years ago
Vinson Lee
6212c8103a
progs/samples: Add rgbtoppm to Makefile.
16 years ago
Vinson Lee
2cd2341ce8
progs/tests: Removed unused variable from texdown.c.
16 years ago
Vinson Lee
d642edd2d1
progs/vpglsl: Assign glGetUniformLocationARB return value to GLint.
The return type of glGetUniformLocationARB is GLint, not GLuint.
16 years ago
Vinson Lee
8d2f3434c5
progs/fp: Redraw upon keypress.
16 years ago
José Fonseca
5b1a7843f8
svga: Dump SVGA_3D_CMD_BLIT_SURFACE_TO_SCREEN commands.
16 years ago
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.
16 years ago
José Fonseca
501989bbcd
llvmpipe: Tweak disassembly to match gdb.
Helps verifying udis86 output.
16 years ago
José Fonseca
dd51b4f909
llvmpipe: Stop disassembling when an unsupported opcode is found.
Otherwise the terminal gets full of garbage.
16 years ago
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
)
16 years ago
Vinson Lee
4fb5ae7233
progs/util: Fix memory leak if fread returns 0 in CompileShaderFile.
(cherry picked from commit 11905da883
)
16 years ago
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
)
16 years ago
Vinson Lee
e5bc2a19bd
progs/fp: Add tri-inv.c to Makefile.
16 years ago
José Fonseca
c0a13bbae1
llvmpipe: Port vertex sampler support from softpipe.
Just enough boilerplate code to avoid segfaulting.
16 years ago
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.
16 years ago
José Fonseca
b00b06b6e4
llvmpipe: Remove debug printf.
16 years ago
José Fonseca
818fd6b101
gallium: Disable force_align_arg_pointer attribute on x86_64.
Apparently not only unnecessary but also causes gcc to complain.
16 years ago
Roland Scheidegger
7d9b2edb97
identity: fix copy&paste error
16 years ago
Marek Olšák
042b524d48
radeong: flush CS if a buffer being mapped is referenced by it
Also, overlapping occlusion queries seems to work now.
16 years ago
Marek Olšák
7679447b58
r300g, radeong: fix the CS overflow
16 years ago
Marek Olšák
3da8265cd3
r300g: fix warnings
16 years ago
Roland Scheidegger
c977dd9c77
svga: fix another pipe_reference strict aliasing violation
16 years ago
Coleman Kane
225bc70b77
r300g: use $(MAKE) variable
Fixes bug 24501
16 years ago
Brian Paul
ca7cd3ade0
progs/xdemos: fix some visual/fbconfig logic in glxinfo.c
The fbAttribSingle/Double arrays had wrong GLX_DOUBLEBUFFER values.
We only need to use the glXChooseFBConfig() code when glXChooseVisual()
fails (but I don't know when that would happen).
Other recent commits errantly removed some code in this area too.
16 years ago
Brian Paul
fb83fa26c4
docs: a few more fixes for 7.6.1
16 years ago
Alex Deucher
8d8fd9776e
radeon: fix polygon stipple
fixes fdo bug 25354
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
16 years ago
Keith Whitwell
6bb415f862
softpipe: dont claim to support PIPE_FORMAT_NONE
16 years ago
Keith Whitwell
a4b3bb12d7
softpipe: fix double-minify in texture layout
16 years ago
Jakob Bornecrantz
1ef8c493b2
vmware/xorg: Use Write instead of WriteRead for cursor bypass
16 years ago