summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-01-15Remove unused index buffer.Keith Whitwell
2007-01-15Don't special-case FOG attribute initialization.Keith Whitwell
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 Whitwell
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.keithw
2007-01-15Split too-large draw commands.Keith Whitwell
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 Whitwell
This isn't required with the changes to core mesa and the new attribute layout.
2007-01-15Hook in split functionalitykeithw
2007-01-15Add vbo_split fileskeithw
2007-01-15New files to manage splitting drawing commandskeithw
2006-11-20Don't perform dangling attribute check on POS attribute. It can't byKeith Whitwell
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 Whitwell
Add missing code for translating non-GLuint elements.
2006-11-03need to call bind_arrays() in vbo_exec_DrawRangeElements.Roland Scheidegger
2006-11-03remove remaining traces of r200FlushVertices...Roland Scheidegger
2006-11-02Move r300 to new fbo interface based on Keith Whithwell.Jerome Glisse
Tested with progs/redbook/varray.
2006-11-02Fix type-conversion of incoming vertices.Keith Whitwell
Fix mis-application of increment to pointer variable.
2006-11-02Fix typo in last commitKeith Whitwell
2006-11-02Similarly, fill in missing input slots in the vertex-array +Keith Whitwell
NV_vertex_program path.
2006-11-02Fill in missing input slots in the vertex-array + no-vertex-programKeith Whitwell
path.
2006-11-02merge current trunk into vbo branchAlan Hourihane
2006-11-02Fix typo in display list attrib binding.Keith Whitwell
2006-11-02Respect array->Normalized flag.Keith Whitwell
Import edgeflag attribute to array of GLbooleans as expected by downstream code.
2006-11-02missing fileKeith Whitwell
2006-10-31switch remaining drivers over to vboKeith Whitwell
2006-10-31disable vtxfmt_a code, switch over to vboKeith Whitwell
2006-10-31remove vtxfmt code, switch over to vboKeith Whitwell
2006-10-31pickup structs from vbo.hKeith Whitwell
2006-10-31move public structure definitions to vbo.hKeith Whitwell
2006-10-31cleanup code, compiles with vbo changesKeith Whitwell
2006-10-30oops, get.c is autogeneratedKeith Whitwell
2006-10-30Move edgeflag into the VERT_ATTRIB_SEVEN slot. This means that ourKeith Whitwell
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 Whitwell
time.
2006-10-30switch several dri drivers overKeith Whitwell
2006-10-30better handling of current attributes. Trivial dlist and varray tests workKeith Whitwell
2006-10-30checkpoint - remove dead files, otherwise untestedKeith Whitwell
2006-10-29Fix compiler warningKeith Whitwell
2006-10-29switch over to vbo moduleKeith Whitwell
2006-10-29remove this moduleKeith Whitwell
2006-10-29Changes for new vbo-building module.Keith Whitwell
- 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 Whitwell
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 Paul
More DEBUG_FRAG code.
2006-10-28special case END in _mesa_print_instruction()Brian Paul
2006-10-28Implement _mesa_append_fog_code() for fragment program fog options.Brian Paul
2006-10-26If DEBUG, check that all array indices really do fall in [start,end] inBrian Paul
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 Scheidegger
and instead use _mesa_insert_mvp_code().
2006-10-25Previously, if a fragment program referenced fragment.fogcoord but theBrian Paul
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 Scheidegger
for fog in vertex programs.
2006-10-24fix (per-vertex) fog when using ARB_vp by incorporating fog factor ↵Roland Scheidegger
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-24s/GLchan/GLubyte/Brian Paul
2006-10-24whitespace clean-upBrian Paul
2006-10-23Emit cliprects in the userspace driver as required, rather thanKeith Whitwell
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.