Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: added cso_delete_vertex_fragment_shader() functions | Brian Paul | 2008-04-24 | 2 | -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änzer | 2008-04-24 | 1 | -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 VBUF | Jakob Bornecrantz | 2008-04-24 | 1 | -0/+3 |
| | |||||
* | translate: Actually return a value from translate_cache_create(). | Michal Krol | 2008-04-24 | 1 | -0/+1 |
| | |||||
* | trivial: simple edgeflag test | Keith Whitwell | 2008-04-24 | 2 | -0/+142 |
| | |||||
* | draw: handle edgeflags and reset-line-stipple again | Keith Whitwell | 2008-04-24 | 13 | -374/+348 |
| | |||||
* | xlib: only shortcircuit makecurrent if NO_RAST set, otherwise window size ↵ | Keith Whitwell | 2008-04-24 | 1 | -1/+9 |
| | | | | updates fail | ||||
* | gallium: Initial support for pixel formats with unused storage components. | Michel Dänzer | 2008-04-24 | 5 | -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 flush | Brian Paul | 2008-04-23 | 1 | -4/+2 |
| | |||||
* | gallium: fix issues in recursive flushing | Brian Paul | 2008-04-23 | 6 | -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 comments | Brian Paul | 2008-04-23 | 1 | -3/+3 |
| | |||||
* | gallium: fix comments, whitespace changes | Brian Paul | 2008-04-23 | 1 | -14/+7 |
| | |||||
* | gallium: passthrough tri, not point | Brian Paul | 2008-04-23 | 1 | -1/+1 |
| | |||||
* | Add translate cache to fetch_emit stage and add out of memory | Zack Rusin | 2008-04-23 | 3 | -7/+22 |
| | | | | checks to code creating the cache. | ||||
* | Create a sharable translate_cache and use it. | Zack Rusin | 2008-04-23 | 8 | -123/+173 |
| | |||||
* | gallium: fix potential divide by zero in fog computation | Brian Paul | 2008-04-23 | 1 | -3/+5 |
| | | | | It's legal for Fog.Start == Fog.End and conformance testing does so. | ||||
* | gallium: additional debug code | Brian Paul | 2008-04-23 | 1 | -0/+13 |
| | |||||
* | gallium: move logicop test outside of loop | Brian Paul | 2008-04-23 | 1 | -5/+5 |
| | |||||
* | gallium: fix broken PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE | Brian Paul | 2008-04-23 | 1 | -10/+7 |
| | |||||
* | gallium: more vertex debug code | Brian Paul | 2008-04-23 | 1 | -7/+17 |
| | |||||
* | fix the simple hash finding function and use it | Zack Rusin | 2008-04-23 | 3 | -23/+12 |
| | |||||
* | gallium: Fix texture refcount leak. | José Fonseca | 2008-04-24 | 1 | -0/+7 |
| | |||||
* | pipebuffer: New function to flush the buffer cache. | José Fonseca | 2008-04-24 | 2 | -3/+12 |
| | |||||
* | gallium: Add extern "C" to the headers. | José Fonseca | 2008-04-24 | 2 | -0/+18 |
| | |||||
* | gallium: fix broken hashing for vertex translation | Brian Paul | 2008-04-23 | 1 | -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 Whitwell | 2008-04-23 | 1 | -1/+1 |
| | |||||
* | draw: add missing break (Jakob) | Keith Whitwell | 2008-04-23 | 1 | -1/+2 |
| | |||||
* | mesa: add dedicated point-wide-smooth test, restore original tri.c as tri-orig.c | Keith Whitwell | 2008-04-23 | 4 | -14/+284 |
| | |||||
* | fix non-i386 builds | Ben Skeggs | 2008-04-23 | 1 | -0/+2 |
| | |||||
* | gallium: added a flushing_vcache flag, test in draw_do_flush() | Brian Paul | 2008-04-22 | 3 | -1/+4 |
| | | | | Fixes broken polygon stipple, aaline, aapoint stages | ||||
* | gallium: fix bad logic in bind_pstip_fragment_shader(): use &&, not || | Brian Paul | 2008-04-22 | 1 | -1/+1 |
| | |||||
* | gallium: fix some bitmap frag shader issues | Brian Paul | 2008-04-22 | 4 | -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 Paul | 2008-04-22 | 1 | -0/+2 |
| | |||||
* | In case the 'func' is deleting the state move the iterator before | Zack Rusin | 2008-04-22 | 1 | -1/+1 |
| | | | | calling it. | ||||
* | Fix a crash. Rasterizer can be null | Zack Rusin | 2008-04-22 | 1 | -2/+3 |
| | |||||
* | Cache translate's structs for emits and fetches. | Zack Rusin | 2008-04-22 | 2 | -14/+114 |
| | | | | Results in a fair speed improvement. | ||||
* | Fix reporting of clipped vertices. | Zack Rusin | 2008-04-22 | 1 | -3/+2 |
| | |||||
* | gallium: setup an identity viewport | Brian Paul | 2008-04-22 | 1 | -4/+6 |
| | | | | This fixes broken blits. | ||||
* | gallium: update comment about bypass clipping/viewport | Brian Paul | 2008-04-22 | 1 | -1/+1 |
| | |||||
* | gallium: setup an identity viewport | Brian Paul | 2008-04-22 | 1 | -30/+5 |
| | |||||
* | gallium: move the vertex print/debug code | Brian Paul | 2008-04-22 | 1 | -8/+6 |
| | |||||
* | gallium: remove assertions | Brian Paul | 2008-04-22 | 1 | -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 now | Brian Paul | 2008-04-22 | 2 | -5/+2 |
| | | | | The return value was never used. | ||||
* | Revert "softpipe: squash warning" | Keith Whitwell | 2008-04-22 | 1 | -0/+1 |
| | | | | | | This reverts commit 1f0f029ba6f22ef4ada01fcdc153da91571a7963. Which broke the debug build. | ||||
* | draw: allow drivers to query pipeline state more easily | Keith Whitwell | 2008-04-22 | 7 | -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 warning | Keith Whitwell | 2008-04-22 | 1 | -1/+0 |
| | |||||
* | cso: fix vs/fs confusion | Keith Whitwell | 2008-04-22 | 1 | -1/+1 |
| | |||||
* | softpipe: do something sensible on an error path, squash warning | Keith Whitwell | 2008-04-22 | 1 | -0/+2 |
| | |||||
* | gallium: How about restoring shaders instead of saving them again... | Michel Dänzer | 2008-04-22 | 1 | -2/+2 |
| | |||||
* | gallium: Don't link x86sse.c into libmesa.a. | Michel Dänzer | 2008-04-22 | 2 | -2/+0 |
| | | | | Otherwise we get a symbol clash with the copy in src/gallium/util . |