summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-01-15Remove unused index buffer.vbo_0_1_branchKeith Whitwell2-10/+1
2007-01-15Don't special-case FOG attribute initialization.Keith Whitwell1-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.
2007-01-15Correctly initialize current attribute sizes.Keith Whitwell1-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.
2007-01-15Remove debug, reenable inplace splitting.keithw4-25/+12
2007-01-15Split too-large draw commands.Keith Whitwell1-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.
2007-01-15Remove special-case handling for index and edgeflagKeith Whitwell5-181/+24
This isn't required with the changes to core mesa and the new attribute layout.
2007-01-15Hook in split functionalitykeithw2-7/+37
2007-01-15Add vbo_split fileskeithw1-0/+3
2007-01-15New files to manage splitting drawing commandskeithw4-0/+1083
2006-11-20Don't perform dangling attribute check on POS attribute. It can't byKeith Whitwell1-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.
2006-11-03Fix compiler warnings.Keith Whitwell1-15/+29
Add missing code for translating non-GLuint elements.
2006-11-03need to call bind_arrays() in vbo_exec_DrawRangeElements.Roland Scheidegger1-1/+3
2006-11-03remove remaining traces of r200FlushVertices...Roland Scheidegger2-2/+0
2006-11-02Move r300 to new fbo interface based on Keith Whithwell.Jerome Glisse1-218/+86
Tested with progs/redbook/varray.
2006-11-02Fix type-conversion of incoming vertices.Keith Whitwell1-4/+5
Fix mis-application of increment to pointer variable.
2006-11-02Fix typo in last commitKeith Whitwell1-1/+1
2006-11-02Similarly, fill in missing input slots in the vertex-array +Keith Whitwell1-0/+7
NV_vertex_program path.
2006-11-02Fill in missing input slots in the vertex-array + no-vertex-programKeith Whitwell1-1/+10
path.
2006-11-02merge current trunk into vbo branchAlan Hourihane183-1452/+29322
2006-11-02Fix typo in display list attrib binding.Keith Whitwell1-1/+1
2006-11-02Respect array->Normalized flag.Keith Whitwell1-15/+55
Import edgeflag attribute to array of GLbooleans as expected by downstream code.
2006-11-02missing fileKeith Whitwell1-0/+305
2006-10-31switch remaining drivers over to vboKeith Whitwell29-68/+68
2006-10-31disable vtxfmt_a code, switch over to vboKeith Whitwell5-13/+14
2006-10-31remove vtxfmt code, switch over to vboKeith Whitwell26-6923/+21
2006-10-31pickup structs from vbo.hKeith Whitwell2-2/+2
2006-10-31move public structure definitions to vbo.hKeith Whitwell5-25/+31
2006-10-31cleanup code, compiles with vbo changesKeith Whitwell15-612/+98
2006-10-30oops, get.c is autogeneratedKeith Whitwell2-4/+4
2006-10-30Move edgeflag into the VERT_ATTRIB_SEVEN slot. This means that ourKeith Whitwell12-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.
2006-10-30Remove wakeup functions. This code is intended to be active all theKeith Whitwell5-46/+19
time.
2006-10-30switch several dri drivers overKeith Whitwell12-22/+62
2006-10-30better handling of current attributes. Trivial dlist and varray tests workKeith Whitwell13-173/+235
2006-10-30checkpoint - remove dead files, otherwise untestedKeith Whitwell20-4114/+42
2006-10-29Fix compiler warningKeith Whitwell1-1/+1
2006-10-29switch over to vbo moduleKeith Whitwell3-9/+6
2006-10-29remove this moduleKeith Whitwell6-1568/+0
2006-10-29Changes for new vbo-building module.Keith Whitwell21-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.
2006-10-29Checkpoint of new vbo-building code. Currently builds regular arraysKeith Whitwell15-0/+4705
rather than VBO's - VBOs are easy but need to look closer at the driver interface. The trivial/tri demo works.
2006-10-28Added PROGRAM_CONSTANT to get_register_pointer().Brian Paul1-0/+15
More DEBUG_FRAG code.
2006-10-28special case END in _mesa_print_instruction()Brian Paul1-0/+3
2006-10-28Implement _mesa_append_fog_code() for fragment program fog options.Brian Paul2-19/+178
2006-10-26If DEBUG, check that all array indices really do fall in [start,end] inBrian Paul1-1/+19
the DrawRangeElements() call. Warn the user if that's not true.
2006-10-26remove code for inserting mvp transform into position-invariant vertex progs ↵Roland Scheidegger1-96/+7
and instead use _mesa_insert_mvp_code().
2006-10-25Previously, if a fragment program referenced fragment.fogcoord but theBrian Paul1-2/+3
program didn't use the ARB_fog_linear option, the fragment program's fragment.fogcoord register wasn't loaded properly.
2006-10-25change some bogus comments regarding the base e exponential function used ↵Roland Scheidegger2-7/+6
for fog in vertex programs.
2006-10-24fix (per-vertex) fog when using ARB_vp by incorporating fog factor ↵Roland Scheidegger6-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).
2006-10-24Add missing call to glutInit.Ian Romanick1-0/+1
2006-10-24s/GLchan/GLubyte/Brian Paul1-4/+4
2006-10-24whitespace clean-upBrian Paul2-4/+4