Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw: always malloc verts for fetch_shade_pipeline | Keith Whitwell | 2008-04-14 | 1 | -10/+3 |
| | |||||
* | draw: flush pipeline before trying to allocate more hw vertices | Keith Whitwell | 2008-04-14 | 3 | -4/+8 |
| | |||||
* | draw: move vertex header init out of fetch_shade_pipeline.c | Keith Whitwell | 2008-04-14 | 5 | -11/+3 |
| | |||||
* | draw: hide passthrough shading paths behind an environment variable | Keith Whitwell | 2008-04-14 | 3 | -0/+6 |
| | |||||
* | Implement fetch/shade/pipeline or emit vertex passthrough. | Zack Rusin | 2008-04-14 | 4 | -23/+287 |
| | |||||
* | Make shaders operate on a block of memory instead of arrays of vertex_header's | Zack Rusin | 2008-04-14 | 7 | -77/+100 |
| | |||||
* | return true if one of the vertices has been clipped | Zack Rusin | 2008-04-14 | 4 | -15/+25 |
| | |||||
* | pass arbitrary number of vertices to the shader execution cycle | Zack Rusin | 2008-04-14 | 4 | -143/+146 |
| | |||||
* | introduce a define to maxout the processed vertices | Zack Rusin | 2008-04-14 | 1 | -7/+7 |
| | |||||
* | gallium: Add u_time.c | José Fonseca | 2008-04-13 | 1 | -0/+1 |
| | |||||
* | gallium: Buffer cache. | José Fonseca | 2008-04-13 | 4 | -3/+318 |
| | |||||
* | gallium: Initial port of Thomas slab suballocator to pipebuffer. | José Fonseca | 2008-04-13 | 4 | -0/+440 |
| | | | | | | | | Not tested yet -- just compiles. This includes only the slab algorithm. Fencing is already implemented in pb_bufmgr_fence and time-based caching will be commited in a separate module shortly. | ||||
* | gallium: OS independent time-manipulation functions. | José Fonseca | 2008-04-13 | 4 | -1/+254 |
| | |||||
* | tgsi: Fix source register short dump code. | Michal Krol | 2008-04-12 | 1 | -30/+32 |
| | |||||
* | gallium: move duplicated compute_clipmask() code to draw_vs.h | Brian | 2008-04-12 | 4 | -81/+33 |
| | |||||
* | gallium: merge the tgsi_emit_sse2() and tgsi_emit_sse2_fs() functions. | Brian Paul | 2008-04-11 | 2 | -130/+78 |
| | | | | | The two functions were mostly the same. We can look at the shader header info to determine if it's a vertex or fragment shader. | ||||
* | gallium: handle TGSI immediates in SSE code for vertex shaders | Brian Paul | 2008-04-11 | 3 | -8/+28 |
| | |||||
* | gallium: implement immediates (aka literals) for SSE fragment shaders | Brian Paul | 2008-04-11 | 2 | -5/+81 |
| | |||||
* | gallium: comments | Brian Paul | 2008-04-11 | 1 | -0/+31 |
| | |||||
* | gallium: fix SCS codegen (sin scalar src comes from X, not Y) | Brian Paul | 2008-04-11 | 1 | -1/+1 |
| | |||||
* | gallium: fix broken x86_call() | Keith Whitwell | 2008-04-11 | 1 | -1/+1 |
| | |||||
* | tgsi: Dump processor type and version as a single token. | Michal Krol | 2008-04-11 | 1 | -1/+0 |
| | |||||
* | tgsi: Dump semantics before interpolator. | Michal Krol | 2008-04-11 | 1 | -7/+9 |
| | |||||
* | gallium: Attribute realloc leaks to the first malloc call. | José Fonseca | 2008-04-11 | 2 | -11/+68 |
| | |||||
* | remove usage of vertex_header | Keith Whitwell | 2008-04-10 | 5 | -88/+1 |
| | |||||
* | gallium: Fix overzealous assert. | José Fonseca | 2008-04-08 | 1 | -1/+5 |
| | |||||
* | gallium: Allow to debug memory leaks in nested scopes. | José Fonseca | 2008-04-08 | 1 | -8/+8 |
| | |||||
* | draw: strip edgeflags out of fetch-emit path | Keith Whitwell | 2008-04-07 | 1 | -1/+1 |
| | |||||
* | draw: fix edgeflag handling on the pt paths | Keith Whitwell | 2008-04-06 | 4 | -175/+253 |
| | | | | | | | | | Encode edgeflags (and reset_stipple info) into the top two bits of the fetch elements. This info could be moved elsewhere, but for now we can live with a 1<<30 maximum element size... Also use the primitive decomposition code from draw_prim.c verbatim, as it includes all this stuff and is known to work. | ||||
* | draw: Use debug_printf(). | Michal Krol | 2008-04-05 | 1 | -2/+2 |
| | |||||
* | gallium: Keep fenced buffers list ordered. | José Fonseca | 2008-04-05 | 1 | -53/+99 |
| | | | | This allows to keep the list small without the overhead of full walks. | ||||
* | gallium: Fix typo. | José Fonseca | 2008-04-05 | 1 | -1/+1 |
| | |||||
* | gallium: Use the custom snprintf implementation everywhere (for Win32). | José Fonseca | 2008-04-05 | 1 | -8/+3 |
| | | | | Because winddk's implemenation does not handle floats. | ||||
* | gallium: new debug code, disabled | Brian Paul | 2008-04-04 | 1 | -0/+15 |
| | |||||
* | gallium: Handle client-supplied edgeflags. | Keith Whitwell | 2008-04-04 | 6 | -28/+63 |
| | | | | | | | | Also, implement support in the draw module. We were hardwiring these to one for quite a long time... Currently using a draw_set_edgeflags() function, may be better to push the argument into the draw_arrays() function. TBD. | ||||
* | draw: move code to run pipeline from pt to new file | Keith Whitwell | 2008-04-04 | 6 | -99/+196 |
| | | | | | Add facility for draw_vbuf.c to reset these vertex ids on flushes. Pre-initialize vertex ids correctly. | ||||
* | gallium: make msvc less unhappy | Keith Whitwell | 2008-04-04 | 1 | -7/+8 |
| | |||||
* | gallium: implement ycbcr->rgba tile conversion | Brian | 2008-04-03 | 1 | -0/+71 |
| | |||||
* | draw: add passthrough path to the pipeline | Keith Whitwell | 2008-04-03 | 8 | -67/+424 |
| | | | | | | | This handles the case where bypass_vs is set, but vertices need to go through the pipeline for some reason - eg unfilled polygon mode. Demonstrates how to drive the pipeline from inside one of these things. | ||||
* | draw: add missing break statement | Keith Whitwell | 2008-04-02 | 1 | -0/+1 |
| | |||||
* | draw: Set the backend prim in the pt 'prepare' operation | Keith Whitwell | 2008-04-02 | 4 | -28/+31 |
| | | | | | | | Leaving it until 'run' is bad as the primitive is pretty much state for some drivers and so needs to get set early. In some drivers this is used to determine things like vertex format, etc -- by the time we get to 'run', it's too late to change this. | ||||
* | gallium: add a flag to turn on gl rasterization rules | Keith Whitwell | 2008-04-02 | 1 | -6/+13 |
| | | | | | | | Use this to set up hardware rasterization (if your hardware can do it) or otherwise turn on various tweaks in the draw module. Currently only hooked up to point biasing code. | ||||
* | gallium: add temporary facility for rasterization-time clamping of point sizes | Keith Whitwell | 2008-04-02 | 1 | -1/+13 |
| | |||||
* | draw: remove dead code | Keith Whitwell | 2008-04-01 | 1 | -37/+0 |
| | |||||
* | draw: more flatshade_first changes | Keith Whitwell | 2008-04-01 | 5 | -97/+144 |
| | | | | | | - Reduce the number of changes to the normal vertex ordering - Assume that the hardware knows how to do this in the standard case. - Add support to the passthrough vcache path. | ||||
* | draw: respect flatshade_first in flatshade stage | Keith Whitwell | 2008-04-01 | 1 | -6/+49 |
| | |||||
* | draw: associate rhw divide with clipping not viewport flag | Keith Whitwell | 2008-04-01 | 3 | -18/+18 |
| | |||||
* | draw: flush between pt/non-pt modes | Keith Whitwell | 2008-04-01 | 1 | -0/+4 |
| | |||||
* | gallium: Do not assume that buffers are freed in the same order they are fenced. | José Fonseca | 2008-04-01 | 1 | -18/+21 |
| | | | | | | | | Also free buffers as soon as possible. This short term fix corrects the fenced list behavior but it will impact on performance. The long term fix is probably replace the linked list (legacy from the bufpool code) by a binary tree. | ||||
* | gallium: draw_passthrough.c is obsolete - removed | Brian | 2008-03-31 | 1 | -473/+0 |
| |