Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: Unify reference counting. | Michel Dänzer | 2009-03-04 | 3 | -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 Paul | 2009-02-24 | 1 | -1/+2 |
| | |||||
* | gallium/winsys/xlib: Fix build with USE_XSHM undefined. | Michel Dänzer | 2009-02-19 | 1 | -8/+30 |
| | |||||
* | Merge branch 'gallium-texture-transfer' | Michel Dänzer | 2009-02-18 | 2 | -11/+16 |
|\ | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c | ||||
| * | Merge branch 'master' into gallium-texture-transfer | Keith Whitwell | 2009-02-16 | 2 | -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änzer | 2009-02-12 | 1 | -0/+2 |
| | | | |||||
| * | | gallium/winsys/xlib: Fix stride calculations. | Michel Dänzer | 2009-02-12 | 2 | -6/+8 |
| | | | |||||
| * | | gallium: No longer allow CPU mapping surfaces directly. | Michel Dänzer | 2009-02-05 | 2 | -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é Fonseca | 2009-02-18 | 1 | -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 debug | Jakob Bornecrantz | 2009-02-10 | 1 | -3/+5 |
| | | | | | | | | But put the gallium one in lib/gallium | ||||
* | | mesa: build/use libmesagallium.a for gallium builds | Brian Paul | 2009-02-09 | 1 | -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 build | Brian Paul | 2009-02-07 | 1 | -0/+2 |
|/ | |||||
* | gallium: remove pipe_buffer from surfaces | Zack Rusin | 2009-02-02 | 4 | -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é Fonseca | 2009-02-02 | 3 | -8/+37 |
| | |||||
* | scons: Fixups for the introduction of the xlib state_tracker. | Michel Dänzer | 2009-02-02 | 1 | -8/+2 |
| | | | | Not quite working yet; glxinfo complains about glXChooseVisual being undefined. | ||||
* | gallium: make p_winsys internal | Zack Rusin | 2009-01-30 | 4 | -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é Fonseca | 2009-01-20 | 3 | -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 dependencies | Keith Whitwell | 2009-01-19 | 1 | -2/+2 |
| | |||||
* | gallium: use align() intead of round_up() | Brian Paul | 2009-01-19 | 1 | -12/+2 |
| | |||||
* | Merge commit 'origin/gallium-0.2' into gallium-xlib-rework | Keith Whitwell | 2009-01-19 | 2 | -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 moves | Keith Whitwell | 2009-01-19 | 5 | -3/+513 |
| | | |||||
* | | xlib: don't explicitly create the pipe_winsys struct | Keith Whitwell | 2009-01-17 | 4 | -19/+53 |
| | | |||||
* | | xlib: split off cell to its own backend | Keith Whitwell | 2009-01-13 | 5 | -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 tracker | Keith Whitwell | 2009-01-13 | 8 | -191/+96 |
| | | |||||
* | | xlib: move state tracker to glx/xlib | Keith Whitwell | 2009-01-09 | 1 | -3/+3 |
| | | | | | | | | Also, remove makefile hacks. | ||||
* | | xlib: disable more cell calls when GALLIUM_CELL not defined | Keith Whitwell | 2009-01-09 | 1 | -0/+4 |
| | | |||||
* | | xlib: combine and eliminate some header files | Keith Whitwell | 2009-01-09 | 1 | -4/+3 |
| | | |||||
* | | cell: fix breakage from xlib re-org | Brian Paul | 2009-01-08 | 3 | -1/+9 |
| | | | | | | | | Some of these fixes are quick band-aids for now. | ||||
* | | gallium: split driver-independent code out of xlib winsys | Keith Whitwell | 2009-01-08 | 24 | -7957/+753 |
|/ | | | | Place in new xlib state-tracker. This is a statetracker for the GLX API. | ||||
* | cell: fix build breakage | Brian Paul | 2008-12-19 | 1 | -0/+4 |
| | |||||
* | winsys: fix depth buffer size when using stencil | Brian Paul | 2008-12-17 | 1 | -0/+3 |
| | |||||
* | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | 2008-12-10 | 1 | -2/+2 |
|\ | |||||
| * | gallium: restore default_depth_bits() call in xlib winsys | Brian Paul | 2008-12-10 | 1 | -2/+2 |
| | | | | | | | | This was accidentally disabled in a long-ago commit. | ||||
| * | cell: fix twiddled tile display for XSHM. Fixed blank window problem. | Brian Paul | 2008-09-12 | 1 | -5/+12 |
| | | |||||
* | | scons: Don't hardcode any drivers for the xlib winsys, just pick suitable ones. | Michel Dänzer | 2008-10-23 | 1 | -9/+13 |
| | | |||||
* | | cell: disable XShmPutImage for tiled surface for now | Brian Paul | 2008-09-19 | 1 | -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 Paul | 2008-09-12 | 1 | -5/+12 |
|/ | |||||
* | cell: fix tile twidding bug seen in the event of multiple expose events | Brian Paul | 2008-09-11 | 1 | -10/+9 |
| | |||||
* | gallium: typo: s/PIPE_FORMAT_Z16UNORM/PIPE_FORMAT_Z16_UNORM/ | Brian Paul | 2008-09-11 | 1 | -1/+1 |
| | |||||
* | cell: checkpoint commit of new per-fragment processing | Brian Paul | 2008-09-11 | 2 | -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é Fonseca | 2008-09-08 | 1 | -1/+3 |
| | |||||
* | gallium: do image clipping in xmesa_display_surface_tiled() | Brian Paul | 2008-09-03 | 1 | -5/+11 |
| | |||||
* | cell: move misplaced assertions; put them after ximage is assigned. | Brian Paul | 2008-09-03 | 1 | -4/+4 |
| | |||||
* | Cell: added linux-cell-debug config | Brian Paul | 2008-09-03 | 1 | -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é Fonseca | 2008-09-03 | 2 | -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 Paul | 2008-08-27 | 1 | -0/+1 |
| | |||||
* | gallium: thread wrapper clean-up | Brian Paul | 2008-08-26 | 3 | -28/+10 |
| | | | | | In p_thread.h replace _glthread_* functions with new pipe_* functions. Remove other old cruft. | ||||
* | gallium: include u_math.h | Brian Paul | 2008-08-25 | 1 | -1/+2 |
| | |||||
* | gallium: include u_memory.h, u_math.h | Brian | 2008-08-24 | 1 | -0/+1 |
| | |||||
* | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | 2008-08-24 | 3 | -3/+3 |
| | | | | Also, rename p_tile.[ch] to u_tile.[ch] |