summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/xlib
Commit message (Collapse)AuthorAgeFilesLines
* configs: fix some remains of the i915simple driverZack Rusin2009-10-111-1/+1
|
* i965g: remove 965/brw files from XLIB_WINSYS_SOURCESBrian Paul2009-10-051-3/+0
|
* i965g: Drop i965simpleJakob Bornecrantz2009-10-058-1240/+0
| | | | | | 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.
* Merge branch 'softpipe-opt'Keith Whitwell2009-09-231-45/+53
|\ | | | | | | | | | | | | Conflicts: progs/demos/cubemap.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_texture.c
| * gallium/xlib: use XSHM for swapbuffersKeith Whitwell2009-07-221-45/+53
| | | | | | | | Makes some difference, but suprisingly little. Barely worth the effort.
* | llvmpipe: asst fixes for 'make linux-llvmpipe'Brian Paul2009-09-112-0/+4
| |
* | gallium/xlib: silence uninitialized var warningBrian Paul2009-09-031-1/+1
| |
* | scons: Tool for LLVM. Gracefully disable llvmpipe if LLVM not found.José Fonseca2009-09-011-6/+6
| |
* | xlib: Implement lp_winsys::destroy.José Fonseca2009-08-301-0/+9
| |
* | xlib: Implement llvmpipe lp_winsys interface.José Fonseca2009-08-291-206/+144
| |
* | xlib: Update llvmpipe integration for changes in master.José Fonseca2009-08-291-0/+1
| |
* | llvmpipe: add missing break in xlib _init()Brian Paul2009-08-291-0/+1
| |
* | llvmpipe: Allow to build without udis86.José Fonseca2009-08-291-1/+1
| |
* | llvmpipe: Disassemble generated x86 code.José Fonseca2009-08-291-0/+8
| |
* | xlib: Complete llvmpipe integration.José Fonseca2009-08-293-1/+11
| |
* | xlib: Integrate with llvmpipe.José Fonseca2009-08-291-0/+513
| | | | | | | | Actually, the makefile/sconscript changes were already commit by mistake.
* | xlib: fix single buffer window resize bugBrian Paul2009-08-241-0/+1
| | | | | | | | | | | | When a single-buffered window was resized the new window size was never detected. This fix that, but there's still a bug which causes window contents corruption for certain window sizes...
* | gallium/xlib: add missing tex_usage parameterBrian Paul2009-08-111-0/+1
| |
* | gallium/xlib: add missing tex_usage parameterBrian Paul2009-08-111-0/+1
|/
* Use separate $(MINSTALL) for installing librariesDan Nicholson2009-06-011-1/+1
| | | | | | | | | | | | | The special feature of bin/minstall to copy symlinks is only ever needed when installing libraries which may have .so symlinks. All the headers and directories can use a normal install program. These two modes are separated as $(INSTALL) and $(MINSTALL) to allow the user (or autoconf) to override installing normal files as they please. An autoconf check for the install program has been added and will be used in preference to minstall when available. Fixes bug 16053.
* mesa: Prepend "-Wl," to linking optionsTormod Volden2009-04-301-1/+1
| | | | | Let mklib ignore -Wl options inside the object list when building static libraries
* softpipe: Simplify softpipe_create's prototype.José Fonseca2009-04-181-1/+1
|
* xlib/trace: Fixup xlib traceJakob Bornecrantz2009-04-171-5/+11
|
* 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-043-10/+8
| | | | | | | | | | | | | | 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().
* cell: added null ptr check in xm_flush_frontbuffer()Brian Paul2009-02-241-1/+2
|
* gallium/winsys/xlib: Fix build with USE_XSHM undefined.Michel Dänzer2009-02-191-8/+30
|
* 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-162-4/+8
| |\ | | | | | | | | | | | | | | | | | | 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.
* | mesa: Build both software rasterizers for debugJakob Bornecrantz2009-02-101-3/+5
| | | | | | | | But put the gallium one in lib/gallium
* | mesa: build/use libmesagallium.a for gallium buildsBrian Paul2009-02-091-1/+1
| | | | | | | | | | This contains the core mesa code but excludes things not needed for gallium such as tnl/, swrast/, swrast_setup/, etc.
* | cell: compile fix: no-op xlib_create_brw_screen() for Cell buildBrian Paul2009-02-071-0/+2
|/
* gallium: remove pipe_buffer from surfacesZack Rusin2009-02-024-9/+20
| | | | | | | this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures.
* xlib: Get conditional compilation of drivers working again.José Fonseca2009-02-023-8/+37
|
* scons: Fixups for the introduction of the xlib state_tracker.Michel Dänzer2009-02-021-8/+2
| | | | Not quite working yet; glxinfo complains about glXChooseVisual being undefined.
* gallium: make p_winsys internalZack Rusin2009-01-304-4/+4
| | | | | move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
* gallium: Remove the standalone surfaces.José Fonseca2009-01-203-173/+50
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* xlib: fix dependenciesKeith Whitwell2009-01-191-2/+2
|
* gallium: use align() intead of round_up()Brian Paul2009-01-191-12/+2
|
* Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell2009-01-192-0/+510
|\ | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/glx/xlib/fakeglx.c src/gallium/state_trackers/glx/xlib/xm_api.c src/gallium/winsys/xlib/xmesaP.h
| * xlib: fix compilation after xmesa header movesKeith Whitwell2009-01-195-3/+513
| |
* | xlib: don't explicitly create the pipe_winsys structKeith Whitwell2009-01-174-19/+53
| |
* | xlib: split off cell to its own backendKeith Whitwell2009-01-135-245/+467
| | | | | | | | | | Also remove compile-time USE_XSHM flag. Still check for XSHM at runtime though.
* | xlib: allow winsys's to register themselves with glx/xlib state trackerKeith Whitwell2009-01-138-191/+96
| |
* | xlib: move state tracker to glx/xlibKeith Whitwell2009-01-091-3/+3
| | | | | | | | Also, remove makefile hacks.