summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/xlib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | xlib: disable more cell calls when GALLIUM_CELL not definedKeith Whitwell2009-01-091-0/+4
| |
* | xlib: combine and eliminate some header filesKeith Whitwell2009-01-091-4/+3
| |
* | cell: fix breakage from xlib re-orgBrian Paul2009-01-083-1/+9
| | | | | | | | Some of these fixes are quick band-aids for now.
* | gallium: split driver-independent code out of xlib winsysKeith Whitwell2009-01-0824-7957/+753
|/ | | | Place in new xlib state-tracker. This is a statetracker for the GLX API.
* cell: fix build breakageBrian Paul2008-12-191-0/+4
|
* winsys: fix depth buffer size when using stencilBrian Paul2008-12-171-0/+3
|
* Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-12-101-2/+2
|\
| * gallium: restore default_depth_bits() call in xlib winsysBrian Paul2008-12-101-2/+2
| | | | | | | | This was accidentally disabled in a long-ago commit.
| * cell: fix twiddled tile display for XSHM. Fixed blank window problem.Brian Paul2008-09-121-5/+12
| |
* | scons: Don't hardcode any drivers for the xlib winsys, just pick suitable ones.Michel Dänzer2008-10-231-9/+13
| |
* | cell: disable XShmPutImage for tiled surface for nowBrian Paul2008-09-191-2/+2
| | | | | | | | Multiple displays of same surface data causes pixels to get scrambled.
* | cell: fix twiddled tile display for XSHM. Fixed blank window problem.Brian Paul2008-09-121-5/+12
|/
* cell: fix tile twidding bug seen in the event of multiple expose eventsBrian Paul2008-09-111-10/+9
|
* gallium: typo: s/PIPE_FORMAT_Z16UNORM/PIPE_FORMAT_Z16_UNORM/Brian Paul2008-09-111-1/+1
|
* cell: checkpoint commit of new per-fragment processingBrian Paul2008-09-112-1/+41
| | | | | | | 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.
* scons: Install libGL.so and respective symlinks.José Fonseca2008-09-081-1/+3
|
* gallium: do image clipping in xmesa_display_surface_tiled()Brian Paul2008-09-031-5/+11
|
* cell: move misplaced assertions; put them after ximage is assigned.Brian Paul2008-09-031-4/+4
|
* Cell: added linux-cell-debug configBrian Paul2008-09-031-4/+1
| | | | | linux-cell is now the optimized configuration. Remove some Cell-specific stuff from winsys/xlib/Makefile.
* gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.José Fonseca2008-09-032-2/+2
| | | | | We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed.
* gallium: call st_finish() in XMesaFlush()Brian Paul2008-08-271-0/+1
|
* gallium: thread wrapper clean-upBrian Paul2008-08-263-28/+10
| | | | | In p_thread.h replace _glthread_* functions with new pipe_* functions. Remove other old cruft.
* gallium: include u_math.hBrian Paul2008-08-251-1/+2
|