aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_draw_quad.c
Commit message (Collapse)AuthorAgeFilesLines
* gallium: Unify reference counting.Michel Dänzer2009-03-041-1/+1
| | | | | | | | | | | | | | 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().
* util: set vbuf.max_index in draw_vertex_buffer()Keith Whitwell2009-02-271-0/+2
| | | | (cherry picked from commit 1350f2efba5eeceebe0e711db6152c29e9889ce7)
* gallium: make p_winsys internalZack Rusin2009-01-301-1/+0
| | | | | move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
* gallium: standardize on stride instead of pitch in the interfaceZack Rusin2009-01-271-1/+1
|
* gallium: avoid mapping same vertex buffer in subsequent framesKeith Whitwell2008-12-121-2/+3
| | | | | | | | | | | Quite a few util modules were maintaining a single vertex buffer over multiple frames, and potentially reusing it in subsequent frames. Unfortunately that would force us into syncrhonous rendering as the buffer manager would be forced to wait for the previous rendering to complete prior to allowing the map. This resolves that issue, but requires the state tracker to issue a few new flush() calls at the end of each frame.
* gallium: Use pipe_buffer_* inlines as much as possible.José Fonseca2008-09-041-5/+5
|
* gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.José Fonseca2008-09-031-1/+1
| | | | | We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed.
* gallium: handle null ptrsBrian Paul2008-05-081-41/+40
|
* gallium: Set vertex state/buffers en-mass.Brian Paul2008-03-291-7/+9
|
* gallium: added util_draw_vertex_buffer()Brian2008-03-201-20/+39
|
* gallium: new util_draw_texquad() function.Brian2008-03-171-0/+112