summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
Commit message (Collapse)AuthorAgeFilesLines
* gallium: fixup #includes: p_screen.h does not need anything in p_state.hBrian Paul2009-02-051-1/+3
|
* gallium: move 'struct pipe_winsys'Brian Paul2009-02-053-1/+3
| | | | Not used in p_state.h but used in p_context.h and p_screen.h
* gallium: remove pipe_buffer from surfacesZack Rusin2009-02-021-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 screensZack Rusin2009-01-301-1/+0
| | | | forwards screen calls to the winsys
* gallium: make p_winsys internalZack Rusin2009-01-303-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 allocationsZack Rusin2009-01-293-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 bufferZack Rusin2009-01-271-1/+0
| | | | reuse the size of the actual buffer
* gallium: it's a reference value, not a reference numberZack Rusin2009-01-271-1/+1
|
* gallium: standardize api on the prefix "nr"Zack Rusin2009-01-271-1/+1
|
* gallium: standardize naming of masksZack Rusin2009-01-271-3/+3
|
* gallium: standardize on stride instead of pitch in the interfaceZack Rusin2009-01-272-2/+2
|
* gallium: Remove the standalone surfaces.José Fonseca2009-01-203-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 reformattingBrian Paul2009-01-191-6/+9
|
* Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell2009-01-192-0/+34
|\
| * gallium: Add PIPE_BUFFER_USAGE_DISCARD.Younes Manton2009-01-181-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 GalliumJakob Bornecrantz2009-01-181-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_enumKeith Whitwell2009-01-171-0/+5
|/
* gallium: Define PIPE_TEXTURE_USAGE_DYNAMIC.Younes Manton2009-01-101-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é Fonseca2009-01-082-2/+1
| | | | | uint64 is not (so?) standard, and often redefined by third parties, causing name clashes.
* gallium: Don't redefine INLINE.José Fonseca2008-12-301-14/+16
| | | | INLINE is commonly used in third-party headers.
* gallium: Fix PIPE_FORMAT_X8B8G8R8_SNORM definition.Michal Krol2008-12-151-1/+1
|
* gallium: fixes for srgb, new srgb formatsRoland Scheidegger2008-12-121-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 queryBrian2008-12-041-0/+1
|
* gallium: Make room for custom PIPE_TEXTURE_USAGE_* flags.Younes Manton2008-12-021-0/+2
|
* Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane2008-11-251-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é Fonseca2008-11-241-0/+8
| |
* | tgsi: doxygen commentsBrian Paul2008-11-241-20/+20
| |
* | tgsi: add tgsi_declaration fields for centroid sampling, invariant optimizationBrian Paul2008-11-241-1/+3
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-11-051-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 debuggingKeith Whitwell2008-10-281-1/+1
| |
* | gallium: Ensure refcounts of live objects are never zero.José Fonseca2008-11-031-12/+18
| |
* | gallium: implement tests for PPC/PPC64Brian Paul2008-10-211-1/+4
| |
* | gallium: Introduce PIPE_ARCH_SSE define for SSE support.José Fonseca2008-10-071-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 boundaryBrian Paul2008-09-261-2/+2
| |
* | gallium: added ALIGN32_ATTRIBBrian Paul2008-09-191-0/+2
| |
* | gallium: Fix doxygen comments.José Fonseca2008-09-194-7/+40
|/
* util: Dump surfaces to BMP.José Fonseca2008-09-081-0/+3
| | | | This allows quick inspection of surfaces in mass scale.
* gallium: Add pipe_thread primitives for PIPE_OS_LINUX.Michal Krol2008-09-051-1/+22
|
* gallium: Add pipe_thread primitives for PIPE_SUBSYSTEM_WINDOWS_USER config.Michal Krol2008-09-051-0/+24
|
* gallium: New pf_has_alpha utility function.José Fonseca2008-09-051-0/+29
|
* gallium: comments about nblocksx/y, etcBrian Paul2008-09-031-7/+7
|
* gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.José Fonseca2008-09-031-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 Paul2008-09-011-95/+0
|
* gallium: s/PIPE_OS_WINDOWS/PIPE_SUBSYSTEM_WINDOWS_USER/ in p_thread.José Fonseca2008-08-281-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.hBrian Paul2008-08-271-1/+1
|
* gallium: Add dummy defines of pipe_condvar for Windows to make it compile.Michal Krol2008-08-271-0/+9
|
* gallium: thread wrapper clean-upBrian Paul2008-08-261-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.hBrian Paul2008-08-241-460/+0
| | | | Also, rename p_tile.[ch] to u_tile.[ch]
* gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h headerBrian Paul2008-08-221-13/+0
|
* gallium: replace align_int() with align()Brian Paul2008-08-221-8/+3
| | | | The two functions are identical. Removed align_int() from p_util.h