summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
Commit message (Collapse)AuthorAgeFilesLines
* scons: Don't build xlib when dri is enabled.José Fonseca2010-01-081-0/+4
| | | | Hopefully adddresses fdo 25828.
* scons: Output a meaningful message when xlib libGL.so can't be built.José Fonseca2010-01-081-45/+57
|
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-041-0/+1
|\ | | | | | | | | | | | | | | | | Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
| * vmware/xorg: Fix SCons build.Michel Dänzer2010-01-041-0/+1
| |
| * gdi: Don't generate import libraries for opengl32.dll.José Fonseca2010-01-031-0/+2
| | | | | | | | | | Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.
* | gdi: Don't generate import libraries for opengl32.dll.José Fonseca2010-01-021-0/+2
| | | | | | | | | | Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.
* | gallium: Generate a single library for auxiliaries with Make too.José Fonseca2010-01-012-13/+3
| |
* | scons: Aggregate all tiny libraries in a single library.José Fonseca2010-01-018-8/+8
| | | | | | | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
* | Merge branch 'mesa_7_7_branch'Brian Paul2009-12-311-0/+209
|\| | | | | | | | | | | | | | | Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
| * Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-271-0/+209
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_network.c src/gallium/auxiliary/util/u_network.h src/gallium/drivers/i915/i915_state.c src/gallium/drivers/trace/tr_rbug.c src/gallium/state_trackers/vega/bezier.c src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/xlib/xlib_brw_context.c src/mesa/main/mtypes.h
| | * xlib: Use C-style comments.Vinson Lee2009-12-221-2/+2
| | |
* | | xlib: Integrate the trace driver with all pipe drivers.José Fonseca2009-12-285-134/+3
| | | | | | | | | | | | | | | | | | | | | And not just softpipe. It is particularly convenient to use llvmpipe instead, since it is much faster. It also allows to use rbug with all xlib drivers.
* | | scons: Fix xlib build.José Fonseca2009-12-281-1/+1
| | | | | | | | | | | | After glsl rework merge.
* | | r300g: fix use of uninitialised variables.Dave Airlie2009-12-271-2/+2
| | | | | | | | | | | | These buffers were getting dereferenced later.
* | | r300g: rename modesetting_drv.so to radeong_drv.soDave Airlie2009-12-272-16/+26
| | |
* | | Merge branch 'i965g-restart'Keith Whitwell2009-12-2216-1/+1684
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: configure.ac
| * \ \ Merge commit 'origin/master' into i965g-restartKeith Whitwell2009-12-2129-23/+3380
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: SConstruct configs/default configs/linux-dri
| * | | | ws/i965: respect DEBUG_WINSYS flagKeith Whitwell2009-12-211-29/+40
| | | | |
| * | | | i965g: pass backbuffer tiling information to driverKeith Whitwell2009-11-302-9/+9
| | | | | | | | | | | | | | | | | | | | The gem winsys gets this information, needs to pass it on.
| * | | | ws/i965: more debug outputKeith Whitwell2009-11-302-12/+44
| | | | |
| * | | | ws/i965: rename and change sense of I965_SEND_CMD to BRW_NO_HWKeith Whitwell2009-11-302-3/+1
| | | | |
| * | | | brw: add dumping to gem winsysKeith Whitwell2009-11-304-101/+146
| | | | |
| * | | | i965g: link xorg state tracker with -ldrm_intelDave Airlie2009-11-281-1/+1
| | | | |
| * | | | i965g: remove droppings in xlib winsysKeith Whitwell2009-11-151-1/+0
| | | | |
| * | | | i965g: Fixup buffer creation functionJakob Bornecrantz2009-11-061-2/+12
| | | | | | | | | | | | | | | | | | | | First tri!
| * | | | i965g: trivial/clear can now send stuff to hardwareJakob Bornecrantz2009-11-063-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | Added a flag if we should send commands to hardware as what we send isn't all that correct.
| * | | | i965g: Winsys whitespaceJakob Bornecrantz2009-11-062-37/+37
| | | | |
| * | | | i965g: Build winsys againJakob Bornecrantz2009-11-062-57/+53
| | | | |
| * | | | i965g: clean up winsys dumping code a littleKeith Whitwell2009-11-051-59/+82
| | | | |
| * | | | i965g: pass relocation information in an array with bo_subdataKeith Whitwell2009-11-051-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: propogate map-buffer-range semantics down to winsysKeith Whitwell2009-11-051-2/+17
| | | | |
| * | | | i965g: make the winsys responsible for all buffer->offset handlingKeith Whitwell2009-11-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | brw: push more dumping into the winsysKeith Whitwell2009-11-051-29/+82
| | | | |
| * | | | i965g: disassemble more than one instruction at a timeKeith Whitwell2009-11-051-14/+8
| | | | |
| * | | | i965g: call dissassembler for appropriate data uploadsKeith Whitwell2009-11-051-4/+7
| | | | |
| * | | | i965g: add lots of error checks and early returnsKeith Whitwell2009-11-051-28/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: hook up dumpers in dumping winsysKeith Whitwell2009-11-051-0/+61
| | | | |
| * | | | i965g: add data type tags to aid dumping/decodingKeith Whitwell2009-11-051-33/+62
| | | | |
| * | | | i965g: Builds with sconsJakob Bornecrantz2009-11-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: 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: consolidate some includesKeith Whitwell2009-11-041-2/+3
| | | | |
| * | | | ws/i965: allow NULL buffer in winsys::bo_unreferenceKeith Whitwell2009-11-041-0/+6
| | | | | | | | | | | | | | | | | | | | Special case to avoid clutter in the driver
| * | | | i965g: hook up flush-frontbufferKeith Whitwell2009-11-041-13/+24
| | | | |
| * | | | i965g: add missing buffer functionsKeith Whitwell2009-11-041-0/+4
| | | | |
| * | | | 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: add standalone xlib debug winsysKeith Whitwell2009-11-043-0/+460
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-041-4/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: driver and winsys compileKeith Whitwell2009-11-017-511/+262
| | | | | | | | | | | | | | | | | | | | | | | | | A milestone of sorts. Still a long way from something working -- the old one compiled too, at least some of the time...