summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-11-27st/xorg: free last fenceKeith Whitwell
2009-11-27svga: flush our command buffer after the 8th distinct render targetKeith Whitwell
This helps improve the surface cache behaviour in the face of the large number of single-use render targets generated by EXA and the xorg state tracker. Without this we can reference hundreds of individual render targets from a command buffer, which leaves little scope for sharing or reuse of those targets. Flushing early means we can start reusing textures much sooner. This shouldn't have much effect on normal 3d rendering as it's pretty rare to have a command buffer with >8 different render targets in that world.
2009-11-27svga: add DEBUG_CACHE optionKeith Whitwell
2009-11-26svga: Prevent potential null pointer dereference in vmw_surface.c.Vinson Lee
2009-11-25Improve implementation of GL_POINT_SPRITE_COORD_ORIGIN errorsIan Romanick
This enum is only supported for OpenGL 2.0. If a driver supports OpenGL 1.4 and GL_ARB_point_sprite, using this enum should generate an error. This is important because, for example, i915 and i830 can support GL_ARB_point_sprite, but they cannot support GL_POINT_SPRITE_COORD_ORIGIN. This commit just removes the check for NV_point_sprite, which is completely wrong, and add some comments describing what the code should do. I don't see an easy way to check for version >= 2.0 from inside Mesa. Perhaps we should add an extension GL_MESA_point_sprite_20 (like Intel's old GL_EXT_packed_pixels_12) to indicate that this added bit of functionality is available. Also note that glean's pointSprite test only checks for GL_ARB_point_sprite before trying to use GL_POINT_SPRITE_COORD_ORIGIN. Naturally, that fails on non-2.0 implementations (i.e., Mac OS X on GMA 950).
2009-11-25radeon: fix context destroy needing lock for flushing.Dave Airlie
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-25vmware/xorg: Remove gem includeJakob Bornecrantz
2009-11-26st/xorg: Use pipe clear hook for solid fills of whole pixmaps.Michel Dänzer
Can give a little boost e.g. for anti-aliased text rendering.
2009-11-26svga: hash the whole key, not just the first four bytesKeith Whitwell
2009-11-26st/xorg: Make sure DRI2 blits use GPU copy contents even for software fallback.Michel Dänzer
Fixes 3D apps not updating with a non-GL compositing manager and Option "2DAccel" "off". Also clean up a little pixmap vs. drawable mess.
2009-11-26st/xorg: fix refcounting bugs introduced in earlier commitKeith Whitwell
2009-11-26st/xorg: formattingKeith Whitwell
This directory needs indent run over it.
2009-11-26st/xorg: remove debugging flushKeith Whitwell
Accidentally committed in 7fbdbad5c02e3d5bfbf0e641e2aec224e39fa974 ('st/xorg: consolidate some dest surface state setting')
2009-11-26svga: Remove spurious argument to SVGA_DBG.José Fonseca
2009-11-26st/xorg: render throttling in block handlerKeith Whitwell
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-26st/xorg: split copy operation into prepare/copy/done phasesKeith Whitwell
Any high-overhead one-off tasks are moved into the prepare hook.
2009-11-26st/xorg: don't set up constant buffer for non-xv fragment shadersKeith Whitwell
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-26st/xorg: split up shared Done callKeith Whitwell
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-26st/xorg: set up rasterizer state in initKeith Whitwell
2009-11-26st/xorg: remove redundant clipping codeKeith Whitwell
2009-11-26st/xorg: don't bother with cso save and restore in copy funcKeith Whitwell
2009-11-26st/xorg: consolidate some dest surface state settingKeith Whitwell
2009-11-26glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.Vinson Lee
2009-11-24vmware/xorg: Link against libkmsJakob Bornecrantz
If the system doesn't have libkms installed it wont try to link against it.
2009-11-24vmware/xorg: Clean Makefile a bitJakob Bornecrantz
2009-11-24vmware/xorg: Don't link against libdrm_intelJakob Bornecrantz
2009-11-24vmware/xorg: Stage driver in lib/galliumJakob Bornecrantz
2009-11-24st/xorg: Pass mode types from the kernel to XJakob Bornecrantz
2009-11-24st/xorg: Add libkms integrationJakob Bornecrantz
2009-11-24st/xorg: Touch up xorg_crtc.cJakob Bornecrantz
2009-11-24st/xorg: Rename driver functionsJakob Bornecrantz
2009-11-24st/xorg: Rename output functionsJakob Bornecrantz
2009-11-24st/xorg: Rename dri2 functionsJakob Bornecrantz
2009-11-24st/xorg: Standardise all function names defined in xorg_tracker.hJakob Bornecrantz
2009-11-25svga: try harder to make the cachable flag workKeith Whitwell
It doesn't though.
2009-11-25st/xorg: accelerate src luminanceZack Rusin
2009-11-25util: also print out memory statisticsZack Rusin
2009-11-25svga: revert packing of surface keyKeith Whitwell
Over-ambitious packing of values broke my cursor.
2009-11-25radeon: fix context destroy needing lock for flushing.Dave Airlie
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-25glu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore.Vinson Lee
2009-11-25glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.Vinson Lee
2009-11-25glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.Vinson Lee
2009-11-24svga: cache textures as well as buffersKeith Whitwell
2009-11-24st/xorg: use surface_copy for blits if availableKeith Whitwell
Even if its not available, we really want to be coalescing blit operations better.
2009-11-23i915: Initialize Length and Offset fields when mapping a buffer objectIan Romanick
This fixes an assertion failure in _mesa_MapBufferARB. Fixes bugzilla #25253.
2009-11-24svga: Filter out pendantic and ansi flagsJakob Bornecrantz
Rather have the driver compile without the flags then having to disable them.
2009-11-24glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.Vinson Lee
2009-11-24dri: Fix potential null pointer deference in dri_put_drawable.Vinson Lee
2009-11-23radeon: fix errors in miptree related functionMaciej Cencora
- typo - memory leak - off by one (spotted by airlied)
2009-11-23svga: Scrub Makefiles a bitJakob Bornecrantz
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.