summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/nouveau/common
AgeCommit message (Collapse)Author
2009-03-18nouveau: rewrite winsys in terms of drm_api, support dri2 state trackerBen Skeggs
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.
2009-03-07nouveau: use bo_handle_ref instead of bo_fake to get front-buffer boBen Skeggs
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.
2009-03-07nouveau: fix more breakage from pipe_reference..Ben Skeggs
2009-03-07Fix nouveau_pipe_create() / nouveau_context_init(): raise an error if the ↵Victor Stinner
screen/pipe creation failed
2009-03-04gallium: Unify reference counting.Michel Dänzer
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().
2009-03-03winsys: return null for DONTBLOCK flag on existing winsysKeith Whitwell
Add code so that existing driver behaviour doesn't change.
2009-02-20nouveau: Use new makefile template for drm commonJakob Bornecrantz
2009-02-20nouveau: reenable all the non-nv50 pipe driversBen Skeggs
They still won't build yet, but anyway..
2009-02-20nv50: rework for texture_transfer changesBen Skeggs
2009-02-10gallium: Don't rebuild common drm codeJakob Bornecrantz
2009-02-05nv04-nv40: move 2d blit/fill code into pipe driverBen Skeggs
2009-02-05nv50: move 2d blit/fill code into pipe driverBen Skeggs
2009-02-05nouveau: support getting "native" bo from winsysBen Skeggs
2009-02-04nouveau: get things building/running again after pipe_surface.buffer removalBen Skeggs
Don't look at nouveau_winsys_pipe.h... I promise it's temporary!
2009-02-04nouveau: link against libdrm_nouveau (installed with libdrm)Ben Skeggs
2009-02-02Merge branch 'gallium-0.2' of ↵Stephane Marchesin
git+ssh://marcheu@git.freedesktop.org/git/mesa/mesa into gallium-0.2
2009-02-02nv04: some old changes I had lying around.Stephane Marchesin
2009-01-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-18nouveau: Rename buffer on map if discardable, busy, and write-only.Younes Manton
2009-01-12nouveau: return buffer map to something sane.Ben Skeggs
Sorry, but no, we're not doing this.. Correctness always takes precedence over speed. Implement this higher up where you know it's safe to do so, and doesn't break other things in the process.
2009-01-12nouveau: use usage, not uninitialised flags value...Ben Skeggs
2009-01-10nouveau: Factor out common winsys bits into libnouveaudrm.aYounes Manton