summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/g3dvl
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Remove do_flip argument from surface_copyJakob Bornecrantz2009-03-131-1/+1
| | | | | | | I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
* gallium: Unify reference counting.Michel Dänzer2009-03-041-2/+2
| | | | | | | | | | | | | | 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().
* g3dvl: Grab surface pointer when flushing front buffer in SP winsys.Younes Manton2009-03-021-2/+2
|
* g3dvl: Update winsys stuff.Younes Manton2009-02-251-11/+6
|
* g3dvl: Catch up to gallium changes, fix build.Younes Manton2009-02-063-4/+7
|
* g3dvl: Remove dead links to files that are now in libnouveaudrm.Younes Manton2009-01-2420-392/+0
|
* gallium: Remove the standalone surfaces.José Fonseca2009-01-202-75/+27
| | | | | | | | | | | | | | | | | | | | | | | | | This commit is mostly just a cosmetic change that cleans-up the interfaces, replacing pipe_winsys::surface_* calls by /** * Allocate storage for a display target surface. * * Often surfaces which are meant to be blitted to the front screen (i.e., * display targets) must be allocated with special characteristics, memory * pools, or obtained directly from the windowing system. * * This callback is invoked by the pipe_screenwhen creating a texture marked * with the PIPE_TEXTURE_USAGE_DISPLAY_TARGET flag to get the underlying * buffer storage. */ struct pipe_buffer *(*surface_buffer_create)(struct pipe_winsys *ws, unsigned width, unsigned height, enum pipe_format format, unsigned usage, unsigned *stride); Most drivers were updated but not all were tested. Use the softpipe pipe driver and the xlib winsys changes as a reference when fixing other drivers.
* nouveau: Factor out common winsys bits into libnouveaudrm.aYounes Manton2009-01-108-552/+308
|
* g3dvl: Use Gallium thread wrappers.Younes Manton2009-01-101-4/+4
|
* g3dvl: Allocate one set of bufs, let winsys rename them as necessary.Younes Manton2009-01-101-18/+46
|
* nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom.Younes Manton2009-01-101-1/+1
|
* nouveau: Put dynamic textures in GART for CPU access and don't swizzle.Younes Manton2009-01-101-1/+2
| | | | Also flag shadows as dynamic since they're for CPU access as well.
* Nouveau: build, link and use nv20.Pekka Paalanen2008-11-081-1/+2
| | | | Signed-off-by: Pekka Paalanen <[email protected]>
* g3dvl: Use winsys_buffer_reference() instead of pipe_buffer_reference().Younes Manton2008-09-122-2/+2
| | | | | Old pipe_buffer_reference() renamed winsys_buffer_reference(), new pipe_buffer_reference() expects a screen.
* g3dvl: Update softlinks to nouveau winsys files, related fixes.Younes Manton2008-09-1222-103/+99
|
* g3dvl: Clean up Makefile deps.Younes Manton2008-09-121-4/+5
|
* g3dvl: Use rotating buffers to avoid waiting for map().Younes Manton2008-08-181-1/+1
|
* g3dvl: Recursively build dependencies.Younes Manton2008-07-261-0/+2
| | | | | Run `make` in src/libXvMC and everything should be built for Nouveau. Run `make DRIVER=softpipe` in src/libXvMC for SoftPipe.
* g3dvl: Minor fixes.Younes Manton2008-07-231-19/+23
|
* g3dvl: Add Nouveau winsys, libdriclient.Younes Manton2008-07-2230-26/+1151
| | | | | | | | Nouveau winsys is based on Mesa's Nouveau winsys and soft-links to most of it. The 'nouveau_context' and 'nouveau_screen' code contains most of the changes, 'nouveau_winsys_pipe', 'nouveau_swapbuffers' and 'nouveau_lock' contain some minor changes. The driclient library contains the DRI userland stuff, most of which was based on Mesa's DRI code.
* g3dvl: Fix some memory leaks in the winsys.Younes Manton2008-07-202-5/+22
|
* g3dvl: Minor SP winsys cleanup.Younes Manton2008-07-201-17/+29
|
* g3dvl: Use block and stride instead of cpp and pitch.Younes Manton2008-06-301-3/+12
|
* Initial commit for g3dvl.Younes Manton2008-06-082-0/+267
Initial commit for g3dvl, contains support for basic XvMC features. - Context, surface, block, macroblock creation and deletion - Surface rendering - Frame pictures - Frame based motion compensation - Intra-coded macroblocks - Predicted macroblocks - Bi-directionally predicted macroblocks - Surface display - Color conversion - Scaling