Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: initial edgeflags code | Brian Paul | 2008-04-24 | 1 | -1/+59 |
| | |||||
* | gallium: plug in softpipe_set_edgeflags() function | Brian Paul | 2008-04-24 | 3 | -0/+14 |
| | |||||
* | gallium: comments | Brian Paul | 2008-04-24 | 1 | -2/+2 |
| | |||||
* | draw: default edgeflag should be one | Keith Whitwell | 2008-04-24 | 1 | -1/+1 |
| | |||||
* | gallium: disable the bitmap/texcoord bias | Brian Paul | 2008-04-24 | 1 | -1/+1 |
| | | | | Doesn't seem to be needed after fixing the float->int conversion problem. | ||||
* | mesa: adjust glBitmap coords by a small epsilon | Brian Paul | 2008-04-24 | 1 | -2/+3 |
| | | | | | | Fixes problem with bitmaps jumping around by one pixel depending on window size. The rasterpos is often X.9999 instead of X+1. Run progs/redbook/drawf and resize window to check. | ||||
* | gallium: use cso_destroy_vertex/fragment_shader() functions | Brian Paul | 2008-04-24 | 5 | -13/+18 |
| | | | | | Also, rearrange the st_destroy_context() code a bit to prevent some invalid/NULL ptr derefs during tear-down. | ||||
* | gallium: make cso_release_all() public | Brian Paul | 2008-04-24 | 2 | -2/+4 |
| | |||||
* | gallium: minor clean-ups, comments | Brian Paul | 2008-04-24 | 1 | -5/+9 |
| | |||||
* | gallium: tweak the new shader delete funcs | Brian Paul | 2008-04-24 | 1 | -4/+8 |
| | |||||
* | 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 |
| |