summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
Commit message (Collapse)AuthorAgeFilesLines
* nouveau: rewrite winsys in terms of drm_api, support dri2 state trackerBen Skeggs2009-03-1825-745/+504
| | | | | | | | | | drm_api is a set of hooks used by the dri2 state tracker, this wraps our dri1 code around the same set of hooks. Currently the dri2 build will produce nouveau_dri2.so which you'll need to install as nouveau_dri.so if you wish to try it. The dri2 state tracker doesn't make it easy for a driver to support both paths in the same binary.
* radeon-gallium: Add my R580 to the xorg PCI ID list.Corbin Simpson2009-03-151-0/+3
| | | | At some point, going to have to grab the big list from xf86-video-ati.
* gallium: Remove do_flip argument from surface_copyJakob Bornecrantz2009-03-132-2/+2
| | | | | | | I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
* radeon-gallium: Unbreak non-RADEON_SOFTPIPE.Corbin Simpson2009-03-105-7/+9
| | | | Hehe, sleep may be necessary now.
* radeon-gallium: Unbreak RADEON_SOFTPIPE.Corbin Simpson2009-03-104-18/+21
| | | | And there was much rejoicing.
* nouveau: use bo_handle_ref instead of bo_fake to get front-buffer boBen Skeggs2009-03-071-3/+1
| | | | | | | This'll work on non-GEM also as the DDX will just pass an offset, and libdrm_nouveau knows to treat "handle" as a VRAM offset. When running on GEM the DDX (it doesn't yet, but will) passes a buffer handle instead.
* nouveau: fix more breakage from pipe_reference..Ben Skeggs2009-03-071-0/+1
|
* Fix nouveau_pipe_create() / nouveau_context_init(): raise an error if the ↵Victor Stinner2009-03-072-3/+10
| | | | screen/pipe creation failed
* st/xorg: Install to XORG_DRIVER_INSTALL_DIRJoel Bosveld2009-03-062-2/+4
|
* radeon-gallium: fix dri2 buildJoakim Sindholt2009-03-051-3/+3
|
* radeon-gallium: Add Xorg state tracker Radeon winsys stub.Corbin Simpson2009-03-041-0/+154
|
* radeon-gallium: Only build drivers for state trackers that are enabled.Corbin Simpson2009-03-041-1/+1
|
* radeon-gallium: Enable EGL and Xorg state trackers.Corbin Simpson2009-03-043-1/+67
| | | | Compile-tested only, but I have high hopes.
* radeon-gallium: DRI2 state tracker, part 3.Corbin Simpson2009-03-0415-728/+78
| | | | | Properly setup the build process for adding in xorg and egl trackers, and finally put radeon_context and radeon_screen to bed.
* intel: Fixup from refcount changesJakob Bornecrantz2009-03-051-0/+1
|
* cell: update cell driver after gallium reference count changesBrian Paul2009-03-041-8/+7
|
* gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer2009-03-041-1/+0
|
* gallium: Unify reference counting.Michel Dänzer2009-03-0414-60/+44
| | | | | | | | | | | | | | The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
* r300-gallium, radeon-gallium: Continue migration to DRI2 state_tracker, part 2.Corbin Simpson2009-03-031-3/+15
| | | | Almost there. glxinfo still works, and AFAICT so does trivial/clear.
* r300-gallium, radeon-gallium: Begin migration to DRI2 state tracker, part 1.Corbin Simpson2009-03-039-58/+177
| | | | s/migration/migrane/ , actually. Anyway, this has working glxinfo...
* st/drm: s/hocks/hooks/Jakob Bornecrantz2009-03-031-1/+1
|
* winsys: return null for DONTBLOCK flag on existing winsysKeith Whitwell2009-03-033-0/+18
| | | | Add code so that existing driver behaviour doesn't change.
* intel: Add Xorg driverJakob Bornecrantz2009-03-032-0/+198
|
* intel: Add dri2 driver for galliumJakob Bornecrantz2009-03-031-0/+22
|
* intel: Increase max relocs per batchbufferJakob Bornecrantz2009-03-031-2/+1
|
* g3dvl: Grab surface pointer when flushing front buffer in SP winsys.Younes Manton2009-03-021-2/+2
|
* radeon: Add DRM stubs.Corbin Simpson2009-02-273-0/+66
| | | | Nothing really of note, unfortunately.
* intel: Use flink for global buffer idsJakob Bornecrantz2009-02-273-6/+47
| | | | Also fix minor drm api change
* g3dvl: Update winsys stuff.Younes Manton2009-02-251-11/+6
|
* intel: Adopt to the new drm_api.hJakob Bornecrantz2009-02-253-6/+8
|
* i915: Clean up i915_winsys.h a bitJakob Bornecrantz2009-02-251-1/+1
|
* cell: added null ptr check in xm_flush_frontbuffer()Brian Paul2009-02-241-1/+2
|
* gallium: Install winsys/drm to DESTDIR rather than /Joel Bosveld2009-02-231-2/+2
|
* gallium: Improve recursive makefilesJakob Bornecrantz2009-02-204-78/+12
|
* gallium: Improve winsys dri template MakefileJakob Bornecrantz2009-02-201-8/+7
| | | | | | LIBNAME_EGL had to be removed since if you didn't set it (nobody set it anyways) make would get it confused it with the $(TOP)/lib/gallium target.
* intel: Use new makefile template for drm gemJakob Bornecrantz2009-02-202-70/+3
|
* nouveau: Use new makefile template for drm commonJakob Bornecrantz2009-02-202-66/+7
|
* nouveau: reenable all the non-nv50 pipe driversBen Skeggs2009-02-202-7/+5
| | | | They still won't build yet, but anyway..
* nv50: rework for texture_transfer changesBen Skeggs2009-02-203-6/+11
|
* gallium/winsys/xlib: Fix build with USE_XSHM undefined.Michel Dänzer2009-02-191-8/+30
|
* wgl: Use a separate .DEF for MinGWJosé Fonseca2009-02-191-7/+5
| | | | | | | | | | gnu linker fails to resolve the @n symbols, unless: - they are listed verbatim in the .def - they are already linked. And mingw's .def parser is slightly incompatible with MSVC in respect with underscores. Will try to work with upstream to fix this, but for now there is no option other to use seperate .def for mingw.
* gdi: Update for texture/surface interface changes.José Fonseca2009-02-191-2/+5
|
* gallium/winsys/egl_xlib: Fix build after introduction of struct pipe_transfer.Michel Dänzer2009-02-181-3/+4
|
* Merge branch 'gallium-texture-transfer'Michel Dänzer2009-02-182-11/+16
|\ | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c
| * Merge branch 'master' into gallium-texture-transferKeith Whitwell2009-02-1689-9969/+1497
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c
| * | gallium/winsys/xlib: Use XShmPutImage when possible.Michel Dänzer2009-02-121-0/+2
| | |
| * | gallium/winsys/xlib: Fix stride calculations.Michel Dänzer2009-02-122-6/+8
| | |
| * | gallium: No longer allow CPU mapping surfaces directly.Michel Dänzer2009-02-052-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead, a new pipe_transfer object has to be created and mapped for transferring data between the CPU and a texture. This gives the driver more flexibility for textures in address spaces that aren't CPU accessible. This is a first pass; softpipe/xlib builds and runs glxgears, but it only shows a black window. Looks like something's off related to the Z buffer, so the depth test always fails.
* | | util: Move p_debug.h into util module.José Fonseca2009-02-181-1/+1
| |/ |/| | | | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
* | radeon-gallium: Clean out extensions explicitly enabled by Mesa.Corbin Simpson2009-02-141-36/+2
| | | | | | | | | | | | This cleans up some of the cruft from the old DRI setup, and it turns out that only the GLSL extensions are still off if we let st_extensions.c handle the setup instead.