summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace
Commit message (Collapse)AuthorAgeFilesLines
* trace: Dump the fence, not its pointer.José Fonseca2009-04-091-2/+6
|
* trace: Use 'flags' name consistently.José Fonseca2009-04-091-6/+6
|
* trace: Make calls dumping threadsafe.José Fonseca2009-04-081-0/+7
|
* trace: Make call no global.José Fonseca2009-04-081-3/+4
|
* trace: Simplify cast wrappers.José Fonseca2009-04-085-58/+29
|
* trace: Match pipe_context::clear prototype.José Fonseca2009-04-081-7/+4
|
* gallium: Clean up driver clear() interface.Michel Dänzer2009-04-041-8/+13
| | | | | Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
* gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer2009-03-261-2/+0
|
* trace: Defer the cast to after the check for enabled trace.José Fonseca2009-03-251-2/+5
| | | | Prevents segfault when trace is disabled.
* trace: Update readme.José Fonseca2009-03-251-3/+3
| | | | | Actually, the trace driver with the xlib statetracker is still causing assertion failures here..
* trace: Number calls.José Fonseca2009-03-252-1/+12
|
* Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun ccAlan Coopersmith2009-03-251-2/+2
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* trace: Fix args to buffer writeJakob Bornecrantz2009-03-221-1/+1
|
* gallium: remove remaining references to origin_lower_leftKeith Whitwell2009-03-211-1/+0
|
* trace: Formalize on a standard for data size pairJakob Bornecrantz2009-03-191-10/+11
|
* trace: Fix memory leakJakob Bornecrantz2009-03-161-1/+2
|
* trace: Re-init refcounters just incaseJakob Bornecrantz2009-03-162-0/+5
|
* trace: Dump buffer data via buffer writesJakob Bornecrantz2009-03-162-64/+37
|
* gallium: Use struct pipe_atomic for pipe refcounts.Thomas Hellstrom2009-03-161-1/+1
| | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* gallium: consolidate bypass_vs and bypass_clipping flagsKeith Whitwell2009-03-131-2/+1
| | | | | | | | | 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.
* trace: Fix some typosJakob Bornecrantz2009-03-131-2/+2
|
* gallium: Remove do_flip argument from surface_copyJakob Bornecrantz2009-03-131-3/+1
| | | | | | | I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
* trace: Wrap pipe_buffersJakob Bornecrantz2009-03-127-20/+215
|
* trace: Add dump util functions for wrapped pointersJakob Bornecrantz2009-03-122-1/+58
|
* trace: Move buffer functions from winsys to screenJakob Bornecrantz2009-03-118-548/+458
|
* trace: Remove all whitespace at EOLJakob Bornecrantz2009-03-1111-297/+297
|
* trace: Fixup trace a bitJakob Bornecrantz2009-03-113-51/+61
|
* trace: Fixup trace a bitJakob Bornecrantz2009-03-111-7/+18
|
* gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer2009-03-041-1/+0
|
* gallium: Unify reference counting.Michel Dänzer2009-03-044-98/+48
| | | | | | | | | | | | | | 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().
* gallium: Add support for BSD operating systems, tested with FreeBSDBenjamin Close2009-02-251-2/+2
| | | | | | | | | | 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]>
* gallium: Improve makefiles for librariesJakob Bornecrantz2009-02-201-5/+1
| | | | | | | | The template makefile that most libraries in gallium included was based on dri and had a bunch unrelevant junk in it. Update it and improve the depending makefiles.
* gallium: Fix up trace driver for introduction of struct pipe_transfer.Michel Dänzer2009-02-185-29/+200
|
* util: Move p_debug.h into util module.José Fonseca2009-02-183-3/+3
| | | | | 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: 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: make p_winsys internalZack Rusin2009-01-302-17/+17
| | | | | 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-291-16/+16
| | | | | | 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-272-3/+3
|
* gallium: standardize naming of masksZack Rusin2009-01-271-2/+2
|
* gallium: standardize on stride instead of pitch in the interfaceZack Rusin2009-01-271-2/+2
|
* gallium: Remove the standalone surfaces.José Fonseca2009-01-202-65/+17
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell2009-01-091-2/+2
|\ | | | | | | | | | | Conflicts: progs/glsl/Makefile
| * gallium: Replace uint64 by standard uint64_t.José Fonseca2009-01-081-2/+2
| | | | | | | | | | uint64 is not (so?) standard, and often redefined by third parties, causing name clashes.
* | gallium: split driver-independent code out of xlib winsysKeith Whitwell2009-01-081-0/+18
|/ | | | Place in new xlib state-tracker. This is a statetracker for the GLX API.
* trace: Fix typo in build instructions.José Fonseca2008-09-161-1/+1
|
* trace: Request a growable file.José Fonseca2008-09-081-1/+1
|
* trace: Use util's stream.José Fonseca2008-09-085-354/+6
|
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-249-8/+9
| | | | Also, rename p_tile.[ch] to u_tile.[ch]