Zack Rusin
c712f33746
st/xorg: accelerate src luminance
2009-11-25 10:20:08 -05:00
Zack Rusin
d228e3cc8e
util: also print out memory statistics
2009-11-25 10:20:08 -05:00
Keith Whitwell
55b0157860
svga: revert packing of surface key
...
Over-ambitious packing of values broke my cursor.
2009-11-25 11:45:20 +00:00
Dave Airlie
92c6a26a8a
radeon: fix context destroy needing lock for flushing.
...
Thanks to Intel code which I've just stolen pretty much as usual.
This fixes fdo bug 22851 which is a dri1 regression since rewrite.
Tested by: fpiobaf (Fabio) on #radeon
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-25 20:40:15 +10:00
Vinson Lee
94bcb9f1a4
glu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore.
2009-11-25 00:39:37 -05:00
Vinson Lee
0d89f3dc7f
glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.
2009-11-25 00:28:56 -05:00
Vinson Lee
f895abbd97
glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.
2009-11-25 00:18:49 -05:00
Keith Whitwell
f1ce37f74a
svga: cache textures as well as buffers
2009-11-24 21:15:35 +00:00
Keith Whitwell
4509f3cbad
st/xorg: use surface_copy for blits if available
...
Even if its not available, we really want to be coalescing blit
operations better.
2009-11-24 21:15:35 +00:00
Michal Krol
3c46bbee1b
tgsi: Document Declaration Semantic token and FACE semantic name.
2009-11-24 11:58:01 +01:00
Michal Krol
bae9ece685
slang: Fix allocation size.
...
We don't need 16K+ to store a single pointer.
2009-11-24 11:22:03 +01:00
Michal Krol
53d9b7d361
mesa: Fix pointer arithmetic.
2009-11-24 11:17:16 +01:00
Michal Krol
0c54d76f37
tgsi: Implement predicated instructions in exec.
2009-11-24 09:05:31 +01:00
Michal Krol
59a70c364d
tgsi: Add ureg_DECL_loop().
2009-11-24 09:05:29 +01:00
Michal Krol
5ee0d9f632
tgsi: Account for gallium shader token representation changes.
2009-11-24 09:05:28 +01:00
Michal Krol
57221c5438
gallium: Refactor the instruction predicate TGSI token.
...
Rename it to tgsi_instruction_predicate -- it's no longer an extended
token. Its presence is indicated by a new flag in tgsi_instruction that
indicates whether an instruction is predicated.
Also, change predicate index representation to match the other
tokens that specify register indices.
2009-11-24 09:05:26 +01:00
Ian Romanick
b12ca6b87b
i915: Initialize Length and Offset fields when mapping a buffer object
...
This fixes an assertion failure in _mesa_MapBufferARB.
Fixes bugzilla #25253 .
2009-11-23 23:14:49 -08:00
Ian Romanick
da0883114b
shaderutil: Fix detection of shaders
...
Check for versions >= 2.0 (because some drivers return 3.0), and return
GL_FALSE if shaders are not detected.
2009-11-23 18:33:50 -08:00
Dave Airlie
2176b3ed9a
r300: fix swtcl bo leak problem.
...
We can get a lot of swtcl bo allocations - need to probably abstract
this a bit further.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-24 11:56:45 +10:00
Dave Airlie
bd13e6e5e2
radeon/r200/r300/r600: make bo mapping be explicit
...
This moves the bo mapping outside the DMA layer and makes it explicit,
this should in theory make it simpler to split the clean up the dma/cmdbuf
linkage that I created before that is broken.
Tested on: r600, rv380 (tcl/no-tcl), rv200 (tcl/no-tcl)
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-24 11:38:36 +10:00
Brian Paul
863ad9a683
mesa: use gcc __builtin_popcount()
2009-11-23 18:09:46 -07:00
Brian Paul
8d80b5400a
r300g: use util_bitcount()
2009-11-23 18:06:19 -07:00
Brian Paul
0a27c7b963
egl: use util_bitcount()
2009-11-23 18:04:47 -07:00
Brian Paul
15740eb03c
gallium/util: added util_bitcount()
2009-11-23 18:04:22 -07:00
Jakob Bornecrantz
acc51ac0ac
svga: Filter out pendantic and ansi flags
...
Rather have the driver compile without the flags then
having to disable them.
2009-11-24 01:16:17 +01:00
Vinson Lee
326b66d724
glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.
2009-11-24 01:23:12 -05:00
Vinson Lee
364070b1f2
dri: Fix potential null pointer deference in dri_put_drawable.
2009-11-24 00:57:55 -05:00
Maciej Cencora
5173d14cb5
Merge commit 'origin/mesa_7_7_branch'
2009-11-23 22:14:48 +01:00
Maciej Cencora
960464e42d
radeon: fix errors in miptree related function
...
- typo
- memory leak
- off by one (spotted by airlied)
2009-11-23 21:59:08 +01:00
Maciej Cencora
635823d267
Merge branch 'mesa_7_7_branch' of http://anongit.freedesktop.org/git/mesa/mesa into mesa_7_7_branch
2009-11-23 21:28:22 +01:00
Michal Krol
03f0ebe3bd
slang: Fix order of parameters to sl_pp_tokenise().
2009-11-23 20:12:17 +01:00
Jakob Bornecrantz
a11750218f
autoconf: Fix case for not having package
...
(cherry picked from commit 5c4bdbd825 )
2009-11-23 20:09:36 +01:00
Jakob Bornecrantz
86710c3334
svga: Scrub Makefiles a bit
...
Remove x86 specific hacks. Not that they will ever be used on
none x86 arches, but they are built by default. And the way the
flags where added was a hack.
2009-11-23 20:09:00 +01:00
Michel Dänzer
601edbef17
Fix the DRI swrast driver for big endian platforms.
...
Too bad I didn't realize earlier how easy this could be...
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=22767 .
2009-11-23 19:56:37 +01:00
Michal Krol
18384af749
slang: Check return value from emit_instruction().
2009-11-23 13:22:04 +01:00
Michal Krol
c511e0b844
tgsi: Clamp the source argument in micro_exp2() to avoid Inf.
2009-11-23 11:32:58 +01:00
Michal Krol
eacdd8fa75
tgsi: Remove code that actually had no effect.
2009-11-23 11:29:29 +01:00
Michal Krol
cc93fa3527
softpipe: Initialise TGSI machine's Face.
2009-11-23 10:51:07 +01:00
Michal Krol
cc35a454da
tgsi: Fix POSITION and FACE fragment shader inputs.
2009-11-23 10:49:41 +01:00
Michal Krol
b7590cde4a
tgsi: Bring BGNFOR/ENDFOR implementation up to spec.
2009-11-23 10:40:05 +01:00
Michal Krol
cde758a2b5
tgsi: Fake TXD implementation in exec.
2009-11-23 10:29:08 +01:00
Michal Krol
f359ac5486
tgsi: Add execution debugging facilities to exec.
2009-11-23 10:29:07 +01:00
Michal Krol
f61865799d
slang: Be more robust with memory in concat_shaders().
2009-11-23 10:29:05 +01:00
Vinson Lee
67125c7f9a
mesa: Initialize variable in _mesa_get_texel_fetch_func.
2009-11-23 01:52:59 -05:00
Vinson Lee
4b0b250aae
glx: Prevent potential null pointer deference in driCreateContext.
2009-11-23 01:30:32 -05:00
Vinson Lee
5b925b7daa
glu/sgi: Fix memory leak in bitmapBuild2DMipmaps.
2009-11-23 01:09:06 -05:00
Vinson Lee
b611f639b4
glu/sgi: Fix memory leak in gluScaleImage3D.
2009-11-23 00:57:37 -05:00
Richard Li
a12b468d00
r600 : add support for shader instruction trunc and discard.
2009-11-22 21:37:44 -05:00
Dave Airlie
c3c8c40cab
r600: hopefully fix segfault.
2009-11-23 06:44:29 +10:00
Dave Airlie
f9b0f1dfa1
r600: fix inline issues
2009-11-23 06:31:29 +10:00