Keith Whitwell
41423c01b2
st/xorg: remove debugging flush
...
Accidentally committed in 7fbdbad5c0
('st/xorg: consolidate some dest surface state setting')
2009-11-26 12:53:36 +00:00
José Fonseca
c783f5cfd8
svga: Remove spurious argument to SVGA_DBG.
2009-11-26 12:02:59 +00:00
Keith Whitwell
7b0e4adaf2
st/xorg: render throttling in block handler
...
Similar to the classic swapbuffer throttling in GL drivers, put an
upper bound on the number of outstanding chunks of rendering the state
tracker can generate -- where calling the block handler denotes a
chunk.
Currently that number is set at around 4 "chunks", but could be
tweaked up or down. If a better measure for the amount of outstanding
rendering is found, that would be fine too.
As it stands, this improves interactivity by preventing the X server
from queueing up arbitary amounts of rendering.
2009-11-26 11:55:47 +00:00
Keith Whitwell
8544c309d0
st/xorg: split copy operation into prepare/copy/done phases
...
Any high-overhead one-off tasks are moved into the prepare hook.
2009-11-26 11:23:37 +00:00
Keith Whitwell
91a5131e6b
st/xorg: don't set up constant buffer for non-xv fragment shaders
...
These currently don't reference any constants. Can add this back
if newer shaders need them, but in the meantime don't create
a new constant buffer every time we do a blit.
2009-11-26 11:23:36 +00:00
Keith Whitwell
fa799f81de
st/xorg: split up shared Done call
...
The two users of composite (Composite and Solid) now call a new
xorg_composite_done() from their Done functions, while CopyDone
is directly implemented on top of xorg_renderer.c.
2009-11-26 11:23:36 +00:00
Keith Whitwell
b4ea1eb871
st/xorg: set up rasterizer state in init
2009-11-26 11:23:36 +00:00
Keith Whitwell
86ba5139a8
st/xorg: remove redundant clipping code
2009-11-26 11:23:36 +00:00
Keith Whitwell
899d20cfaa
st/xorg: don't bother with cso save and restore in copy func
2009-11-26 11:23:36 +00:00
Keith Whitwell
7fbdbad5c0
st/xorg: consolidate some dest surface state setting
2009-11-26 11:23:36 +00:00
Vinson Lee
808f037660
glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.
2009-11-26 00:35:31 -05:00
Jakob Bornecrantz
45d9ea3619
vmware/xorg: Link against libkms
...
If the system doesn't have libkms installed it wont try to link against it.
2009-11-24 19:20:59 +01:00
Jakob Bornecrantz
77529a2cf2
vmware/xorg: Clean Makefile a bit
2009-11-24 19:16:37 +01:00
Jakob Bornecrantz
522e840a91
vmware/xorg: Don't link against libdrm_intel
2009-11-24 18:47:15 +01:00
Jakob Bornecrantz
eca5d6944a
vmware/xorg: Stage driver in lib/gallium
2009-11-24 18:46:40 +01:00
Jakob Bornecrantz
7fac8ce73b
st/xorg: Pass mode types from the kernel to X
2009-11-24 14:53:03 +01:00
Jakob Bornecrantz
ee40b20e7a
st/xorg: Add libkms integration
2009-11-24 12:57:32 +01:00
Jakob Bornecrantz
1a19b9dbc2
st/xorg: Touch up xorg_crtc.c
2009-11-24 12:57:32 +01:00
Jakob Bornecrantz
def9b0e586
st/xorg: Rename driver functions
2009-11-24 12:57:32 +01:00
Jakob Bornecrantz
431e85f894
st/xorg: Rename output functions
2009-11-24 12:57:31 +01:00
Jakob Bornecrantz
6713a83bb8
st/xorg: Rename dri2 functions
2009-11-24 12:57:31 +01:00
Jakob Bornecrantz
26f9eeddf4
st/xorg: Standardise all function names defined in xorg_tracker.h
2009-11-24 12:57:31 +01:00
Keith Whitwell
2946aea110
svga: try harder to make the cachable flag work
...
It doesn't though.
2009-11-25 17:14:07 +00:00
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
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
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
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
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
Maciej Cencora
e0fda04013
r300: fix VP source conflict resolution on 64-bit machines
...
On 32bit machines we were lucky because the sizeof(reg) == sizeof(rc_src_register).
On 64bit machines pointers are 8 bytes long, so we were overwriting other data.
2009-11-22 15:08:46 +01:00
Maciej Cencora
dfe440c856
r300: fix SIN/COS/SCS instructions for R300 fp
2009-11-22 14:13:18 +01:00
Vinson Lee
a9c540f5de
glu/sgi: Fix memory leak in gluScaleImage.
2009-11-22 01:57:35 -05:00
Vinson Lee
d3b4c99c70
glu: Fix memory leak in __gl_meshMakeEdge.
2009-11-22 01:45:53 -05:00
Vinson Lee
57d389aab5
svga: Prevent potential null pointer deference in vmw_surface.c.
2009-11-22 01:26:32 -05:00
Vinson Lee
b62a74d3b9
svga: Fix memory leak in vmw_screen_ioctl.c
2009-11-22 01:20:07 -05:00
Vinson Lee
88aab56a26
st/xorg: Prevent potential null pointer deference in xorg_xv.c.
2009-11-22 01:10:38 -05:00
Vinson Lee
46feb7db71
st/xorg: Reorder cases in switch statement.
...
Silences missing break statement warning.
2009-11-22 00:55:52 -05:00