Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: Remove some little-used fields from struct pipe_surface. | Michel Dänzer | 2009-03-26 | 2 | -10/+0 |
| | |||||
* | Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun cc | Alan Coopersmith | 2009-03-25 | 3 | -9/+32 |
| | | | | Signed-off-by: Alan Coopersmith <[email protected]> | ||||
* | gallium: Remove remnants of reference counting internals outside of p_refcnt.h. | Michel Dänzer | 2009-03-23 | 1 | -2/+10 |
| | |||||
* | gallium: remove remaining references to origin_lower_left | Keith Whitwell | 2009-03-21 | 1 | -1/+0 |
| | |||||
* | gallium: Explain what happens if buffer_flush_mapped_range isn't called. | José Fonseca | 2009-03-20 | 1 | -0/+7 |
| | |||||
* | pipe/atomic: dont use ms interlock calls from gcc | Keith Whitwell | 2009-03-18 | 1 | -1/+2 |
| | |||||
* | pipe/atomic: clean up #ifdef maze | Keith Whitwell | 2009-03-18 | 1 | -17/+135 |
| | |||||
* | gallium: Use `_new' name, `new' is a reserved keyword in C++. | Michal Krol | 2009-03-17 | 1 | -9/+9 |
| | |||||
* | gallium: Provide unprotected atomic implementation for display and miniport ↵ | Michal Krol | 2009-03-17 | 1 | -1/+15 |
| | | | | interfaces. | ||||
* | gallium: Implement atomic for MSVC on x86. | Michal Krol | 2009-03-16 | 1 | -1/+65 |
| | |||||
* | gallium: Implement atomic interface for windows user mode subsystem. | Michal Krol | 2009-03-16 | 1 | -1/+35 |
| | |||||
* | gallium: Use macro parameter names consistently. | Michal Krol | 2009-03-16 | 1 | -10/+10 |
| | |||||
* | gallium: pipe_mutex_init() is of type void. | Michal Krol | 2009-03-16 | 2 | -5/+2 |
| | | | | Both the windows and fallback versions are void already. | ||||
* | gallium: Include p_compiler.h for integer types. | Michal Krol | 2009-03-16 | 1 | -1/+1 |
| | |||||
* | gallium: Use struct pipe_atomic for pipe refcounts. | Thomas Hellstrom | 2009-03-16 | 1 | -6/+7 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium: Add simple atomic class api. | Thomas Hellstrom | 2009-03-16 | 1 | -0/+154 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium: consolidate bypass_vs and bypass_clipping flags | Keith Whitwell | 2009-03-13 | 1 | -3/+9 |
| | | | | | | | | | The draw module provides a similar interface to the driver which is retained as various bits of hardware may be able to take on incremental parts of the vertex pipeline. However, there's no need to advertise all this complexity to the state tracker. There are basically two modes now - normal and passthrough/screen-coords. | ||||
* | gallium: Remove do_flip argument from surface_copy | Jakob Bornecrantz | 2009-03-13 | 1 | -1/+0 |
| | | | | | | | I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me. | ||||
* | tgsi: Consider INDEX, NEGATE, MULTIPLYMATRIX opcodes for removal. | Michal Krol | 2009-03-10 | 1 | -3/+3 |
| | |||||
* | gallium: Fix p_refcnt.h for C++ compilers. | Michel Dänzer | 2009-03-09 | 1 | -0/+3 |
| | |||||
* | gallium: Use consistent semantics for map ranges in gallium. | José Fonseca | 2009-03-04 | 2 | -12/+20 |
| | | | | | Which are slightly different from ARB_map_buffer_range semantics, since gallium still supports more than one mapping of the same buffer. | ||||
* | gallium: Ensure map ranges are valid. | José Fonseca | 2009-03-04 | 1 | -0/+4 |
| | |||||
* | Merge commit 'origin/master' into gallium-map-range | José Fonseca | 2009-03-04 | 6 | -139/+126 |
|\ | |||||
| * | gallium: Unify reference counting. | Michel Dänzer | 2009-03-04 | 5 | -138/+125 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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(). | ||||
| * | st/drm: s/hocks/hooks/ | Jakob Bornecrantz | 2009-03-03 | 1 | -1/+1 |
| | | |||||
* | | gallium: Massage the interface to more closely resemble ARB_map_buffer_range | José Fonseca | 2009-03-03 | 2 | -71/+36 |
| | | |||||
* | | Merge commit 'origin/master' into gallium-map-range | José Fonseca | 2009-03-03 | 1 | -0/+1 |
|\| | |||||
| * | Merge commit 'origin/gallium-0.1' | Keith Whitwell | 2009-03-03 | 1 | -0/+1 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/include/pipe/p_defines.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c | ||||
| | * | gallium: New PIPE_BUFFER_USAGE_DONTBLOCK flag. | José Fonseca | 2009-03-02 | 1 | -0/+2 |
| | | | | | | | | | | | | To prevent blocking when mapping a buffer. | ||||
| | * | tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization | Brian Paul | 2009-01-06 | 1 | -1/+3 |
| | | | | | | | | | | | | (cherry picked from commit 434e255eae90b0f3d836d452b7d3b0c5aadf78b8) | ||||
| | * | gallium: Fix PIPE_FORMAT_X8B8G8R8_SNORM definition. | Michal Krol | 2008-12-15 | 1 | -1/+1 |
| | | | |||||
* | | | Merge commit 'origin/master' into gallium-map-range | José Fonseca | 2009-03-02 | 3 | -11/+29 |
|\| | | |||||
| * | | Include p_compiler.h in drm_api.h for boolean typedef. | Corbin Simpson | 2009-02-27 | 1 | -0/+2 |
| | | | |||||
| * | | st/drm: Seperate get handle for global buffer ids | Jakob Bornecrantz | 2009-02-27 | 1 | -3/+12 |
| | | | |||||
| * | | gallium: Add support for BSD operating systems, tested with FreeBSD | Benjamin Close | 2009-02-25 | 2 | -7/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BSD supports pipe in the same way as linux hence options which are safe for linux are also safe for BSD. Define PIPE_OS_BSD in include/pipe/p_config.h and adjust the defines to make use of it. Also define MAP_ANONYMOUS for BSD systems which use MAP_ANON Signed-off-by: Benjamin Close <[email protected]> | ||||
| * | | st/drm: Bring drm_api.h up to date with latest changes | Jakob Bornecrantz | 2009-02-25 | 1 | -4/+7 |
| | | | |||||
* | | | gallium: Allow to specify how much will be read / was written in buffer ↵ | José Fonseca | 2009-02-24 | 2 | -6/+93 |
|/ / | | | | | | | | | | | | | map/unmap. This allows the pipe driver to do more efficient DMA upload/downloads, by avoiding to read/write unneeded/unmodified data. | ||||
* | | gallium: Add pipe_buffer_write/read inlines. | José Fonseca | 2009-02-24 | 1 | -0/+38 |
| | | | | | | | | Saves code, and will simplify future interface changes. | ||||
* | | gallium: add winsys interface for viewport changes to support DRI2 | Alan Hourihane | 2009-02-23 | 1 | -0/+5 |
| | | |||||
* | | gallium: Define PIPE_PRIM_MAX. | José Fonseca | 2009-02-23 | 1 | -0/+1 |
| | | |||||
* | | gallium: Add pipe_transfer_reference(). | Michel Dänzer | 2009-02-18 | 1 | -0/+25 |
| | | |||||
* | | Merge branch 'gallium-texture-transfer' | Michel Dänzer | 2009-02-18 | 4 | -32/+53 |
|\ \ | | | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c | ||||
| * \ | Merge branch 'master' into gallium-texture-transfer | Keith Whitwell | 2009-02-16 | 4 | -7/+11 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c | ||||
| * | | | gallium: No longer allow CPU mapping surfaces directly. | Michel Dänzer | 2009-02-05 | 4 | -32/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -362/+2 |
| |/ / |/| | | | | | | | | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible. | ||||
* | | | gallium: Rename Size member of TGSI token to NrTokens. | Michal Krol | 2009-02-10 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | Driver writers often got confused and assumed Size to be the number of immediate values in Immediate declaration. | ||||
* | | | gallium: fixup #includes: p_screen.h does not need anything in p_state.h | Brian Paul | 2009-02-05 | 1 | -1/+3 |
| | | | |||||
* | | | gallium: move 'struct pipe_winsys' | Brian Paul | 2009-02-05 | 3 | -1/+3 |
|/ / | | | | | | | Not used in p_state.h but used in p_context.h and p_screen.h | ||||
* | | gallium: remove pipe_buffer from surfaces | Zack Rusin | 2009-02-02 | 1 | -1/+0 |
| | | | | | | | | | | | | | | 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: add a convience wrapper for simple screens | Zack Rusin | 2009-01-30 | 1 | -1/+0 |
| | | | | | | | | forwards screen calls to the winsys |