summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe
Commit message (Collapse)AuthorAgeFilesLines
* Fix some draw_arrays issues.Brian2007-08-193-129/+38
| | | | | | We weren't mapping all the needed vertex array buffers. Move array state that was temporarily in draw_context to softpipe_context. Remove a bunch of dead code.
* more work on vertex shaders, now using vertex shaders instead of TnL module ↵Brian2007-08-182-7/+59
| | | | by default
* pack output vertex attributes in sequential slotsBrian2007-08-171-6/+16
|
* write outputs according to vs.outputs_writtenBrian2007-08-171-4/+13
|
* load machine.Inputs based on vs.inputs_readBrian2007-08-171-26/+15
|
* added pipe ptr to draw_contextBrian2007-08-171-8/+2
|
* compute clipmaskBrian2007-08-171-16/+51
|
* shade four vertices at a timeBrian2007-08-171-79/+92
|
* assertionsBrian2007-08-172-1/+10
|
* Break mesa dependencies.michal2007-08-161-6/+66
| | | | Silence compiler warnings.
* Silence compiler warnings.michal2007-08-161-55/+63
|
* Break mesa dependencies.michal2007-08-161-3/+1
| | | | Silence compiler warnings.
* Remove many dependencies on mesa headers.Brian2007-08-162-0/+10
| | | | To build with mesa, need -DMESA in makefile/config file.
* misc changes to support vertex shaders (disabled by default)Brian2007-08-161-0/+1
|
* run real vertex shaders, a total hack for nowBrian2007-08-161-0/+163
|
* Begin added vertex shader state/support.Brian2007-08-163-8/+15
| | | | | Renamed pipe_fs_state to pipe_shader_state since it can be used for both vertex and fragment shader info.
* Drawing code refactoring.Brian2007-08-161-441/+24
| | | | | Move code duplicated between draw_vb.c and sp_draw_arrays.c into draw_prim.c draw_vb.c will eventually go away, but this seems like a good step anyway.
* Silence warnings.michal2007-08-161-2/+2
|
* Silence warnings.michal2007-08-161-6/+6
|
* Silence warnings.michal2007-08-161-7/+6
|
* Silence warnings.michal2007-08-161-5/+5
|
* Remove mesa include directories, be stricter about include paths.Keith Whitwell2007-08-153-6/+0
|
* added PIPE_PRIM_x tokens (matching GL), use in a few placesBrian2007-08-151-45/+45
|
* Hook in new draw_arrays() code, disabled for now.Brian2007-08-154-6/+36
|
* softpipe_draw_arrays() functionBrian2007-08-151-0/+663
| | | | | | | Also includes: Temporary stand-in for vertex program execution. draw_prim() code post-transform vertex cache
* Add UsageMask to DECLARATION in TGSI.michal2007-08-154-167/+32
| | | | | Interpolate FS attributes in the shader. Do not copy WPOS in FS.
* Cleanup, do not use fp_attr_to_slot[] mapping array.michal2007-08-151-99/+52
|
* added state funcs for vertex buffer/element infoBrian2007-08-153-0/+12
|
* softpipe vertex element/buffer state funcsBrian2007-08-151-0/+56
|
* Merge branch 'softpipe_0_1_branch' of ↵Brian2007-08-1430-552/+454
|\ | | | | | | git+ssh://[email protected]/git/mesa/mesa into softpipe_0_1_branch
| * Continue reducing dependencies on core mesa include files.Keith Whitwell2007-08-1430-552/+454
| | | | | | | | Mainly down to the support for legacy TNL processing now.
* | fix typoBrian2007-08-141-1/+1
|/
* minor hack to allow 1D textures to workBrian2007-08-141-1/+2
|
* refactor some code - cube map textures work nowBrian2007-08-141-49/+73
|
* Implement texture cache with multiple, direct-mapped entries.Brian2007-08-142-37/+57
|
* Consolidate filter and mipmap level selection in choose_mipmap_levels().Brian2007-08-141-118/+75
|
* Implement remaining mipmap modes for 2D textures.Brian2007-08-142-23/+107
| | | | Also, add lodbias param to get_samples()
* tgsi_sampler->get_samples() now operates on a quad (returns 4 colors).Brian2007-08-143-149/+265
| | | | Lambda/level-of-detail is also computed in get_samples() now.
* map stencil buffer tooBrian2007-08-131-0/+12
|
* added assertion to check that texture width is non-zeroBrian2007-08-131-0/+2
|
* Start breaking the #include dependencies between pipe drivers and mesa.Keith Whitwell2007-08-134-13/+16
| | | | | | | | | | Pipe drivers shouldn't really know much about mesa and certainly shouldn't be #including files from src/mesa/main and the like. I've also (in i915simple especially) moved over from GL types to more conventional int/unsigned usage. This probably isn't really the ultimate desired set of types to use - possibly C99 would be better. It may even be that a subset of the GL types is preferable.
* check if we have a zbuf before enabling depth_test stageBrian2007-08-131-1/+2
|
* mt->pitch must be at least 16 because of 64-byte alignment in sp_region.c ↵Brian2007-08-111-0/+6
| | | | (fix that someday)
* do clipping in get_tile()Brian2007-08-111-6/+14
|
* fix invalid usage of buffer_unreference()Brian2007-08-111-1/+1
| | | | | | | Need to pass the address of the buffer ptr, not the buffer ptr. Before, the region->buffer type was void * so it wasn't effectively type-checked. Changing the type to pipe_buffer_object* allows the compiler to detect the error. Fixing this solves a segfault.
* Move string functions to state_tracker, add queries to pipe, winsys.Keith Whitwell2007-08-101-0/+12
|
* use winsys supported_formats() querykeithw2007-08-101-0/+5
|
* added pipe->max_texture_size() query, use it in st_drawpixels()Brian2007-08-101-0/+32
|
* Lift common winsys functions into pipe's new p_winsys.Keith Whitwell2007-08-108-265/+24
|
* alignment/pitch/width clean-upsBrian2007-08-101-6/+17
|