Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i965g: pass relocation information in an array with bo_subdata | Keith Whitwell | 2009-11-05 | 1 | -39/+42 |
| | | | | | | | | | | | | 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. | ||||
* | i965g: add lots of error checks and early returns | Keith Whitwell | 2009-11-05 | 1 | -54/+61 |
| | | | | | | | | | | | | | | | | | | | 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: add data type tags to aid dumping/decoding | Keith Whitwell | 2009-11-05 | 1 | -11/+12 |
| | |||||
* | i965g: initialize winsys pointer in surface cache | Keith Whitwell | 2009-11-04 | 1 | -0/+1 |
| | |||||
* | i965g: add standalone xlib debug winsys | Keith Whitwell | 2009-11-04 | 1 | -3/+3 |
| | | | | | | | | | 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. | ||||
* | i965g: more work on compilation -- surface management | Keith Whitwell | 2009-11-01 | 1 | -1/+2 |
| | |||||
* | i965g: still working on compilation | Keith Whitwell | 2009-10-26 | 1 | -28/+36 |
| | |||||
* | i965g: more work on compiling | Keith Whitwell | 2009-10-24 | 1 | -2/+2 |
| | |||||
* | i965g: more files compiling | Keith Whitwell | 2009-10-24 | 1 | -1/+1 |
| | |||||
* | i965g: wip on removing GL stuff, trying to get a few files compiling | Keith Whitwell | 2009-10-23 | 1 | -30/+29 |
| | |||||
* | i965g: re-starting from the dri driver | Keith Whitwell | 2009-10-23 | 1 | -0/+597 |