diff options
author | Chad Versace <[email protected]> | 2011-11-14 08:56:26 -0800 |
---|---|---|
committer | Chad Versace <[email protected]> | 2011-11-21 16:58:36 -0800 |
commit | c2ddde70daece24d1eb7185946032158993a9e4d (patch) | |
tree | 37468d650a75b5d2551b0e72b14cb7563178c363 /src/glu/sgi | |
parent | da2816a45e6e3a33246a341fee72e6f893f315d9 (diff) |
intel: Refactor intel_mipmap_level offsets
Add a new field, intel_mipmap_level::slice, and move the offset fields
into it. Also add some much needed documentation for these fields.
Before this patch, a separate array was allocated for the
intel_mipmap_level::{x,y}_offsets. This was just silly; it incurred an
extra call to malloc and diminished memory locality.
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/glu/sgi')
0 files changed, 0 insertions, 0 deletions