aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_screen_surface.c
Commit message (Collapse)AuthorAgeFilesLines
* i965g: add lots of error checks and early returnsKeith Whitwell2009-11-051-5/+2
| | | | | | | | | | | | | | | | | | | 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.
* i965g: plumb in some surface stateKeith Whitwell2009-11-041-1/+14
|
* i965g: initialize surface refcountKeith Whitwell2009-11-041-0/+2
|
* i965g: more files compilingKeith Whitwell2009-11-011-152/+152
|
* i965g: more work on compilation -- surface managementKeith Whitwell2009-11-011-0/+117
|
* i965g: still working on compilationKeith Whitwell2009-10-261-26/+130
|
* i965g: more files compilingKeith Whitwell2009-10-241-2/+2
|
* i965g: wipKeith Whitwell2009-10-231-0/+27