summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-04-24gallium: make cso_release_all() publicBrian Paul
2008-04-24gallium: minor clean-ups, commentsBrian Paul
2008-04-24gallium: tweak the new shader delete funcsBrian Paul
2008-04-24gallium: added cso_delete_vertex_fragment_shader() functionsBrian Paul
The state tracker now uses these functions to free shaders, rather than the pipe->delete_vs/fs-state() functions. Before, we could get in a situation where we free() a shader and happen to alloc() a new one at the same address. The cso_set_vertex/fragment_shader() function would no-op the state change since the pointers were the same. This led to problems elsewhere, of course. The new delete functions null-out the CSO's current shader pointers.
2008-04-24gallium: Make sure the size of non-existent storage components is set to 0.Michel Dänzer
Before adding support for formats with unused storage components, the size of components swizzled to 0 or 1 was ignored, so this didn't matter.
2008-04-24i915: Fix for wrong texture in texobj with VBUFJakob Bornecrantz
2008-04-24translate: Actually return a value from translate_cache_create().Michal Krol
2008-04-24draw: handle edgeflags and reset-line-stipple againKeith Whitwell
2008-04-24xlib: only shortcircuit makecurrent if NO_RAST set, otherwise window size ↵Keith Whitwell
updates fail
2008-04-24gallium: Initial support for pixel formats with unused storage components.Michel Dänzer
Also clarify that RGB formats with no (used) alpha component are treated as having alpha = 1.0.
2008-04-23gallium: reorder code to fix a recursive flushBrian Paul
2008-04-23gallium: fix issues in recursive flushingBrian Paul
When flushing/rendering, some stages (like AA line/point) need to set pipe/driver state. Those driver functions often call draw_flush(). That leads to recursion. Use new draw->suspend_flush flag to explicitly prevent that in the key places. Remove the draw->vcache_flushing field. Reuse draw->flushing as a debug/assertion var.
2008-04-23gallium: fix commentsBrian Paul
2008-04-23gallium: fix comments, whitespace changesBrian Paul
2008-04-23gallium: passthrough tri, not pointBrian Paul
2008-04-23Add translate cache to fetch_emit stage and add out of memoryZack Rusin
checks to code creating the cache.
2008-04-23Create a sharable translate_cache and use it.Zack Rusin
2008-04-23gallium: fix potential divide by zero in fog computationBrian Paul
It's legal for Fog.Start == Fog.End and conformance testing does so.
2008-04-23gallium: additional debug codeBrian Paul
2008-04-23gallium: move logicop test outside of loopBrian Paul
2008-04-23gallium: fix broken PIPE_BLENDFACTOR_SRC_ALPHA_SATURATEBrian Paul
2008-04-23gallium: more vertex debug codeBrian Paul
2008-04-23fix the simple hash finding function and use itZack Rusin
2008-04-24gallium: Fix texture refcount leak.José Fonseca
2008-04-24pipebuffer: New function to flush the buffer cache.José Fonseca
2008-04-24gallium: Add extern "C" to the headers.José Fonseca
2008-04-23gallium: fix broken hashing for vertex translationBrian Paul
It seems we get hash collisions fairly easily and the code as it was didn't deal with that properly. I think we need a simpler hashing interface...
2008-04-23draw: remove stupid debug (Keith)Keith Whitwell
2008-04-23draw: add missing break (Jakob)Keith Whitwell
2008-04-23fix non-i386 buildsBen Skeggs
2008-04-22gallium: added a flushing_vcache flag, test in draw_do_flush()Brian Paul
Fixes broken polygon stipple, aaline, aapoint stages
2008-04-22gallium: fix bad logic in bind_pstip_fragment_shader(): use &&, not ||Brian Paul
2008-04-22gallium: fix some bitmap frag shader issuesBrian Paul
If texturing happens to be enabled when glBitmap() is called, need to be careful about choosing a sampler unit, etc.
2008-04-22gallium: don't set buffer status to undefined in display_front_buffer()Brian Paul
2008-04-22In case the 'func' is deleting the state move the iterator beforeZack Rusin
calling it.
2008-04-22Fix a crash. Rasterizer can be nullZack Rusin
2008-04-22Cache translate's structs for emits and fetches.Zack Rusin
Results in a fair speed improvement.
2008-04-22Fix reporting of clipped vertices.Zack Rusin
2008-04-22gallium: setup an identity viewportBrian Paul
This fixes broken blits.
2008-04-22gallium: update comment about bypass clipping/viewportBrian Paul
2008-04-22gallium: setup an identity viewportBrian Paul
2008-04-22gallium: move the vertex print/debug codeBrian Paul
2008-04-22gallium: remove assertionsBrian Paul
It's possible the current vs/fs is null when cso_save_vertex/fragment_shader() is called.
2008-04-22gallium: st_translate_fragment_program() is void nowBrian Paul
The return value was never used.
2008-04-22Revert "softpipe: squash warning"Keith Whitwell
This reverts commit 1f0f029ba6f22ef4ada01fcdc153da91571a7963. Which broke the debug build.
2008-04-22draw: allow drivers to query pipeline state more easilyKeith Whitwell
Also, provide a separate flag to say whether the driver can handle clipping/rhw tasks, in addition to the API flag which indicates they have already been done.
2008-04-22softpipe: squash warningKeith Whitwell
2008-04-22cso: fix vs/fs confusionKeith Whitwell
2008-04-22softpipe: do something sensible on an error path, squash warningKeith Whitwell
2008-04-22gallium: How about restoring shaders instead of saving them again...Michel Dänzer