summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe
AgeCommit message (Collapse)Author
2008-01-26gallium: Fix build on Windows.Michal Krol
2008-01-26gallium: minor cleanups to pipe interfaceKeith Whitwell
- Remove put/get tile, just have users call put_tile_raw, etc directly. - Remove surface_data call, just map it locally.
2008-01-25gallium: replace prim pipeline begin/end() functions with flush()Brian
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.
2008-01-25gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ codeKeith Whitwell
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.
2008-01-25gallium: Simplify winsys buffer interface.Michel Dänzer
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.
2008-01-24disable usage of llvm in fragment shadersZack Rusin
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
2008-01-23gallium: rename FORMAT_x to EMIT_x and use EMIT_ALL to emit whole vertex ↵Brian
as-is in vbuf code
2008-01-23gallium: improved vertex layout and interpolant setup in softpipeBrian
2008-01-23gallium: remove support for separate depth/stencil buffers. Always combined ↵Brian
now.
2008-01-23gallium: in sp_tile_cache_clear() mark all cache slots as empty/free. Fixes ↵Brian
progs/redbook/stencil.c
2008-01-23gallium: rework compute_vertex_layout() to intelligently map vs outputs to ↵Brian
fs inputs Some follow-on simplification in prim setup is possible...
2008-01-23gallium: restore/rewrite vbuf code for softpipeBrian
Now based on the draw_vbuf code, instead being a custom one-off. Disabled by default, enable with SP_VBUF env var.
2008-01-23gallium: overhaul usage of vertex_info in draw module.Brian
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.
2008-01-21gallium: remove unneeded protos, #includes, etcBrian
2008-01-21gallium: include sp_headers.hBrian
2008-01-21gallium: move softpipe_get_tex_surface() prototypeBrian
2008-01-21gallium: add license commentBrian
2008-01-21gallium: move softpipe_get_tex_surface() into sp_texture.cBrian
2008-01-21gallium: remove per-fragment line stipple codeBrian
2008-01-21fix broken point rendering in sp_vbuf_render()Brian
2008-01-21gallium: add a src_index[] array to draw's vertex_info for mapping ↵Brian
post-xform vertex attribs to hw vertex attribs
2008-01-18Unify copy_rect helpers.Michel Dänzer
Some of the copies were buggy.
2008-01-17Back-port miscellaneous fixes from internal branch (mostly portability fixes).José Fonseca
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
2008-01-17gallium: fix warningKeith Whitwell
2008-01-16Fix broken fog.Brian
Note that fogcoord and front-facing attribs are in the same register, in the X and Y channels, respectively.
2008-01-15Don't include stdint.h or inttypes. Use the uint64 typedef instead of uint64_t.Brian
2008-01-14disable debug printfBrian
2008-01-14Remove pipe->get/put_tile_rgba.Michel Dänzer
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.
2008-01-14Remove mapping fields from struct pipe_surface.Michel Dänzer
It's now the responsibility of surface users to keep track of their mappings.
2008-01-10comment about vertex data in emit_vertex()Brian
2008-01-10clean-up comments, codeBrian
2008-01-10softpipe: Simplify texture memory layout.Michel Dänzer
2008-01-10softpipe: map only once in softpipe_map_surfacesJerome Glisse
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.
2008-01-04llvm: we need custom rules so had to redo the build a little bitZack Rusin
also don't use sse when llvm is enabled
2008-01-03rename vars, clean-up formattingBrian
2008-01-03replace void * with struct draw_vertex_shader opaque typeBrian
2008-01-01Clean-up, re-org some vertex/fragment shader state code.Brian
2008-01-01move SP_NEW_ #defines into sp_state.hBrian
2008-01-01fix single-sided stencil test bugBrian
2008-01-01fix leak, fix refcount errorBrian
2008-01-01unref const buffers during context destroyBrian
2008-01-01free surface caches in softpipe_destroy()Brian
2008-01-01free tgsi machine stateBrian
2007-12-18setup the frontface register (fog.y, ATM)Brian
2007-12-18fix some semantic info mix-ups in calculate_vertex_layout()Brian
2007-12-17obsoleteBrian
2007-12-17gallium: incorporate alpha state into depth_stencil state object.Keith Whitwell
2007-12-16switch on cpp instead of formatBrian
2007-12-15Use tile functions in new p_tile.[ch]Brian
This removes quite a bit of code duplicated in the drivers.
2007-12-15don't allocate scratch tile in sp_tile_cache_flush_clear() to avoid stack ↵Brian
overflow