summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/trace
AgeCommit message (Collapse)Author
2009-06-18trace: Use size_t consistently.José Fonseca
2009-04-20trace: Add initializer for static variablesJakob Bornecrantz
2009-04-19trace: Enable dumping to be turned on and offJakob Bornecrantz
2009-04-17trace: Keep screen objects on listsJakob Bornecrantz
2009-04-17trace: Fix is_referenced functionsJakob Bornecrantz
2009-04-17trace: Simplify trace_buffer functionJakob Bornecrantz
2009-04-15gallium: Make sure we flush before some texture / buffer operations.Thomas Hellstrom
Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-09trace: Dump the fence, not its pointer.José Fonseca
2009-04-09trace: Use 'flags' name consistently.José Fonseca
2009-04-08trace: Make calls dumping threadsafe.José Fonseca
2009-04-08trace: Make call no global.José Fonseca
2009-04-08trace: Simplify cast wrappers.José Fonseca
2009-04-08trace: Match pipe_context::clear prototype.José Fonseca
2009-04-04gallium: Clean up driver clear() interface.Michel Dänzer
Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
2009-03-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
2009-03-25trace: Defer the cast to after the check for enabled trace.José Fonseca
Prevents segfault when trace is disabled.
2009-03-25trace: Update readme.José Fonseca
Actually, the trace driver with the xlib statetracker is still causing assertion failures here..
2009-03-25trace: Number calls.José Fonseca
2009-03-25Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun ccAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-22trace: Fix args to buffer writeJakob Bornecrantz
2009-03-21gallium: remove remaining references to origin_lower_leftKeith Whitwell
2009-03-19trace: Formalize on a standard for data size pairJakob Bornecrantz
2009-03-16trace: Fix memory leakJakob Bornecrantz
2009-03-16trace: Re-init refcounters just incaseJakob Bornecrantz
2009-03-16trace: Dump buffer data via buffer writesJakob Bornecrantz
2009-03-16gallium: Use struct pipe_atomic for pipe refcounts.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-13gallium: consolidate bypass_vs and bypass_clipping flagsKeith Whitwell
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.
2009-03-13trace: Fix some typosJakob Bornecrantz
2009-03-13gallium: Remove do_flip argument from surface_copyJakob Bornecrantz
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
2009-03-12trace: Wrap pipe_buffersJakob Bornecrantz
2009-03-12trace: Add dump util functions for wrapped pointersJakob Bornecrantz
2009-03-11trace: Move buffer functions from winsys to screenJakob Bornecrantz
2009-03-11trace: Remove all whitespace at EOLJakob Bornecrantz
2009-03-11trace: Fixup trace a bitJakob Bornecrantz
2009-03-11trace: Fixup trace a bitJakob Bornecrantz
2009-03-04gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer
2009-03-04gallium: Unify reference counting.Michel Dänzer
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().
2009-02-25gallium: Add support for BSD operating systems, tested with FreeBSDBenjamin Close
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 <Benjamin.Close@clearchain.com>
2009-02-20gallium: Improve makefiles for librariesJakob Bornecrantz
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.
2009-02-18gallium: Fix up trace driver for introduction of struct pipe_transfer.Michel Dänzer
2009-02-18util: Move p_debug.h into util module.José Fonseca
The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
2009-02-02gallium: remove pipe_buffer from surfacesZack Rusin
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.
2009-01-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-29gallium: give the screen priority when it comes to buffer allocationsZack Rusin
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
2009-01-27gallium: remove redundant size from the constant bufferZack Rusin
reuse the size of the actual buffer
2009-01-27gallium: it's a reference value, not a reference numberZack Rusin
2009-01-27gallium: standardize api on the prefix "nr"Zack Rusin
2009-01-27gallium: standardize naming of masksZack Rusin
2009-01-27gallium: standardize on stride instead of pitch in the interfaceZack Rusin
2009-01-20gallium: Remove the standalone surfaces.José Fonseca
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.