summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gallium: initial edgeflags codeBrian Paul2008-04-241-1/+59
|
* gallium: plug in softpipe_set_edgeflags() functionBrian Paul2008-04-243-0/+14
|
* gallium: commentsBrian Paul2008-04-241-2/+2
|
* draw: default edgeflag should be oneKeith Whitwell2008-04-241-1/+1
|
* gallium: disable the bitmap/texcoord biasBrian Paul2008-04-241-1/+1
| | | | Doesn't seem to be needed after fixing the float->int conversion problem.
* mesa: adjust glBitmap coords by a small epsilonBrian Paul2008-04-241-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() functionsBrian Paul2008-04-245-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() publicBrian Paul2008-04-242-2/+4
|
* gallium: minor clean-ups, commentsBrian Paul2008-04-241-5/+9
|
* gallium: tweak the new shader delete funcsBrian Paul2008-04-241-4/+8
|
* 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
|