summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2009-11-05i965g: remove duplicate viewport state in brw_contextKeith Whitwell
2009-11-05i965g: correct sense of writedisable flagsKeith Whitwell
2009-11-05brw: push more dumping into the winsysKeith Whitwell
2009-11-05i965g: correct size of surf_bo arrayKeith Whitwell
2009-11-05i965g: use Elements in loops over arraysKeith Whitwell
2009-11-05i965g: add const qualifiersKeith Whitwell
2009-11-05i965g: disassemble more than one instruction at a timeKeith Whitwell
2009-11-05i965g: remove old dumping codeKeith Whitwell
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: Don't dump pads or dwords aliases.José Fonseca
2009-11-05i965g: Dumper for i965 structures.José Fonseca
2009-11-05i965g: add data type tags to aid dumping/decodingKeith Whitwell
2009-11-05i965g: use pipe_error return value for brw_batchbuffer_require_spaceKeith Whitwell
trivial/tri runs without crashing (on debug winsys) but still produces obviously incorrect command buffers.
2009-11-05i965g: fix compiler warningKeith Whitwell
2009-11-05i965g: Builds with sconsJakob Bornecrantz
But there are some missing symbols, "nm -u i965_dri.so" [SNIP] U brw_surface_bo U brw_surface_pitch U brw_texture_blanket_winsys_buffer U brw_texture_get_winsys_buffer U brw_update_dirty_counts [SNIP]
2009-11-05i965g: Fix debug checkJakob Bornecrantz
2009-11-04i965g: enable line stipple packet emitKeith Whitwell
With this change, trivial/tri manages to build and emit a fairly unconvincing command buffer (to the debug winsys), and then crashes.
2009-11-04i965g: fix order of calculation of brw->wm.nr_surfacesKeith Whitwell
2009-11-04i965g: consolidate some includesKeith Whitwell
2009-11-04i965g: fix some assertsKeith Whitwell
2009-11-04i965g: remove redundant screen pointer in brw context structKeith Whitwell
2009-11-04i965g: initialize winsys pointer in surface cacheKeith Whitwell
2009-11-04i965g: init pointer to null, avoid segfaultKeith Whitwell
2009-11-04i965g: clean up wm init_registers funcKeith Whitwell
2009-11-04i965g: hook up some missing vertex shader codeKeith Whitwell
2009-11-04i965g: hook up some vertex state funcsKeith Whitwell
2009-11-04i965g: pull in a copy of intel_decode.c for nowKeith Whitwell
With the stubbed out, non-hardware xlib winsys, trivial/clear runs and prints a plausible command stream
2009-11-04i965g: fix up batchbuffer confusionKeith Whitwell
2009-11-04i965g: plumb in some surface stateKeith Whitwell
2009-11-04i965g: hook up pipe_clear functionsKeith Whitwell
2009-11-04i965g: add constant buffer setterKeith Whitwell
2009-11-04i965g: add missing is_*_referenced callbacksKeith Whitwell
2009-11-04i965g: initialize surface refcountKeith Whitwell
2009-11-04i965g: add more missing pipe callbacksKeith Whitwell
2009-11-04i965g: add some missing texture creation codeKeith Whitwell
2009-11-04i965g: stubs for brw_pipe_vertex.cKeith Whitwell
2009-11-04i965g: hook up pipe sampler callbacksKeith Whitwell
2009-11-04i965g: hook up more pipe_context functionsKeith Whitwell
2009-11-04i965g: add missing buffer functionsKeith Whitwell
2009-11-04i965g: hook up brw_screen.cKeith 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-04i965g: convert read/write domain pairs into single usage valueKeith Whitwell
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.
2009-11-02i965g: format RELOCs similarlyKeith Whitwell
2009-11-02i965g: rename brw_constant_buffer to brw_curbe_bufferKeith Whitwell
Now that there are real constant buffers, try to reduce naming confusion.
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: the whole drivers/i965 directory is compilingKeith Whitwell
That was a lot more work than I expected. Still the winsys to go, then the small matter of making it work and re-enabling the missing functionality.
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 files compilingKeith Whitwell