aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_cc.c
Commit message (Collapse)AuthorAgeFilesLines
* i965g: adapt to stencil ref changesRoland Scheidegger2010-02-111-3/+22
| | | | while there also potentially fix logic ops (were never enabled before)
* i965g: Remove unnecessary headers.Vinson Lee2010-01-271-1/+0
|
* i965g: get rid of cc key, simplify state uploadKeith Whitwell2009-11-061-124/+31
| | | | | Keep a valid reloc table active between uploads, avoid recalculating it every time.
* i965g: fix some reloc countsKeith Whitwell2009-11-061-1/+1
|
* i965g: pass relocation information in an array with bo_subdataKeith Whitwell2009-11-051-14/+13
| | | | | | | | | | | | 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: make the winsys responsible for all buffer->offset handlingKeith Whitwell2009-11-051-1/+1
| | | | | | | | | | | | The winsys now inserts the presumed offset into referring buffers from inside of bo_emit_reloc(). Remove the many locally coded places where this was happening in the driver and eliminate the worry of getting it wrong. No longer need to expose offset values to the driver at all, so no need to worry about what to do in the driver when they change. Just use zero values wherever we had offsets previously -- the relocations will fix it all up for us.
* i965g: remove duplicate viewport state in brw_contextKeith Whitwell2009-11-051-1/+1
|
* i965g: add lots of error checks and early returnsKeith Whitwell2009-11-051-29/+44
| | | | | | | | | | | | | | | | | | | 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: convert read/write domain pairs into single usage valueKeith Whitwell2009-11-041-1/+1
| | | | | | 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.
* i965g: format RELOCs similarlyKeith Whitwell2009-11-021-2/+1
|
* i965g: driver and winsys compileKeith Whitwell2009-11-011-1/+1
| | | | | A milestone of sorts. Still a long way from something working -- the old one compiled too, at least some of the time...
* i965g: start hooking up some to the gallium context interfacesKeith Whitwell2009-10-251-1/+1
| | | | | | - create/bind/destroy blend and depth state - framebuffer and viewport - etc.
* i965g: more work on compiling, particularly the brw_draw filesKeith Whitwell2009-10-251-2/+6
|
* i965g: more work on compilingKeith Whitwell2009-10-241-4/+4
|
* i965g: more files compilingKeith Whitwell2009-10-241-8/+8
|
* i965g: first compiling fileKeith Whitwell2009-10-241-26/+70
|
* i965g: wip on removing GL stuff, trying to get a few files compilingKeith Whitwell2009-10-231-11/+7
|
* i965g: wipKeith Whitwell2009-10-231-165/+15
|
* i965g: re-starting from the dri driverKeith Whitwell2009-10-231-0/+297