summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/pipebuffer/pb_bufmgr_ondemand.c
AgeCommit message (Collapse)Author
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-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-01-29pipebuffer: Ondemand buffer manager.José Fonseca
A variation of malloc buffers which get transferred to real graphics memory when there is an attempt to validate them.
2008-12-12Revert "pipebuffer: Ondemand buffer manager."Keith Whitwell
This reverts commit 17849eafaacfbb2124d86f561a91b707317d3b31.
2008-11-24pipebuffer: Ondemand buffer manager.José Fonseca
A variation of malloc buffers which get transferred to real graphics memory when there is an attempt to validate them.