summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_screen_surface.c
AgeCommit message (Collapse)Author
2009-12-21i965g: fixes to build after merge of masterKeith Whitwell
2009-11-29i965g: remove surface from views list before freeingDave Airlie
this fixes a crash with the xorg state tracker, however it then locks up the GPU once rendering is enabled but at least it doesn't crash. Signed-off-by: Dave Airlie <airlied@linux.ie>
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: plumb in some surface stateKeith Whitwell
2009-11-04i965g: initialize surface refcountKeith Whitwell
2009-11-01i965g: more files compilingKeith Whitwell
2009-11-01i965g: more work on compilation -- surface managementKeith Whitwell
2009-10-26i965g: still working on compilationKeith Whitwell
2009-10-24i965g: more files compilingKeith Whitwell
2009-10-23i965g: wipKeith Whitwell