summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gallium: added cso_delete_vertex_fragment_shader() functionsBrian Paul2008-04-242-0/+23
| | | | | | | | | | 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.
* gallium: Make sure the size of non-existent storage components is set to 0.Michel Dänzer2008-04-241-3/+3
| | | | | 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.
* i915: Fix for wrong texture in texobj with VBUFJakob Bornecrantz2008-04-241-0/+3
|
* translate: Actually return a value from translate_cache_create().Michal Krol2008-04-241-0/+1
|
* trivial: simple edgeflag testKeith Whitwell2008-04-242-0/+142
|
* draw: handle edgeflags and reset-line-stipple againKeith Whitwell2008-04-2413-374/+348
|
* xlib: only shortcircuit makecurrent if NO_RAST set, otherwise window size ↵Keith Whitwell2008-04-241-1/+9
| | | | updates fail
* gallium: Initial support for pixel formats with unused storage components.Michel Dänzer2008-04-245-47/+157
| | | | | Also clarify that RGB formats with no (used) alpha component are treated as having alpha = 1.0.
* gallium: reorder code to fix a recursive flushBrian Paul2008-04-231-4/+2
|
* gallium: fix issues in recursive flushingBrian Paul2008-04-236-11/+42
| | | | | | | | | | 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.
* gallium: fix commentsBrian Paul2008-04-231-3/+3
|
* gallium: fix comments, whitespace changesBrian Paul2008-04-231-14/+7
|
* gallium: passthrough tri, not pointBrian Paul2008-04-231-1/+1
|
* Add translate cache to fetch_emit stage and add out of memoryZack Rusin2008-04-233-7/+22
| | | | checks to code creating the cache.
* Create a sharable translate_cache and use it.Zack Rusin2008-04-238-123/+173
|
* gallium: fix potential divide by zero in fog computationBrian Paul2008-04-231-3/+5
| | | | It's legal for Fog.Start == Fog.End and conformance testing does so.
* gallium: additional debug codeBrian Paul2008-04-231-0/+13
|
* gallium: move logicop test outside of loopBrian Paul2008-04-231-5/+5
|
* gallium: fix broken PIPE_BLENDFACTOR_SRC_ALPHA_SATURATEBrian Paul2008-04-231-10/+7
|
* gallium: more vertex debug codeBrian Paul2008-04-231-7/+17
|
* fix the simple hash finding function and use itZack Rusin2008-04-233-23/+12
|
* gallium: Fix texture refcount leak.José Fonseca2008-04-241-0/+7
|
* pipebuffer: New function to flush the buffer cache.José Fonseca2008-04-242-3/+12
|
* gallium: Add extern "C" to the headers.José Fonseca2008-04-242-0/+18
|
* gallium: fix broken hashing for vertex translationBrian Paul2008-04-231-5/+13
| | | | | | | 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...
* draw: remove stupid debug (Keith)Keith Whitwell2008-04-231-1/+1
|
* draw: add missing break (Jakob)Keith Whitwell2008-04-231-1/+2
|
* mesa: add dedicated point-wide-smooth test, restore original tri.c as tri-orig.cKeith Whitwell2008-04-234-14/+284
|
* fix non-i386 buildsBen Skeggs2008-04-231-0/+2
|
* gallium: added a flushing_vcache flag, test in draw_do_flush()Brian Paul2008-04-223-1/+4
| | | | Fixes broken polygon stipple, aaline, aapoint stages
* gallium: fix bad logic in bind_pstip_fragment_shader(): use &&, not ||Brian Paul2008-04-221-1/+1
|
* gallium: fix some bitmap frag shader issuesBrian Paul2008-04-224-34/+62
| | | | | If texturing happens to be enabled when glBitmap() is called, need to be careful about choosing a sampler unit, etc.
* gallium: don't set buffer status to undefined in display_front_buffer()Brian Paul2008-04-221-0/+2
|
* In case the 'func' is deleting the state move the iterator beforeZack Rusin2008-04-221-1/+1
| | | | calling it.
* Fix a crash. Rasterizer can be nullZack Rusin2008-04-221-2/+3
|
* Cache translate's structs for emits and fetches.Zack Rusin2008-04-222-14/+114
| | | | Results in a fair speed improvement.
* Fix reporting of clipped vertices.Zack Rusin2008-04-221-3/+2
|
* gallium: setup an identity viewportBrian Paul2008-04-221-4/+6
| | | | This fixes broken blits.
* gallium: update comment about bypass clipping/viewportBrian Paul2008-04-221-1/+1
|
* gallium: setup an identity viewportBrian Paul2008-04-221-30/+5
|
* gallium: move the vertex print/debug codeBrian Paul2008-04-221-8/+6
|
* gallium: remove assertionsBrian Paul2008-04-221-2/+0
| | | | | It's possible the current vs/fs is null when cso_save_vertex/fragment_shader() is called.
* gallium: st_translate_fragment_program() is void nowBrian Paul2008-04-222-5/+2
| | | | The return value was never used.
* Revert "softpipe: squash warning"Keith Whitwell2008-04-221-0/+1
| | | | | | This reverts commit 1f0f029ba6f22ef4ada01fcdc153da91571a7963. Which broke the debug build.
* draw: allow drivers to query pipeline state more easilyKeith Whitwell2008-04-227-23/+58
| | | | | | 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.
* softpipe: squash warningKeith Whitwell2008-04-221-1/+0
|
* cso: fix vs/fs confusionKeith Whitwell2008-04-221-1/+1
|
* softpipe: do something sensible on an error path, squash warningKeith Whitwell2008-04-221-0/+2
|
* gallium: How about restoring shaders instead of saving them again...Michel Dänzer2008-04-221-2/+2
|
* gallium: Don't link x86sse.c into libmesa.a.Michel Dänzer2008-04-222-2/+0
| | | | Otherwise we get a symbol clash with the copy in src/gallium/util .