summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/xlib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* gallium: include u_memory.h, u_math.hBrian2008-08-241-0/+1
|
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-243-3/+3
| | | | Also, rename p_tile.[ch] to u_tile.[ch]
* xlib: Revert destroying pipe_screen (temporary).José Fonseca2008-08-191-0/+3
|
* xlib: Kill xmesa_surface.José Fonseca2008-08-151-43/+19
| | | | | | | | | | A winsys cannot expect that the surfaces passed display_surface are the surfaces it created, as surface are now in generate texture views created by pipe_screen. Indeed, the fact it was working so far was mere luck. This fixes a weird tiled output when using the trace pipe driver. Winsys' surfaces should die.
* xlib: Use trace usage.José Fonseca2008-08-142-12/+8
|
* trace: Trace pipe_winsys calls.José Fonseca2008-08-091-1/+6
|
* gallium: use PIPE_FORMAT_X8Z24_UNORM for 24-bit Z but no stencilBrian Paul2008-08-071-0/+5
|
* xlib: Integrate with the trace pipe driver.José Fonseca2008-08-072-25/+42
|
* gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca2008-06-273-27/+37
| | | | | The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
* scons: Fix i965/xlib build.José Fonseca2008-06-271-1/+6
|
* gallium: additional commentBrian Paul2008-06-061-0/+4
|