summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_screen_texture.c
AgeCommit message (Collapse)Author
2009-11-07i965g: Fixup texture formatsJakob Bornecrantz
2009-11-07i965g: Formalize on S8Z24 as the suported depth formatJakob Bornecrantz
2009-11-06i965g: Add texture transfer functionsJakob Bornecrantz
They don't seem to work. Maybe we are forgetting to flush the gpu or something.
2009-11-06i965g: Match pitch modification on get buffer as wellJakob Bornecrantz
This is a ugly hack in order to match what the intel X driver gives us. However putting this in the winsys where it fits better forces it reach more into the driver then it already does.
2009-11-06i965g: First clear!Jakob Bornecrantz
2009-11-06i965g: Fix texture blanket functionJakob Bornecrantz
2009-11-06i965g: Add functions needed by the winsysJakob Bornecrantz
2009-11-05i965g: make the winsys responsible for all buffer->offset handlingKeith Whitwell
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.
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: add missing is_*_referenced callbacksKeith Whitwell
2009-11-04i965g: add some missing texture creation codeKeith Whitwell
2009-11-01i965g: driver and winsys compileKeith Whitwell
A milestone of sorts. Still a long way from something working -- the old one compiled too, at least some of the time...
2009-11-01i965g: more files compilingKeith Whitwell
2009-11-01i965g: more files compilingKeith 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