diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2006-09-07 16:23:22 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2006-09-07 16:23:22 +0000 |
commit | 1456a0fff6a68dac046aaa57585eadf65ad66892 (patch) | |
tree | 0e00c34aa2d3ae1c644e2057a9c92b792c10aba2 /src/mesa/drivers/dri/i965/bufmgr.h | |
parent | 133f14168009393c5f396d218521625cb79b653f (diff) |
Use lower alignments where possible. Also pad out allocated blocks to
a multiple of alignment to avoid accumulating unusable free blocks.
Diffstat (limited to 'src/mesa/drivers/dri/i965/bufmgr.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/bufmgr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/bufmgr.h b/src/mesa/drivers/dri/i965/bufmgr.h index 50fbcda50b..63e1011a76 100644 --- a/src/mesa/drivers/dri/i965/bufmgr.h +++ b/src/mesa/drivers/dri/i965/bufmgr.h @@ -84,7 +84,8 @@ int bmInitPool( struct intel_context *, * understood, and drivers can just pass the calls through without too * much thunking. */ -void bmGenBuffers(struct intel_context *, const char *, unsigned n, struct buffer **buffers); +void bmGenBuffers(struct intel_context *, const char *, unsigned n, struct buffer **buffers, + int align ); void bmDeleteBuffers(struct intel_context *, unsigned n, struct buffer **buffers); |