aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused index buffer.Keith Whitwell2007-01-152-10/+1
|
* Don't special-case FOG attribute initialization.Keith Whitwell2007-01-151-1/+0
| | | | | Initial fog value was being set to {0,0,0,0}. This results in vector size 4, but isn't necessary. The regular {0,0,0,1} works fine.
* Correctly initialize current attribute sizes.Keith Whitwell2007-01-151-2/+9
| | | | | Some legacy attributes (eg color) have an initial value other than {0,0,0,1} which means that their initial size != 1 either.
* Remove debug, reenable inplace splitting.keithw2007-01-154-25/+12
|
* Split too-large draw commands.Keith Whitwell2007-01-151-26/+102
| | | | | Use the vbo_split_ functionality to split incoming drawing command to fit within the fixed-size buffers used by software t&l module.
* Remove special-case handling for index and edgeflagKeith Whitwell2007-01-155-181/+24
| | | | | This isn't required with the changes to core mesa and the new attribute layout.
* Hook in split functionalitykeithw2007-01-152-7/+37
|
* Add vbo_split fileskeithw2007-01-151-0/+3
|
* New files to manage splitting drawing commandskeithw2007-01-154-0/+1083
|
* Don't perform dangling attribute check on POS attribute. It can't byKeith Whitwell2006-11-201-1/+1
| | | | | | definition dangle (every vertex has a position). However save->currentsz isn't properly maintained for this attribute, as there is no current position value to track. Based on patch from Haihao Xiang.
* Fix compiler warnings.Keith Whitwell2006-11-031-15/+29
| | | | Add missing code for translating non-GLuint elements.
* need to call bind_arrays() in vbo_exec_DrawRangeElements.Roland Scheidegger2006-11-031-1/+3
|
* remove remaining traces of r200FlushVertices...Roland Scheidegger2006-11-032-2/+0
|
* Move r300 to new fbo interface based on Keith Whithwell.Jerome Glisse2006-11-021-218/+86
| | | | Tested with progs/redbook/varray.
* Fix type-conversion of incoming vertices.Keith Whitwell2006-11-021-4/+5
| | | | Fix mis-application of increment to pointer variable.
* Fix typo in last commitKeith Whitwell2006-11-021-1/+1
|
* Similarly, fill in missing input slots in the vertex-array +Keith Whitwell2006-11-021-0/+7
| | | | NV_vertex_program path.
* Fill in missing input slots in the vertex-array + no-vertex-programKeith Whitwell2006-11-021-1/+10
| | | | path.
* merge current trunk into vbo branchAlan Hourihane2006-11-02176-1424/+28706
|
* Fix typo in display list attrib binding.Keith Whitwell2006-11-021-1/+1
|
* Respect array->Normalized flag.Keith Whitwell2006-11-021-15/+55
| | | | | Import edgeflag attribute to array of GLbooleans as expected by downstream code.
* missing fileKeith Whitwell2006-11-021-0/+305
|
* switch remaining drivers over to vboKeith Whitwell2006-10-3129-68/+68
|
* disable vtxfmt_a code, switch over to vboKeith Whitwell2006-10-315-13/+14
|
* remove vtxfmt code, switch over to vboKeith Whitwell2006-10-3126-6923/+21
|
* pickup structs from vbo.hKeith Whitwell2006-10-312-2/+2
|
* move public structure definitions to vbo.hKeith Whitwell2006-10-315-25/+31
|
* cleanup code, compiles with vbo changesKeith Whitwell2006-10-3115-612/+98
|
* oops, get.c is autogeneratedKeith Whitwell2006-10-302-4/+4
|
* Move edgeflag into the VERT_ATTRIB_SEVEN slot. This means that ourKeith Whitwell2006-10-3012-102/+107
| | | | | | | NV_vertex_program implementation has slightly incorrect aliasing behaviour. I think this is reasonable given the simplification and the fact that the mainstream ARB_vp continues to have the correct behaviour.
* Remove wakeup functions. This code is intended to be active all theKeith Whitwell2006-10-305-46/+19
| | | | time.
* switch several dri drivers overKeith Whitwell2006-10-3012-22/+62
|
* better handling of current attributes. Trivial dlist and varray tests workKeith Whitwell2006-10-3013-173/+235
|
* checkpoint - remove dead files, otherwise untestedKeith Whitwell2006-10-3020-4114/+42
|
* Fix compiler warningKeith Whitwell2006-10-291-1/+1
|
* switch over to vbo moduleKeith Whitwell2006-10-293-9/+6
|
* remove this moduleKeith Whitwell2006-10-296-1568/+0
|
* Changes for new vbo-building module.Keith Whitwell2006-10-2921-6893/+78
| | | | | | | | | | - Removed all the old immediate, array and display list code. - Remove references to the old array_cache module. - Added a _tnl_draw_prims() entrypoint. - Added a simplified data import facility for converting non-floating point data as required. Checkpoint commit - trivial/tri works.
* Checkpoint of new vbo-building code. Currently builds regular arraysKeith Whitwell2006-10-2915-0/+4705
| | | | | rather than VBO's - VBOs are easy but need to look closer at the driver interface. The trivial/tri demo works.
* Added PROGRAM_CONSTANT to get_register_pointer().Brian Paul2006-10-281-0/+15
| | | | More DEBUG_FRAG code.
* special case END in _mesa_print_instruction()Brian Paul2006-10-281-0/+3
|
* Implement _mesa_append_fog_code() for fragment program fog options.Brian Paul2006-10-282-19/+178
|
* If DEBUG, check that all array indices really do fall in [start,end] inBrian Paul2006-10-261-1/+19
| | | | the DrawRangeElements() call. Warn the user if that's not true.
* remove code for inserting mvp transform into position-invariant vertex progs ↵Roland Scheidegger2006-10-261-96/+7
| | | | and instead use _mesa_insert_mvp_code().
* Previously, if a fragment program referenced fragment.fogcoord but theBrian Paul2006-10-251-2/+3
| | | | | program didn't use the ARB_fog_linear option, the fragment program's fragment.fogcoord register wasn't loaded properly.
* change some bogus comments regarding the base e exponential function used ↵Roland Scheidegger2006-10-252-7/+6
| | | | for fog in vertex programs.
* fix (per-vertex) fog when using ARB_vp by incorporating fog factor ↵Roland Scheidegger2006-10-246-67/+153
| | | | computation into the vertex program (not yet fixed for swtnl). Simplify (and correct) the VTX_TCL_OUTPUT_VTXFMT handling when using vertex programs, turns out it's solely driven by the needs of the past-vertex stage of the pipeline, this should fix lockups with ill-specified applications using vertex programs (for instance applications enabling fog but not writing to fog coord output will now get (conformant) undefined results instead of lockups).
* s/GLchan/GLubyte/Brian Paul2006-10-241-4/+4
|
* whitespace clean-upBrian Paul2006-10-242-4/+4
|
* Emit cliprects in the userspace driver as required, rather thanKeith Whitwell2006-10-2310-66/+81
| | | | | | | | passing them to the kernel. This works because all drawing commands in the 965 driver are emitted with the lock held and the batchbuffer is always flushed prior to releasing the lock. This allows multiple cliprects to be dealt with, without replaying entire batchbuffers and redundantly re-emitting state.