Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'gallium-texture-transfer' | Michel Dänzer | 2009-02-18 | 8 | -106/+209 |
|\ | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c | ||||
| * | Merge branch 'master' into gallium-texture-transfer | Keith Whitwell | 2009-02-16 | 25 | -201/+210 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c | ||||
| * | | gallium: Fix a couple of potential NULL pointer dereferences. | Michel Dänzer | 2009-02-12 | 1 | -22/+33 |
| | | | | | | | | | | | | A lot more test programs work. | ||||
| * | | softpipe: Unbreak keeping track of cached surface. | Michel Dänzer | 2009-02-12 | 1 | -4/+3 |
| | | | | | | | | | | | | glxgears works. | ||||
| * | | Cosmetic: Rename struct pipe_transfer pointers from 'ps' to 'pt'. | Michel Dänzer | 2009-02-12 | 1 | -14/+14 |
| | | | | | | | | | | | | Missed these for the initial gallium-texture-transfer commit. | ||||
| * | | gallium: No longer allow CPU mapping surfaces directly. | Michel Dänzer | 2009-02-05 | 8 | -105/+198 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Merge commit 'origin/draw-vbuf-interface' | Keith Whitwell | 2009-02-18 | 1 | -13/+32 |
|\ \ \ | |||||
| * | | | softpipe: update to new draw interfaces | Keith Whitwell | 2009-02-17 | 1 | -13/+32 |
| | |/ | |/| | |||||
* / | | softpipe: some improvements to texture tile cache | Brian Paul | 2009-02-16 | 1 | -4/+12 |
|/ / | | | | | | | | | | | | | | | | | Use a somewhat better function in tex_cache_pos() to get better caching. Increase number of cache entries to 50. Also fix a texture invalidation bug. If texture is marked as modified, invalidate all texture tiles. | ||||
* | | softpipe: asst clean-ups, const correctness, comments | Brian Paul | 2009-02-11 | 1 | -14/+16 |
| | | |||||
* | | softpipe: remove unneeded #include | Brian Paul | 2009-02-11 | 1 | -1/+0 |
| | | |||||
* | | softpipe: asst comments, clean-ups | Brian Paul | 2009-02-11 | 1 | -12/+10 |
| | | |||||
* | | softpipe: remove some old polygon stipple stuff and do some clean-ups | Brian Paul | 2009-02-11 | 2 | -21/+8 |
| | | |||||
* | | softpipe: updated comments | Brian | 2009-02-11 | 1 | -7/+19 |
| | | |||||
* | | softpipe: rename PRIM_x to QUAD_PRIM_x | Brian | 2009-02-11 | 4 | -11/+12 |
| | | |||||
* | | softpipe: rename sp_headers.h to sp_quad.h | Brian | 2009-02-11 | 17 | -20/+19 |
| | | | | | | | | This header describes the quad-related datatypes afterall. | ||||
* | | softpipe: rename single-include preprocessor symbol, add comments | Brian | 2009-02-11 | 1 | -3/+8 |
| | | |||||
* | | softpipe: rename sp_quad.[ch] -> sp_quad_pipe.[ch] | Brian | 2009-02-11 | 18 | -16/+16 |
| | | | | | | | | Be more consistant with 'draw' module. | ||||
* | | softpipe: add null ptr check in softpipe_map_constant_buffers() | Brian Paul | 2009-02-09 | 1 | -2/+8 |
| | | | | | | | | Fixes segfault regression in progs/glsl/identity.c | ||||
* | | softpipe: simplify an assertion | Brian Paul | 2009-02-07 | 1 | -1/+1 |
|/ | |||||
* | gallium: remove pipe_buffer from surfaces | Zack Rusin | 2009-02-02 | 2 | -9/+14 |
| | | | | | | | 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. | ||||
* | gallium: initialize simple screen in drivers | Zack Rusin | 2009-01-31 | 1 | -0/+2 |
| | |||||
* | gallium: make p_winsys internal | Zack Rusin | 2009-01-30 | 4 | -15/+15 |
| | | | | | move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage | ||||
* | gallium: give the screen priority when it comes to buffer allocations | Zack Rusin | 2009-01-29 | 4 | -15/+15 |
| | | | | | | allows the driver to overwrite buffer allocation, first step on the way to making winsys interface internal to the drivers. state trackers and the code above it will go through the screen | ||||
* | gallium: remove redundant size from the constant buffer | Zack Rusin | 2009-01-27 | 2 | -4/+3 |
| | | | | reuse the size of the actual buffer | ||||
* | gallium: it's a reference value, not a reference number | Zack Rusin | 2009-01-27 | 1 | -1/+1 |
| | |||||
* | gallium: standardize api on the prefix "nr" | Zack Rusin | 2009-01-27 | 10 | -14/+14 |
| | |||||
* | gallium: standardize naming of masks | Zack Rusin | 2009-01-27 | 1 | -2/+2 |
| | |||||
* | gallium: Remove the standalone surfaces. | José Fonseca | 2009-01-20 | 2 | -36/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | gallium: Replace uint64 by standard uint64_t. | José Fonseca | 2009-01-08 | 2 | -4/+4 |
| | | | | | uint64 is not (so?) standard, and often redefined by third parties, causing name clashes. | ||||
* | softpipe: increase number of texture samplers/units to PIPE_MAX_SAMPLERS (16) | Brian Paul | 2009-01-02 | 1 | -2/+2 |
| | |||||
* | Merge commit 'origin/gallium-0.1' into gallium-0.2 | José Fonseca | 2008-12-31 | 1 | -17/+34 |
|\ | |||||
| * | softpipe: Don't fill surfaces's winsys fields. | José Fonseca | 2008-12-22 | 1 | -2/+0 |
| | | | | | | | | | | This is sometimes checked to distinguish between texture views and (deprecated) standalone surfaces. | ||||
| * | softpipe: Call surface_alloc_storage to get the pipebuffer for display targets. | José Fonseca | 2008-12-22 | 1 | -15/+34 |
| | | | | | | | | | | Otherwise blitting from display target surfaces to front screen fails in several platforms. | ||||
| * | softpipe: initialize refcount and winsys | Jerome Glisse | 2008-12-22 | 1 | -0/+2 |
| | | |||||
| * | softpipe: convert to use texture instead of surface | Jerome Glisse | 2008-12-22 | 1 | -35/+30 |
| | | |||||
* | | gallium: Remove unused variables. | José Fonseca | 2008-12-30 | 1 | -1/+0 |
| | | |||||
* | | softpipe: initialize refcount and winsys | Jerome Glisse | 2008-12-18 | 1 | -0/+2 |
| | | |||||
* | | softpipe: convert to use texture instead of surface | Jerome Glisse | 2008-12-18 | 1 | -35/+30 |
| | | |||||
* | | softpipe: fix vertex shader texture sampling | Brian Paul | 2008-12-17 | 5 | -43/+98 |
| | | | | | | | | | | Need to disable/bypass lambda calculation since derivatives of texcoords are meaningless for adjacent vertices. | ||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Alan Hourihane | 2008-12-15 | 1 | -0/+2 |
|\| | | | | | | | | | | | Conflicts: src/gallium/winsys/gdi/SConscript | ||||
| * | softpipe: Add missing header include. | Michal Krol | 2008-12-11 | 1 | -0/+2 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | 2008-12-10 | 1 | -0/+20 |
|\| | |||||
| * | gallium: added draw_set_mrd() function to fix polygon offset | Brian Paul | 2008-12-10 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | The Minimum Resolvable Depth factor depends on the driver and can't just be computed from the number of Z buffer bits. Glean's polygon offset test now passes with softpipe. Still need to determine the MRD factor for other gallium drivers, if they use the draw module's polygon offset stage... | ||||
* | | softpipe: plug in softpipe's texture samplers into draw module. | Brian | 2008-12-04 | 2 | -0/+18 |
| | | |||||
* | | gallium: added PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query | Brian | 2008-12-04 | 1 | -0/+2 |
| | | |||||
* | | softpipe: minor tweaks, clean-ups | Brian | 2008-12-01 | 1 | -13/+4 |
| | | |||||
* | | softpipe: compute nearest/linear texcoords four at a time. | Brian | 2008-12-01 | 1 | -335/+413 |
| | | | | | | | | A small step toward SIMD-izing the code. | ||||
* | | gallium: minor texture-related clean-ups, comments, etc | Brian | 2008-12-01 | 2 | -17/+17 |
| | | |||||
* | | softpipe: Fix function prototype. | Michal Krol | 2008-11-25 | 2 | -2/+2 |
| | |