aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* i965g: add lots of error checks and early returnsKeith Whitwell2009-11-0535-745/+1003
| | | | | | | | | | | | | | | | | | | 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: Don't dump pads or dwords aliases.José Fonseca2009-11-052-265/+8
|
* i965g: hook up dumpers in dumping winsysKeith Whitwell2009-11-051-0/+61
|
* i965g: Dumper for i965 structures.José Fonseca2009-11-055-0/+2073
|
* i965g: add data type tags to aid dumping/decodingKeith Whitwell2009-11-0510-110/+182
|
* i965g: use pipe_error return value for brw_batchbuffer_require_spaceKeith Whitwell2009-11-051-3/+3
| | | | | trivial/tri runs without crashing (on debug winsys) but still produces obviously incorrect command buffers.
* i965g: fix compiler warningKeith Whitwell2009-11-051-1/+1
|
* i965g: Builds with sconsJakob Bornecrantz2009-11-052-0/+82
| | | | | | | | | | | 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]
* i965g: Fix debug checkJakob Bornecrantz2009-11-051-1/+1
|
* i965g: Do not create a symlink for i965_dri.soJakob Bornecrantz2009-11-051-1/+0
|
* i915g: Do not create a symlink for i965_dri.soJakob Bornecrantz2009-11-051-1/+0
|
* i965g: enable line stipple packet emitKeith Whitwell2009-11-041-1/+2
| | | | | | With this change, trivial/tri manages to build and emit a fairly unconvincing command buffer (to the debug winsys), and then crashes.
* i965g: fix order of calculation of brw->wm.nr_surfacesKeith Whitwell2009-11-041-3/+3
|
* i965g: consolidate some includesKeith Whitwell2009-11-048-14/+7
|
* i965g: fix some assertsKeith Whitwell2009-11-041-2/+2
|
* i965g: remove redundant screen pointer in brw context structKeith Whitwell2009-11-044-6/+7
|
* i965g: initialize winsys pointer in surface cacheKeith Whitwell2009-11-041-0/+1
|
* i965g: init pointer to null, avoid segfaultKeith Whitwell2009-11-041-1/+1
|
* i965g: clean up wm init_registers funcKeith Whitwell2009-11-041-9/+11
|
* i965g: hook up some missing vertex shader codeKeith Whitwell2009-11-042-3/+10
|
* i965g: hook up some vertex state funcsKeith Whitwell2009-11-042-2/+40
|
* ws/i965: allow NULL buffer in winsys::bo_unreferenceKeith Whitwell2009-11-041-0/+6
| | | | Special case to avoid clutter in the driver
* i965g: pull in a copy of intel_decode.c for nowKeith Whitwell2009-11-046-11/+1835
| | | | | With the stubbed out, non-hardware xlib winsys, trivial/clear runs and prints a plausible command stream
* i965g: hook up flush-frontbufferKeith Whitwell2009-11-041-13/+24
|
* i965g: fix up batchbuffer confusionKeith Whitwell2009-11-043-15/+26
|
* i965g: plumb in some surface stateKeith Whitwell2009-11-043-8/+29
|
* i965g: hook up pipe_clear functionsKeith Whitwell2009-11-046-1/+237
|
* i965g: add constant buffer setterKeith Whitwell2009-11-041-0/+24
|
* i965g: add missing is_*_referenced callbacksKeith Whitwell2009-11-044-0/+87
|
* i965g: initialize surface refcountKeith Whitwell2009-11-041-0/+2
|
* i965g: add more missing pipe callbacksKeith Whitwell2009-11-042-0/+41
|
* i965g: add some missing texture creation codeKeith Whitwell2009-11-042-1/+32
|
* i965g: stubs for brw_pipe_vertex.cKeith Whitwell2009-11-042-1/+16
|
* i965g: hook up pipe sampler callbacksKeith Whitwell2009-11-046-68/+120
|
* i965g: hook up more pipe_context functionsKeith Whitwell2009-11-049-32/+81
|
* i965g: add missing buffer functionsKeith Whitwell2009-11-046-3/+162
|
* ws/i965: add load-time driver registrationKeith Whitwell2009-11-041-0/+7
| | | | Otherwise xlib state-tracker doesn't know about us.
* ws/i965: add butt-ugly linker hackKeith Whitwell2009-11-041-0/+15
| | | | | Need more linker magic to keep the glX symbols externally visible even though they started off in a .a file.
* i965g: hook up brw_screen.cKeith Whitwell2009-11-043-49/+38
|
* i965g: add standalone xlib debug winsysKeith Whitwell2009-11-049-7/+470
| | | | | | | | | 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: convert read/write domain pairs into single usage valueKeith Whitwell2009-11-0418-76/+104
| | | | | | 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-023-12/+26
|
* i965g: rename brw_constant_buffer to brw_curbe_bufferKeith Whitwell2009-11-023-13/+7
| | | | Now that there are real constant buffers, try to reduce naming confusion.
* i965g: driver and winsys compileKeith Whitwell2009-11-0119-551/+308
| | | | | A milestone of sorts. Still a long way from something working -- the old one compiled too, at least some of the time...
* i965g: the whole drivers/i965 directory is compilingKeith Whitwell2009-11-013-143/+108
| | | | | | 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.
* i965g: more files compilingKeith Whitwell2009-11-014-166/+205
|
* i965g: more files compilingKeith Whitwell2009-11-018-147/+269
|
* i965g: more files compilingKeith Whitwell2009-11-017-322/+576
|
* i965g: more files compilingKeith Whitwell2009-11-017-161/+176
|
* i965g: more work on compilation -- surface managementKeith Whitwell2009-11-019-617/+474
|