summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
AgeCommit message (Collapse)Author
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: hook up dumpers in dumping winsysKeith Whitwell
2009-11-05i965g: add data type tags to aid dumping/decodingKeith 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: Do not create a symlink for i965_dri.soJakob Bornecrantz
2009-11-05i915g: Do not create a symlink for i965_dri.soJakob Bornecrantz
2009-11-04i965g: consolidate some includesKeith Whitwell
2009-11-04ws/i965: allow NULL buffer in winsys::bo_unreferenceKeith Whitwell
Special case to avoid clutter in the driver
2009-11-04i965g: hook up flush-frontbufferKeith Whitwell
2009-11-04i965g: add missing buffer functionsKeith Whitwell
2009-11-04ws/i965: add load-time driver registrationKeith Whitwell
Otherwise xlib state-tracker doesn't know about us.
2009-11-04ws/i965: add butt-ugly linker hackKeith Whitwell
Need more linker magic to keep the glX symbols externally visible even though they started off in a .a file.
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-01nouveau: Assume all texture blankets are linear for now.Younes Manton
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-10-29r300g: Fix bytes_per_line calculation error while displaying surfaceCooper Yuan
2009-10-24ws/i965: renames from i915, hook up makefilesKeith Whitwell
2009-10-23ws/i965: pull in the rest of the i915 winsys tree.Keith Whitwell
The intel_xorg file looks like it's got quite a bit of code that could be lifted up into the xorg state tracker -- should really just have a list of pci ids and a pointer to a screen create func.
2009-10-23ws/i965: clone the i915 winsysKeith Whitwell
I'll want to rework this, not sure trying to share this code is a very good idea at least until the interfaces from the two drivers calm down.
2009-10-23r300g: last changes's typo, miss a include fileCooper Yuan
2009-10-23r300g: add flush_frontbuffer function to display video surfaceCooper Yuan
2009-10-23g3dvl: pass display and screen to g3dvl when creating video private contextCooper Yuan
2009-10-16radeon-gallium: Use debug_get_bool_option instead of getenv.Corbin Simpson
2009-10-14r300g: fixup arb occulsion query support.Dave Airlie
1: add rv530 support - num z pipes cap - add proper start/finish query options for rv530 2: convert to use linked list properly. 3: add flushing required check. 4: initial Z top disabling support. TODO: make it actually work on my rv530.
2009-10-14r300g: attempt to make bo space check sane.Dave Airlie
This attempts to make r300g do proper bo space checking as opposed to whatever it was doing now. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-10-11configs: fix some remains of the i915simple driverZack Rusin
2009-10-09gdi: Fix the build when llvmpipe is requested (the default) but llvm is not ↵José Fonseca
present.
2009-10-07i915g: Change order of buffer_write argumentsJakob Bornecrantz
They now follow the pipe_buffer_write style, its the gallium driver that sets the interface not the winsys.
2009-10-06nouveau: fix buffer object leakBen Skeggs
Very apparent with resizing windows on DRI2.
2009-10-06i915g: Add more defines to tweek batchbufferJakob Bornecrantz
2009-10-05i965g: remove 965/brw files from XLIB_WINSYS_SOURCESBrian Paul
2009-10-05i915g: Drop the simple sufixJakob Bornecrantz
None of the other driver have a silly sufix, so just drop it. Nothing new added in this commit or any other commit but this is better marketing.
2009-10-05i965g: Drop i965simpleJakob Bornecrantz
The driver never work with real hardware and has bitrotted for quite some time now, might as well drop it. If somebody wants to look at it just use git.
2009-10-05nouveau: return pitch value from local_handle_from_texture()Ben Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-10-03r300g: Fix memory leak in radeon_texture_from_shared_handleNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-10-03r300g: Build in the trace and softpipe driver for xorg state trackerSedat Dilek
Same as in src/gallium/winsys/drm/intel/xorg/Makefile Thanks MrCooper for explanations on IRC [ Summary amended by Michel Dänzer to clarify that this is related to the xorg state tracker ]
2009-10-01g3dvl: Formatting.Younes Manton
2009-10-01g3dvl: Delete state_trackers/g3dvl, other unused files.Younes Manton
2009-10-01g3dvl: Copyright blocks.Younes Manton
2009-09-27g3dvl: Move XvMC under the Xorg state tracker.Younes Manton
2009-09-27g3dvl: Implement XvMC using pipe_video_context.Younes Manton
2009-09-27i915g: Make sure to map tiled buffers via the gttJakob Bornecrantz
2009-09-27i915g: Enable reuse of buffersJakob Bornecrantz
2009-09-24gdi: Update for WGL state tracker interface changes.José Fonseca
2009-09-23Merge branch 'softpipe-opt'Keith Whitwell
Conflicts: progs/demos/cubemap.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_texture.c
2009-09-23gdi: Update for WGL statetracker source reorg.José Fonseca
2009-09-22i915g: Activate traceJakob Bornecrantz
2009-09-21nouveau: allow building modesetting_drv.soBen Skeggs
2009-09-21nouveau: drm_api create_screen()'s 'arg' argument can be NULLBen Skeggs