summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_pipe_vertex.c
AgeCommit message (Collapse)Author
2010-03-09gallium: don't use flexible array members in drivers for vertex elements csoRoland Scheidegger
While this c99 feature should work with most compilers, valgrind doesn't really like it, and this only really saves some memory, we don't do this in similar occasions (like the blend state) neither.
2010-03-01i965g: adapt to new vertex element csoRoland Scheidegger
2009-12-22i965g: fix for edgeflag changes (untested)Roland Scheidegger
2009-12-21i965g: keep refcounts to bound vertex buffersKeith Whitwell
2009-11-05i965g: add lots of error checks and early returnsKeith Whitwell
Any allocation that may fail should be checked, and propogate the error upwards. At the highest level we will flush batch and retry. This is an alternate strategy to what the original DRI driver did of attempting to flush batch from the lowest levels (eg inside BEGIN_BATCH). The trouble with that strategy was that flushes could occur at unexpected times, and additionally there was a need for a wierd notification mechanism to propogate the 'lost context' state back up to higher levels. Propogating the errors directly gives us a lot of flexibility how to deal with these states, at the expense of a lot more checking in the code. Will add some sanity checks later to make sure that out-of-memory conditions are properly escalated and not lost halfway up the stack.
2009-11-04i965g: hook up some vertex state funcsKeith Whitwell
2009-11-04i965g: stubs for brw_pipe_vertex.cKeith Whitwell
2009-10-25i965g: more work on compiling, particularly the brw_draw filesKeith Whitwell
2009-10-24i965g: more work on compilingKeith Whitwell