Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-04 | gallium: Remove some superfluous instances of #include "p_inlines.h". | Michel Dänzer | |
2009-03-04 | gallium: 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-25 | gallium: Add support for BSD operating systems, tested with FreeBSD | Benjamin 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-20 | gallium: Improve makefiles for libraries | Jakob 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-18 | gallium: Fix up trace driver for introduction of struct pipe_transfer. | Michel Dänzer | |
2009-02-18 | util: 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-02 | gallium: remove pipe_buffer from surfaces | Zack 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-30 | gallium: make p_winsys internal | Zack Rusin | |
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage | |||
2009-01-29 | gallium: give the screen priority when it comes to buffer allocations | Zack 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-27 | gallium: remove redundant size from the constant buffer | Zack Rusin | |
reuse the size of the actual buffer | |||
2009-01-27 | gallium: it's a reference value, not a reference number | Zack Rusin | |
2009-01-27 | gallium: standardize api on the prefix "nr" | Zack Rusin | |
2009-01-27 | gallium: standardize naming of masks | Zack Rusin | |
2009-01-27 | gallium: standardize on stride instead of pitch in the interface | Zack Rusin | |
2009-01-20 | gallium: 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. | |||
2009-01-09 | Merge commit 'origin/gallium-0.2' into gallium-xlib-rework | Keith Whitwell | |
Conflicts: progs/glsl/Makefile | |||
2009-01-08 | gallium: split driver-independent code out of xlib winsys | Keith Whitwell | |
Place in new xlib state-tracker. This is a statetracker for the GLX API. | |||
2009-01-08 | gallium: Replace uint64 by standard uint64_t. | José Fonseca | |
uint64 is not (so?) standard, and often redefined by third parties, causing name clashes. | |||
2008-09-16 | trace: Fix typo in build instructions. | José Fonseca | |
2008-09-08 | trace: Request a growable file. | José Fonseca | |
2008-09-08 | trace: Use util's stream. | José Fonseca | |
2008-08-24 | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | |
Also, rename p_tile.[ch] to u_tile.[ch] | |||
2008-08-23 | trace: Include u_string.h. | Michal Krol | |
2008-08-22 | trace: Don't trace texture/surfaces releases, only destructions. | José Fonseca | |
2008-08-22 | trace: Use a 4 hexadecimal digit suffix. | José Fonseca | |
2008-08-21 | trace: Hack to detect writes to user buffers. | José Fonseca | |
It often happens that new data is written directly to the user buffers without mapping/unmapping. This hack marks user buffers and dumps them before passing them to pipe context. | |||
2008-08-21 | trace: Split the output stream on windows. | José Fonseca | |
Because windows limits the ammount of memory that can be mapped. | |||
2008-08-19 | trace: Fix pipe_clip_state dump. | José Fonseca | |
2008-08-19 | trace: Support C++. | José Fonseca | |
2008-08-18 | trace: Explain how to integrate with a state tracker or winsys. | José Fonseca | |
2008-08-18 | trace: Preliminary stream implementation for GDI. | José Fonseca | |
2008-08-18 | trace: Use long longs to ensure covering 64bits integers. | José Fonseca | |
2008-08-18 | trace: Get the trace file from the GALLIUM_TRACE option itself. | José Fonseca | |
2008-08-15 | trace: Fix typo. | José Fonseca | |
2008-08-15 | trace: Wrap all textures and surface created by the pipe driver. | José Fonseca | |
That is, Unfortunately, this causes a regression in softpipe, where the output gets tyled. | |||
2008-08-15 | trace: Allow multiple screens. Flush after call. | José Fonseca | |
2008-08-15 | trace: Several fixes. | José Fonseca | |
2008-08-15 | trace: Trace surface contents. | José Fonseca | |
2008-08-15 | trace: Make stream a global variable. | José Fonseca | |
This not only simplifies the code, but allows to use atexit() to ensure the log is closed when applications don't exit cleanly. | |||
2008-08-14 | trace: Update status. | José Fonseca | |
2008-08-14 | trace: Separate the trace screen/context vs the original screen/context. | José Fonseca | |
2008-08-12 | trace: More dump fixes. | José Fonseca | |
2008-08-12 | trace: Fix create_blend_state dump. | José Fonseca | |
2008-08-12 | trace: Dump polygon stipple state as an array. | José Fonseca | |
2008-08-12 | trace: Fix create_depth_stencil_alpha_state trace. | José Fonseca | |
2008-08-12 | trace: Dump pipe_{depth,stencil,alpha}_state names. | José Fonseca | |
2008-08-12 | trace: Replace buffer_map+memcpy+buffer_unmap by buffer_write | José Fonseca | |
2008-08-12 | trace: Zero the buffers to avoid dumping uninitialized memory. | José Fonseca | |
2008-08-12 | trace: Fix hexadecimal dumping. | José Fonseca | |
2008-08-12 | trace: Trace winsys/screen/context creation. | José Fonseca | |