summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/xlib
AgeCommit message (Collapse)Author
2009-04-30mesa: Prepend "-Wl," to linking optionsTormod Volden
Let mklib ignore -Wl options inside the object list when building static libraries
2009-04-18softpipe: Simplify softpipe_create's prototype.José Fonseca
2009-04-17xlib/trace: Fixup xlib traceJakob Bornecrantz
2009-03-04cell: update cell driver after gallium reference count changesBrian Paul
2009-03-04gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer
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-02-24cell: added null ptr check in xm_flush_frontbuffer()Brian Paul
2009-02-19gallium/winsys/xlib: Fix build with USE_XSHM undefined.Michel Dänzer
2009-02-18Merge branch 'gallium-texture-transfer'Michel Dänzer
Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c
2009-02-16Merge branch 'master' into gallium-texture-transferKeith Whitwell
Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c
2009-02-18util: Move p_debug.h into util module.José Fonseca
The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
2009-02-12gallium/winsys/xlib: Use XShmPutImage when possible.Michel Dänzer
2009-02-12gallium/winsys/xlib: Fix stride calculations.Michel Dänzer
2009-02-10mesa: Build both software rasterizers for debugJakob Bornecrantz
But put the gallium one in lib/gallium
2009-02-09mesa: build/use libmesagallium.a for gallium buildsBrian Paul
This contains the core mesa code but excludes things not needed for gallium such as tnl/, swrast/, swrast_setup/, etc.
2009-02-07cell: compile fix: no-op xlib_create_brw_screen() for Cell buildBrian Paul
2009-02-05gallium: No longer allow CPU mapping surfaces directly.Michel Dänzer
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.
2009-02-02gallium: remove pipe_buffer from surfacesZack Rusin
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.
2009-02-02xlib: Get conditional compilation of drivers working again.José Fonseca
2009-02-02scons: Fixups for the introduction of the xlib state_tracker.Michel Dänzer
Not quite working yet; glxinfo complains about glXChooseVisual being undefined.
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-20gallium: Remove the standalone surfaces.José Fonseca
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.
2009-01-19xlib: fix dependenciesKeith Whitwell
2009-01-19gallium: use align() intead of round_up()Brian Paul
2009-01-19Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell
Conflicts: src/gallium/state_trackers/glx/xlib/fakeglx.c src/gallium/state_trackers/glx/xlib/xm_api.c src/gallium/winsys/xlib/xmesaP.h
2009-01-19xlib: fix compilation after xmesa header movesKeith Whitwell
2009-01-17xlib: don't explicitly create the pipe_winsys structKeith Whitwell
2009-01-13xlib: split off cell to its own backendKeith Whitwell
Also remove compile-time USE_XSHM flag. Still check for XSHM at runtime though.
2009-01-13xlib: allow winsys's to register themselves with glx/xlib state trackerKeith Whitwell
2009-01-09xlib: move state tracker to glx/xlibKeith Whitwell
Also, remove makefile hacks.
2009-01-09xlib: disable more cell calls when GALLIUM_CELL not definedKeith Whitwell
2009-01-09xlib: combine and eliminate some header filesKeith Whitwell
2009-01-08cell: fix breakage from xlib re-orgBrian Paul
Some of these fixes are quick band-aids for now.
2009-01-08gallium: split driver-independent code out of xlib winsysKeith Whitwell
Place in new xlib state-tracker. This is a statetracker for the GLX API.
2008-12-19cell: fix build breakageBrian Paul
2008-12-17winsys: fix depth buffer size when using stencilBrian Paul
2008-12-10Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
2008-12-10gallium: restore default_depth_bits() call in xlib winsysBrian Paul
This was accidentally disabled in a long-ago commit.
2008-10-23scons: Don't hardcode any drivers for the xlib winsys, just pick suitable ones.Michel Dänzer
2008-09-19cell: disable XShmPutImage for tiled surface for nowBrian Paul
Multiple displays of same surface data causes pixels to get scrambled.
2008-09-12cell: fix twiddled tile display for XSHM. Fixed blank window problem.Brian Paul
2008-09-12cell: fix twiddled tile display for XSHM. Fixed blank window problem.Brian Paul
2008-09-11cell: fix tile twidding bug seen in the event of multiple expose eventsBrian Paul
2008-09-11gallium: typo: s/PIPE_FORMAT_Z16UNORM/PIPE_FORMAT_Z16_UNORM/Brian Paul
2008-09-11cell: checkpoint commit of new per-fragment processingBrian Paul
Do code generation for alpha test, z test, stencil, blend, colormask and framebuffer/tile read/write as a single code block. Ian's previous blend/z/stencil test code is still there but mostly disabled and will be removed soon.
2008-09-08scons: Install libGL.so and respective symlinks.José Fonseca
2008-09-03gallium: do image clipping in xmesa_display_surface_tiled()Brian Paul
2008-09-03cell: move misplaced assertions; put them after ximage is assigned.Brian Paul
2008-09-03Cell: added linux-cell-debug configBrian Paul
linux-cell is now the optimized configuration. Remove some Cell-specific stuff from winsys/xlib/Makefile.
2008-09-03gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.José Fonseca
We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed.