summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_batchbuffer.h
AgeCommit message (Collapse)Author
2010-01-20gallium/i965: Make brw_batchbuffer prototypes match in source & headerAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-05i965g: propogate map-buffer-range semantics down to winsysKeith 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-05i965g: use pipe_error return value for brw_batchbuffer_require_spaceKeith Whitwell
trivial/tri runs without crashing (on debug winsys) but still produces obviously incorrect command buffers.
2009-11-04i965g: consolidate some includesKeith Whitwell
2009-11-04i965g: pull in a copy of intel_decode.c for nowKeith Whitwell
With the stubbed out, non-hardware xlib winsys, trivial/clear runs and prints a plausible command stream
2009-11-04i965g: fix up batchbuffer confusionKeith Whitwell
2009-11-04i965g: hook up pipe_clear functionsKeith Whitwell
2009-11-04i965g: hook up more pipe_context functionsKeith Whitwell
2009-11-04i965g: convert read/write domain pairs into single usage valueKeith Whitwell
Easier to understand what's going on in the driver sources, convert stereotype usage values back to GEM read/write domain flags in the winsys.
2009-11-01i965g: the whole drivers/i965 directory is compilingKeith Whitwell
That was a lot more work than I expected. Still the winsys to go, then the small matter of making it work and re-enabling the missing functionality.
2009-10-25i965g: more work on compiling, particularly the brw_draw filesKeith Whitwell
2009-10-24i965g: more work on compilingKeith Whitwell
2009-10-24i965g: more files compilingKeith Whitwell