summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_state_cache.c
AgeCommit message (Collapse)Author
2010-02-21i965g: Fix memory leak.Vinson Lee
2010-01-27i965g: Remove unnecessary headers.Vinson Lee
2009-11-05i965g: pass relocation information in an array with bo_subdataKeith Whitwell
Makes it easier to dump as we get all of the information about the upload in a single hit. Opens the window to simplification in the driver if these relocation arrays can be maintained statically rather than being recreated whenever we check for a new upload. Still needs some cleanup to avoid uglyness introduced with the delta values.
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: add data type tags to aid dumping/decodingKeith Whitwell
2009-11-04i965g: initialize winsys pointer in surface cacheKeith Whitwell
2009-11-04i965g: add standalone xlib debug winsysKeith Whitwell
Create a dummy winsys that just debug-prints on calls into the winsys functions. Will use this to get to the point where we are generating sane-looking debug dumps and diassembly. Also fix various warnings generated with the new compiler flags set in this config.
2009-11-01i965g: more work on compilation -- surface managementKeith Whitwell
2009-10-26i965g: still working on compilationKeith Whitwell
2009-10-24i965g: more work on compilingKeith Whitwell
2009-10-24i965g: more files compilingKeith Whitwell
2009-10-23i965g: wip on removing GL stuff, trying to get a few files compilingKeith Whitwell
2009-10-23i965g: re-starting from the dri driverKeith Whitwell