Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | disable llvm for fragment shaders for now | Zack Rusin | 2008-02-10 | 1 | -0/+4 |
| | |||||
* | rewrite the way we handle ir in llvm code | Zack Rusin | 2008-02-10 | 1 | -1/+1 |
| | | | | | introduce intermediate step gallivm_ir before compiling it down to the final llvm ir. | ||||
* | gallium: added draw_flush() call in softpipe_bind_sampler_state() | Brian | 2008-02-08 | 1 | -0/+2 |
| | |||||
* | gallium: use mem_dup() | Brian | 2008-02-06 | 3 | -15/+6 |
| | |||||
* | gallium: change pipe->texture_create() to operate like the CSO functions | Brian | 2008-02-06 | 2 | -19/+19 |
| | | | | Now, pass in a template object and return a new object. | ||||
* | gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions. | José Fonseca | 2008-02-06 | 3 | -19/+19 |
| | |||||
* | gallium: comments about fragment Z computation | Brian | 2008-01-31 | 1 | -0/+9 |
| | |||||
* | gallium: Fix z clear bug when TILE_CLEAR_OPTIMIZATION==0 | Brian | 2008-01-31 | 1 | -0/+2 |
| | |||||
* | gallium: fix get/put typo regression | Brian | 2008-01-31 | 1 | -5/+5 |
| | | | | | This came from commit f3aa4de034b0d791ce2e38e8aeb3b3abdb4e3b50 on 1/22/08. Fixes strange Z buffer glitches seen in progs/glsl/texdemo1.c | ||||
* | gallium: Add SCons as alternative build system for Gallium. | José Fonseca | 2008-01-31 | 1 | -0/+42 |
| | |||||
* | gallium: Fix build on Windows. | Michal Krol | 2008-01-26 | 1 | -3/+3 |
| | |||||
* | gallium: minor cleanups to pipe interface | Keith Whitwell | 2008-01-26 | 2 | -29/+4 |
| | | | | | - Remove put/get tile, just have users call put_tile_raw, etc directly. - Remove surface_data call, just map it locally. | ||||
* | gallium: replace prim pipeline begin/end() functions with flush() | Brian | 2008-01-25 | 3 | -15/+41 |
| | | | | | | | | | | | | | This is basically half of Keith's draw/flush patch. The stage->point/line/tri() functions are now self-validating, the validator functions are installed by the flush() function. There were excessive calls to validate_pipeline(), however. This was caused by draw_prim_queue_flush() keeping a local 'first' variable that always pointed to the validate functions. Replaced 'first' with 'draw->pipeline.first'. Performance in gears is up just slightly with this patch. | ||||
* | gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ code | Keith Whitwell | 2008-01-25 | 6 | -9/+10 |
| | | | | | | | | | | | Provide an actual definition of the pipe_buffer struct, containing the parameters used to create the buffer, and its refcount. Shift refcounting buffers out of the winsys interface, similar to surfaces & textures. Rework pipebuffer/ to reflect the fact these changes, and also Michel's reworking of the buffer interface. | ||||
* | gallium: Simplify winsys buffer interface. | Michel Dänzer | 2008-01-25 | 2 | -9/+6 |
| | | | | | | The properties of a buffer represented by struct pipe_buffer_handle are now basically constant over its lifetime. The state tracker gets to deal with any more complex buffer semantics it may need to provide. | ||||
* | disable usage of llvm in fragment shaders | Zack Rusin | 2008-01-24 | 1 | -0/+5 |
| | | | | | | it produces wrong results because it hasn't been adjusted to some new changes and it will just be in the way while changing llvm code to a different vector layout | ||||
* | gallium: rename FORMAT_x to EMIT_x and use EMIT_ALL to emit whole vertex ↵ | Brian | 2008-01-23 | 1 | -12/+10 |
| | | | | as-is in vbuf code | ||||
* | gallium: improved vertex layout and interpolant setup in softpipe | Brian | 2008-01-23 | 4 | -159/+121 |
| | |||||
* | gallium: remove support for separate depth/stencil buffers. Always combined ↵ | Brian | 2008-01-23 | 8 | -42/+23 |
| | | | | now. | ||||
* | gallium: in sp_tile_cache_clear() mark all cache slots as empty/free. Fixes ↵ | Brian | 2008-01-23 | 1 | -0/+6 |
| | | | | progs/redbook/stencil.c | ||||
* | gallium: rework compute_vertex_layout() to intelligently map vs outputs to ↵ | Brian | 2008-01-23 | 3 | -27/+60 |
| | | | | | | fs inputs Some follow-on simplification in prim setup is possible... | ||||
* | gallium: restore/rewrite vbuf code for softpipe | Brian | 2008-01-23 | 6 | -405/+197 |
| | | | | | Now based on the draw_vbuf code, instead being a custom one-off. Disabled by default, enable with SP_VBUF env var. | ||||
* | gallium: overhaul usage of vertex_info in draw module. | Brian | 2008-01-23 | 5 | -5/+13 |
| | | | | | | | | Remove all dependencies on vertex_info, except for draw_vbuf. Drawing stages now strictly operate on post-transformed vertices and don't know anything about hw vertices. Use vertex program output info for two-side/flat/etc stages. Temporarily disable vbuf module in softpipe driver. | ||||
* | gallium: remove unneeded protos, #includes, etc | Brian | 2008-01-21 | 1 | -25/+0 |
| | |||||
* | gallium: include sp_headers.h | Brian | 2008-01-21 | 1 | -0/+1 |
| | |||||
* | gallium: move softpipe_get_tex_surface() prototype | Brian | 2008-01-21 | 2 | -9/+5 |
| | |||||
* | gallium: add license comment | Brian | 2008-01-21 | 1 | -0/+27 |
| | |||||
* | gallium: move softpipe_get_tex_surface() into sp_texture.c | Brian | 2008-01-21 | 2 | -38/+36 |
| | |||||
* | gallium: remove per-fragment line stipple code | Brian | 2008-01-21 | 1 | -35/+5 |
| | |||||
* | fix broken point rendering in sp_vbuf_render() | Brian | 2008-01-21 | 1 | -2/+2 |
| | |||||
* | gallium: add a src_index[] array to draw's vertex_info for mapping ↵ | Brian | 2008-01-21 | 1 | -8/+9 |
| | | | | post-xform vertex attribs to hw vertex attribs | ||||
* | Unify copy_rect helpers. | Michel Dänzer | 2008-01-18 | 1 | -51/+12 |
| | | | | Some of the copies were buggy. | ||||
* | Back-port miscellaneous fixes from internal branch (mostly portability fixes). | José Fonseca | 2008-01-17 | 6 | -8/+11 |
| | | | | | | These are changes that are in our internal branch, but somehow were skipped so far. It was done using visual comparison of the branches -- it is likely that changes are being carried on the wrong way | ||||
* | gallium: fix warning | Keith Whitwell | 2008-01-17 | 1 | -0/+1 |
| | |||||
* | Fix broken fog. | Brian | 2008-01-16 | 1 | -7/+11 |
| | | | | | Note that fogcoord and front-facing attribs are in the same register, in the X and Y channels, respectively. | ||||
* | Don't include stdint.h or inttypes. Use the uint64 typedef instead of uint64_t. | Brian | 2008-01-15 | 2 | -4/+4 |
| | |||||
* | disable debug printf | Brian | 2008-01-14 | 1 | -0/+2 |
| | |||||
* | Remove pipe->get/put_tile_rgba. | Michel Dänzer | 2008-01-14 | 2 | -14/+13 |
| | | | | | | | pipe_get/put_tile_rgba() now use pipe->get/put_tile internally. Also simplify the <format>_get/put_tile_rgba() helper functions and clean up some inconsitencies in them. | ||||
* | Remove mapping fields from struct pipe_surface. | Michel Dänzer | 2008-01-14 | 5 | -71/+64 |
| | | | | It's now the responsibility of surface users to keep track of their mappings. | ||||
* | comment about vertex data in emit_vertex() | Brian | 2008-01-10 | 1 | -0/+6 |
| | |||||
* | clean-up comments, code | Brian | 2008-01-10 | 3 | -54/+63 |
| | |||||
* | softpipe: Simplify texture memory layout. | Michel Dänzer | 2008-01-10 | 3 | -346/+30 |
| | |||||
* | softpipe: map only once in softpipe_map_surfaces | Jerome Glisse | 2008-01-10 | 1 | -3/+3 |
| | | | | | | | softpipe_map_surfaces get call several time but softpipe_unmap_surfaces get call only once. So to make sure stuff are properly unmap when softpipe_unmap_surfaces get call we map surfaces only one time in softpipe_map_surfaces. | ||||
* | llvm: we need custom rules so had to redo the build a little bit | Zack Rusin | 2008-01-04 | 1 | -7/+5 |
| | | | | also don't use sse when llvm is enabled | ||||
* | rename vars, clean-up formatting | Brian | 2008-01-03 | 1 | -13/+20 |
| | |||||
* | replace void * with struct draw_vertex_shader opaque type | Brian | 2008-01-03 | 1 | -1/+1 |
| | |||||
* | Clean-up, re-org some vertex/fragment shader state code. | Brian | 2008-01-01 | 4 | -29/+27 |
| | |||||
* | move SP_NEW_ #defines into sp_state.h | Brian | 2008-01-01 | 2 | -16/+21 |
| | |||||
* | fix single-sided stencil test bug | Brian | 2008-01-01 | 1 | -7/+13 |
| | |||||
* | fix leak, fix refcount error | Brian | 2008-01-01 | 1 | -6/+11 |
| |