Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | gallium: make p_winsys internal | Zack Rusin | 2009-01-30 | 3 | -30/+50 |
| | | | | | 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 | 3 | -37/+107 |
| | | | | | | 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 | 1 | -1/+0 |
| | | | | 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 | 1 | -1/+1 |
| | |||||
* | gallium: standardize naming of masks | Zack Rusin | 2009-01-27 | 1 | -3/+3 |
| | |||||
* | gallium: standardize on stride instead of pitch in the interface | Zack Rusin | 2009-01-27 | 2 | -2/+2 |
| | |||||
* | gallium: Remove the standalone surfaces. | José Fonseca | 2009-01-20 | 3 | -53/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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: minor reformatting | Brian Paul | 2009-01-19 | 1 | -6/+9 |
| | |||||
* | Merge commit 'origin/gallium-0.2' into gallium-xlib-rework | Keith Whitwell | 2009-01-19 | 2 | -0/+34 |
|\ | |||||
| * | gallium: Add PIPE_BUFFER_USAGE_DISCARD. | Younes Manton | 2009-01-18 | 1 | -0/+1 |
| | | | | | | | | | | | | When passed to map() signals that the buffer's previous contents are not required, allowing the driver to allocate a new buffer if the current buffer can not be mapped immediately. | ||||
| * | egl: Add a egl state_tracker that use Gallium | Jakob Bornecrantz | 2009-01-18 | 1 | -0/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | This works on top Gallium and KMS. The only thing that does not work currently is swap buffers for shown mesa screens. So the only fun thing this will produce is a white screen. The driver wishing to us the state_tracker needs to implement the intrace as define in drm_api.h located in gallium/include/state_tracker. And also have a working KMS implementation. | ||||
* | | debug: add noprefix version of debug_dump_enum | Keith Whitwell | 2009-01-17 | 1 | -0/+5 |
|/ | |||||
* | gallium: Define PIPE_TEXTURE_USAGE_DYNAMIC. | Younes Manton | 2009-01-10 | 1 | -0/+1 |
| | | | | | Knowing how the client intends to use the texture will give the driver the opportunity to optimize for such cases. | ||||
* | gallium: Replace uint64 by standard uint64_t. | José Fonseca | 2009-01-08 | 2 | -2/+1 |
| | | | | | uint64 is not (so?) standard, and often redefined by third parties, causing name clashes. | ||||
* | gallium: Don't redefine INLINE. | José Fonseca | 2008-12-30 | 1 | -14/+16 |
| | | | | INLINE is commonly used in third-party headers. | ||||
* | gallium: Fix PIPE_FORMAT_X8B8G8R8_SNORM definition. | Michal Krol | 2008-12-15 | 1 | -1/+1 |
| | |||||
* | gallium: fixes for srgb, new srgb formats | Roland Scheidegger | 2008-12-12 | 1 | -8/+27 |
| | | | | | | | | add some more srgb texture formats, including compressed ones various fixes relating to srgb formats issues: the util code for generating mipmaps will not handle srgb formats correctly (would need to use a linear->srgb conversion shader) | ||||
* | gallium: added PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS query | Brian | 2008-12-04 | 1 | -0/+1 |
| | |||||
* | gallium: Make room for custom PIPE_TEXTURE_USAGE_* flags. | Younes Manton | 2008-12-02 | 1 | -0/+2 |
| | |||||
* | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Alan Hourihane | 2008-11-25 | 1 | -0/+8 |
|\ | | | | | | | | | | | | | Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer.h | ||||
| * | gallium: Define convenience shortcuts for CPU/GPU READ/WRITE flag combinations. | José Fonseca | 2008-11-24 | 1 | -0/+8 |
| | | |||||
* | | tgsi: doxygen comments | Brian Paul | 2008-11-24 | 1 | -20/+20 |
| | | |||||
* | | tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization | Brian Paul | 2008-11-24 | 1 | -1/+3 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | 2008-11-05 | 1 | -1/+1 |
|\| | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/rtasm/rtasm_execmem.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_log.c src/mesa/state_tracker/st_atom_framebuffer.c | ||||
| * | gallium: recognize DEBUG as well as DBG for debugging | Keith Whitwell | 2008-10-28 | 1 | -1/+1 |
| | | |||||
* | | gallium: Ensure refcounts of live objects are never zero. | José Fonseca | 2008-11-03 | 1 | -12/+18 |
| | | |||||
* | | gallium: implement tests for PPC/PPC64 | Brian Paul | 2008-10-21 | 1 | -1/+4 |
| | | |||||
* | | gallium: Introduce PIPE_ARCH_SSE define for SSE support. | José Fonseca | 2008-10-07 | 1 | -0/+8 |
| | | | | | | | | | | | | | | Besides meaning x86 and x86-64 architecture, it also depends on SSE2 support enabled on gcc. This fixes the linux-debug build. | ||||
* | | cell: align instruction buffers to 8-byte, not 32-byte boundary | Brian Paul | 2008-09-26 | 1 | -2/+2 |
| | | |||||
* | | gallium: added ALIGN32_ATTRIB | Brian Paul | 2008-09-19 | 1 | -0/+2 |
| | | |||||
* | | gallium: Fix doxygen comments. | José Fonseca | 2008-09-19 | 4 | -7/+40 |
|/ | |||||
* | util: Dump surfaces to BMP. | José Fonseca | 2008-09-08 | 1 | -0/+3 |
| | | | | This allows quick inspection of surfaces in mass scale. | ||||
* | gallium: Add pipe_thread primitives for PIPE_OS_LINUX. | Michal Krol | 2008-09-05 | 1 | -1/+22 |
| | |||||
* | gallium: Add pipe_thread primitives for PIPE_SUBSYSTEM_WINDOWS_USER config. | Michal Krol | 2008-09-05 | 1 | -0/+24 |
| | |||||
* | gallium: New pf_has_alpha utility function. | José Fonseca | 2008-09-05 | 1 | -0/+29 |
| | |||||
* | gallium: comments about nblocksx/y, etc | Brian Paul | 2008-09-03 | 1 | -7/+7 |
| | |||||
* | gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context. | José Fonseca | 2008-09-03 | 1 | -14/+14 |
| | | | | | We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed. | ||||
* | gallium: removed p_pointer.h (use util/u_pointer.h instead) | Brian Paul | 2008-09-01 | 1 | -95/+0 |
| | |||||
* | gallium: s/PIPE_OS_WINDOWS/PIPE_SUBSYSTEM_WINDOWS_USER/ in p_thread. | José Fonseca | 2008-08-28 | 1 | -6/+5 |
| | | | | | | | PIPE_OS_WINDOWS is an umbrella for all Windows variants and subsystems, PIPE_SUBSYSTEM_WINDOWS_USER is just for user-space windows (e.g., OpenGL), and the thread primitives currently included in p_thread only support the later. | ||||
* | gallium: s/_glthread_Cond/unsigned/ in p_thread.h | Brian Paul | 2008-08-27 | 1 | -1/+1 |
| | |||||
* | gallium: Add dummy defines of pipe_condvar for Windows to make it compile. | Michal Krol | 2008-08-27 | 1 | -0/+9 |
| | |||||
* | gallium: thread wrapper clean-up | Brian Paul | 2008-08-26 | 1 | -237/+129 |
| | | | | | In p_thread.h replace _glthread_* functions with new pipe_* functions. Remove other old cruft. | ||||
* | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | 2008-08-24 | 1 | -460/+0 |
| | | | | Also, rename p_tile.[ch] to u_tile.[ch] |