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
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
Coleman Kane
225bc70b77
r300g: use $(MAKE) variable
...
Fixes bug 24501
2009-12-04 08:45:04 -07:00
Alex Deucher
8d8fd9776e
radeon: fix polygon stipple
...
fixes fdo bug 25354
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-04 09:52:37 -05:00
Keith Whitwell
6bb415f862
softpipe: dont claim to support PIPE_FORMAT_NONE
2009-12-04 14:15:21 +00:00
Keith Whitwell
a4b3bb12d7
softpipe: fix double-minify in texture layout
2009-12-04 11:49:42 +00:00
Jakob Bornecrantz
1ef8c493b2
vmware/xorg: Use Write instead of WriteRead for cursor bypass
2009-12-04 10:33:34 +01:00
Jakob Bornecrantz
cd4d806a47
vmware/xorg: Give kernel infromation about cursor bypass
2009-12-04 09:54:51 +01:00
Jakob Bornecrantz
12fdef20b0
vmware/xorg: Handle no init of video in vmw_video_close
2009-12-04 09:54:50 +01:00
Jakob Bornecrantz
47e128331a
vmware/core: Update vmwgfx_drm.h to include cursor bypass
2009-12-04 09:54:50 +01:00
Vinson Lee
c74afe0c46
glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.
...
(cherry picked from commit 808f037660 )
2009-12-04 00:14:31 -08:00
Vinson Lee
8df551c46b
glu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore.
...
(cherry picked from commit 94bcb9f1a4 )
2009-12-04 00:14:05 -08:00
Vinson Lee
ea487c6d0b
glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.
...
(cherry picked from commit 0d89f3dc7f )
2009-12-04 00:13:25 -08:00
Vinson Lee
7b5eba453e
glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.
...
(cherry picked from commit f895abbd97 )
2009-12-04 00:12:49 -08:00
Vinson Lee
7ed749c062
glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.
...
(cherry picked from commit 326b66d724 )
2009-12-04 00:11:58 -08:00
Vinson Lee
80a3944a4d
glu/sgi: Fix memory leak in bitmapBuild2DMipmaps.
...
(cherry picked from commit 5b925b7daa )
2009-12-04 00:11:02 -08:00
Vinson Lee
6c1fc2b2a5
glu/sgi: Fix memory leak in gluScaleImage3D.
...
(cherry picked from commit b611f639b4 )
2009-12-04 00:10:22 -08:00
Vinson Lee
fe38c16021
glu/sgi: Fix memory leak in gluScaleImage.
...
(cherry picked from commit a9c540f5de )
2009-12-04 00:09:22 -08:00
Vinson Lee
d23bb22f62
glu: Fix memory leak in __gl_meshMakeEdge.
...
(cherry picked from commit d3b4c99c70 )
2009-12-04 00:07:51 -08:00
Vinson Lee
905e12f3cc
gallium/util: Initialize variables in u_pack_color.h.
...
(cherry picked from commit 36e2074b63 )
2009-12-03 17:55:59 -08:00
Roland Scheidegger
9dfbd1be44
vega: fix missing include
2009-12-04 00:42:53 +01:00
Roland Scheidegger
9c6a9363ef
Merge branch 'gallium-noblocks'
...
Conflicts:
src/gallium/state_trackers/xorg/xorg_exa.c
2009-12-04 00:35:14 +01:00
Roland Scheidegger
4153ec547c
gallium: fix remaining users of pipe_reference function
2009-12-03 23:58:30 +01:00
Roland Scheidegger
86c8f70db1
mesa: use _mesa_memcpy for COPY_4FV macro
...
Gets rid of one of the worst strict-aliasing offenders, and actually
produces faster code (at least in some cases, when compiler can use
for instance 64bit moves for memcpy).
(note _mesa_memcpy should get inlined)
2009-12-03 23:26:13 +01:00
José Fonseca
13c647fa0d
gallium: fix ref counting bug in pb_bufmgr
...
This was discovered by the pipe_reference api change.
2009-12-03 23:20:56 +01:00
Roland Scheidegger
35a15f0263
gallium: fix reference counting functions to be strict-aliasing compliant
...
Historically, parts of mesa code are not strict-aliasing safe, hence
-fno-strict-aliasing is needed to compile (this got forgotten for scons
builds for gallium, which indeed not only caused compiler warnings but also
unexplicable crashes in non-debug builds). However, we should try to eliminate
code not complying with strict-aliasing code at least for gallium.
Hence change pipe_reference functions to make them strict-aliasing compliant.
This adds a bit more complexity (especially for derived classes) but is the
right thing to do, and it does in fact fix a segfault.
2009-12-03 23:15:38 +01:00
Maciej Cencora
6c41bb25a2
radeon: workaround an FBO issue
...
Fixes #21501
2009-12-03 20:23:22 +01:00
Maciej Cencora
8cde43eb19
radeon: properly check if image should be placed in the miptree
...
Fixes #25355
2009-12-03 20:23:22 +01:00
Alex Deucher
2b5618fc5b
r200: fix polygon stipple
...
fixes fdo bug 25354
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-03 11:20:40 -05:00
Michal Krol
72befaaae5
Remove pf_swizzle_* internal macros.
2009-12-03 12:25:49 +01:00
Michal Krol
018f33a328
gallium: Remove pf_mixed_*().
2009-12-03 12:05:21 +01:00
Michal Krol
9861ad46ab
gallium: Remove pf_rev().
2009-12-03 12:03:57 +01:00
Michal Krol
f5bd93fae2
Move pf_get_component_bits() to u_format auxiliary module.
2009-12-03 11:58:36 +01:00
Michal Krol
cceeab39ea
Move pf_get_bits/size() to u_format auxiliary module.
2009-12-03 11:17:37 +01:00