Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix some draw_arrays issues. | Brian | 2007-08-19 | 3 | -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 ↵ | Brian | 2007-08-18 | 2 | -7/+59 |
| | | | | by default | ||||
* | pack output vertex attributes in sequential slots | Brian | 2007-08-17 | 1 | -6/+16 |
| | |||||
* | write outputs according to vs.outputs_written | Brian | 2007-08-17 | 1 | -4/+13 |
| | |||||
* | load machine.Inputs based on vs.inputs_read | Brian | 2007-08-17 | 1 | -26/+15 |
| | |||||
* | added pipe ptr to draw_context | Brian | 2007-08-17 | 1 | -8/+2 |
| | |||||
* | compute clipmask | Brian | 2007-08-17 | 1 | -16/+51 |
| | |||||
* | shade four vertices at a time | Brian | 2007-08-17 | 1 | -79/+92 |
| | |||||
* | assertions | Brian | 2007-08-17 | 2 | -1/+10 |
| | |||||
* | Break mesa dependencies. | michal | 2007-08-16 | 1 | -6/+66 |
| | | | | Silence compiler warnings. | ||||
* | Silence compiler warnings. | michal | 2007-08-16 | 1 | -55/+63 |
| | |||||
* | Break mesa dependencies. | michal | 2007-08-16 | 1 | -3/+1 |
| | | | | Silence compiler warnings. | ||||
* | Remove many dependencies on mesa headers. | Brian | 2007-08-16 | 2 | -0/+10 |
| | | | | To build with mesa, need -DMESA in makefile/config file. | ||||
* | misc changes to support vertex shaders (disabled by default) | Brian | 2007-08-16 | 1 | -0/+1 |
| | |||||
* | run real vertex shaders, a total hack for now | Brian | 2007-08-16 | 1 | -0/+163 |
| | |||||
* | Begin added vertex shader state/support. | Brian | 2007-08-16 | 3 | -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. | Brian | 2007-08-16 | 1 | -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. | michal | 2007-08-16 | 1 | -2/+2 |
| | |||||
* | Silence warnings. | michal | 2007-08-16 | 1 | -6/+6 |
| | |||||
* | Silence warnings. | michal | 2007-08-16 | 1 | -7/+6 |
| | |||||
* | Silence warnings. | michal | 2007-08-16 | 1 | -5/+5 |
| | |||||
* | Remove mesa include directories, be stricter about include paths. | Keith Whitwell | 2007-08-15 | 3 | -6/+0 |
| | |||||
* | added PIPE_PRIM_x tokens (matching GL), use in a few places | Brian | 2007-08-15 | 1 | -45/+45 |
| | |||||
* | Hook in new draw_arrays() code, disabled for now. | Brian | 2007-08-15 | 4 | -6/+36 |
| | |||||
* | softpipe_draw_arrays() function | Brian | 2007-08-15 | 1 | -0/+663 |
| | | | | | | | Also includes: Temporary stand-in for vertex program execution. draw_prim() code post-transform vertex cache | ||||
* | Add UsageMask to DECLARATION in TGSI. | michal | 2007-08-15 | 4 | -167/+32 |
| | | | | | Interpolate FS attributes in the shader. Do not copy WPOS in FS. | ||||
* | Cleanup, do not use fp_attr_to_slot[] mapping array. | michal | 2007-08-15 | 1 | -99/+52 |
| | |||||
* | added state funcs for vertex buffer/element info | Brian | 2007-08-15 | 3 | -0/+12 |
| | |||||
* | softpipe vertex element/buffer state funcs | Brian | 2007-08-15 | 1 | -0/+56 |
| | |||||
* | Merge branch 'softpipe_0_1_branch' of ↵ | Brian | 2007-08-14 | 30 | -552/+454 |
|\ | | | | | | | git+ssh://[email protected]/git/mesa/mesa into softpipe_0_1_branch | ||||
| * | Continue reducing dependencies on core mesa include files. | Keith Whitwell | 2007-08-14 | 30 | -552/+454 |
| | | | | | | | | Mainly down to the support for legacy TNL processing now. | ||||
* | | fix typo | Brian | 2007-08-14 | 1 | -1/+1 |
|/ | |||||
* | minor hack to allow 1D textures to work | Brian | 2007-08-14 | 1 | -1/+2 |
| | |||||
* | refactor some code - cube map textures work now | Brian | 2007-08-14 | 1 | -49/+73 |
| | |||||
* | Implement texture cache with multiple, direct-mapped entries. | Brian | 2007-08-14 | 2 | -37/+57 |
| | |||||
* | Consolidate filter and mipmap level selection in choose_mipmap_levels(). | Brian | 2007-08-14 | 1 | -118/+75 |
| | |||||
* | Implement remaining mipmap modes for 2D textures. | Brian | 2007-08-14 | 2 | -23/+107 |
| | | | | Also, add lodbias param to get_samples() | ||||
* | tgsi_sampler->get_samples() now operates on a quad (returns 4 colors). | Brian | 2007-08-14 | 3 | -149/+265 |
| | | | | Lambda/level-of-detail is also computed in get_samples() now. | ||||
* | map stencil buffer too | Brian | 2007-08-13 | 1 | -0/+12 |
| | |||||
* | added assertion to check that texture width is non-zero | Brian | 2007-08-13 | 1 | -0/+2 |
| | |||||
* | Start breaking the #include dependencies between pipe drivers and mesa. | Keith Whitwell | 2007-08-13 | 4 | -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 stage | Brian | 2007-08-13 | 1 | -1/+2 |
| | |||||
* | mt->pitch must be at least 16 because of 64-byte alignment in sp_region.c ↵ | Brian | 2007-08-11 | 1 | -0/+6 |
| | | | | (fix that someday) | ||||
* | do clipping in get_tile() | Brian | 2007-08-11 | 1 | -6/+14 |
| | |||||
* | fix invalid usage of buffer_unreference() | Brian | 2007-08-11 | 1 | -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 Whitwell | 2007-08-10 | 1 | -0/+12 |
| | |||||
* | use winsys supported_formats() query | keithw | 2007-08-10 | 1 | -0/+5 |
| | |||||
* | added pipe->max_texture_size() query, use it in st_drawpixels() | Brian | 2007-08-10 | 1 | -0/+32 |
| | |||||
* | Lift common winsys functions into pipe's new p_winsys. | Keith Whitwell | 2007-08-10 | 8 | -265/+24 |
| | |||||
* | alignment/pitch/width clean-ups | Brian | 2007-08-10 | 1 | -6/+17 |
| |