summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Fix build on Windows.Michal Krol2008-01-261-2/+2
|
* gallium: restructure vertex fetch code slightlyKeith Whitwell2008-01-263-65/+149
|
* gallium: Fix MSVC float/double conversion warning.José Fonseca2008-01-261-1/+1
|
* gallium: Complete integer types.José Fonseca2008-01-261-0/+3
|
* gallium: minor cleanups to pipe interfaceKeith Whitwell2008-01-268-93/+44
| | | | | - Remove put/get tile, just have users call put_tile_raw, etc directly. - Remove surface_data call, just map it locally.
* gallium: add PIPE_FLUSH_SWAPBUFFERS flagKeith Whitwell2008-01-261-0/+1
|
* gallium: add notify_swapbuffers_complete, use it to set surfaces to ↵Keith Whitwell2008-01-262-0/+21
| | | | undefined state
* gallium: specialize glFlush vs other flush semanticsKeith Whitwell2008-01-262-13/+38
|
* gallium: remove makefile whitespaceKeith Whitwell2008-01-261-1/+0
|
* Cell: updates to match pipe_buffer changesBrian2008-01-253-12/+10
|
* Cell: typedefs need semicolons, Ian :)Brian2008-01-251-2/+2
|
* Cell: emit framebuffer state like other stateBrian2008-01-254-131/+32
| | | | Plus misc clean-up. Window resize sometimes works now.
* gallium: replace loop w/ memset in draw_vertex_cache_invalidate()Brian2008-01-251-9/+1
|
* gallium: better flush logic in draw moduleBrian2008-01-257-103/+89
| | | | | | | | | | | | This is the other half of Keith's draw/flush patch. There are now 5 flush flags to control what's flushed (post-xform vertex cache, prim cache, vbuf, etc). The gears slow-down in this part of the patch was due to the cull stage not getting invoked. It was unconditional before, but is now gated by 'need_det'. But it also needs to be gated by draw->rasterizer->cull_mode. Gears uses back-face culling.
* gallium: replace prim pipeline begin/end() functions with flush()Brian2008-01-2519-240/+309
| | | | | | | | | | | | | 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.
* Work around parameter differences for main in different SDK versionsIan Romanick2008-01-251-3/+11
|
* gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ codeKeith Whitwell2008-01-2562-894/+529
| | | | | | | | | | | 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änzer2008-01-2526-456/+228
| | | | | | 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.
* 965: add asserts to catch batch overrunKeith Whitwell2008-01-253-13/+31
|
* 965: cope better with range decls for temps, immediates, etcKeith Whitwell2008-01-251-22/+12
|
* gallium: include p_state.h, replace PIPE_MAX_SHADER_OUTPUTS with ↵Brian2008-01-251-4/+7
| | | | PIPE_MAX_SHADER_INPUTS
* Cell: propogate vertex info to SPUs, use it for attrib interpolationBrian2008-01-257-33/+55
|
* Cell: batch_buffer_size should be uint, not ubyteBrian2008-01-251-1/+1
|
* Cell: new ROUNDUP16() macroBrian2008-01-252-4/+6
|
* gallium: optimizations to flatshade, two-side prim stagesBrian2008-01-252-22/+35
|
* gallium: added rastpos_destroy()Brian2008-01-251-0/+1
|
* Cell: insert dummy field into cell_command_render struct to work around ↵Brian2008-01-241-0/+1
| | | | | | | | | apparent compiler bug Without this dummy field, it seems the SPU code in cmd_render() gets a bogus value when dereferencing render->num_indices, sometimes. This showed up as missing tries in gears.c in the first frame rendered. Using spu-gcc version 4.1.1, Cell SDK 2.1
* Cell: send actual vertex size in the render commandBrian2008-01-244-40/+22
|
* Cell: rewrite compute_vertex_layout()Brian2008-01-241-89/+60
|
* Cell: fix asst. warningsBrian2008-01-245-5/+9
|
* gallium: added rastpos_destroy()Brian2008-01-241-0/+7
|
* i915: add case for TGSI_FILE_IMMEDIATE to avoid error, but still needs ↵Brian2008-01-241-3/+4
| | | | proper handling...
* Cell: use Cell driver by default if linux-cell is builtBrian2008-01-241-2/+2
| | | | To disable the Cell driver and use softpipe instead, export GALLIUM_NOCELL=1
* disable usage of llvm in fragment shadersZack Rusin2008-01-241-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
* change the name of the shaders to reflect what they do.Zack Rusin2008-01-245-96/+12
| | | | remove stale code and do some general cleanups.
* Cell: s/FORMAT/EMIT/Brian2008-01-231-9/+9
|
* gallium: rename FORMAT_x to EMIT_x and use EMIT_ALL to emit whole vertex ↵Brian2008-01-236-66/+63
| | | | as-is in vbuf code
* gallium: improved vertex layout and interpolant setup in softpipeBrian2008-01-235-159/+123
|
* Specify linker instead of letting mklib use gccIan Romanick2008-01-231-0/+3
| | | | | | This is the final bit required to get Cell builds on x86 working. Without this, mklib tries to link using the x86 gcc instead of ppu32-gcc.
* Use HOST_CC for programs that will run on the build hostIan Romanick2008-01-231-1/+1
|
* Cell: remove old test codeBrian2008-01-233-83/+0
|
* Cell: asst. updates to sync up with today's earlier gallium changesBrian2008-01-235-21/+11
|
* gallium: remove support for separate depth/stencil buffers. Always combined ↵Brian2008-01-2314-68/+46
| | | | now.
* gallium: in sp_tile_cache_clear() mark all cache slots as empty/free. Fixes ↵Brian2008-01-231-0/+6
| | | | progs/redbook/stencil.c
* gallium: rework compute_vertex_layout() to intelligently map vs outputs to ↵Brian2008-01-233-27/+60
| | | | | | fs inputs Some follow-on simplification in prim setup is possible...
* gallium: restore/rewrite vbuf code for softpipeBrian2008-01-2310-413/+206
| | | | | 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.Brian2008-01-2320-170/+117
| | | | | | | | 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: s/INTERP_NONE/INTERP_LINEAR/ to fix assertion with ↵Brian2008-01-231-1/+1
| | | | progs/samples/select.c
* gallium: fix computation of raster.point_size_per_vertex flagBrian2008-01-231-1/+14
|
* gallium: multiply vertex point size by 0.5Brian2008-01-231-1/+1
|