intel: If a tex image doesn't fit in the object's tree, make a temporary tree.
authorEric Anholt <eric@anholt.net>
Fri, 25 Jul 2008 19:17:58 +0000 (12:17 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 25 Jul 2008 19:19:50 +0000 (12:19 -0700)
commitff60e3fa031504b403766324b1fae3ccacec6650
tree277c6cf680446639efb0e9d9bd4ff617c3768448
parent2e3714380027252ba17a11f23eae851d3f77ab02
intel: If a tex image doesn't fit in the object's tree, make a temporary tree.

Previously, we would just store the data as malloced memory hanging off the
object, which would get memcpyed in at validate time.  This broke an
oglconform render-to-texture test, since validate wasn't called but a miptree
was expected.
src/mesa/drivers/dri/intel/intel_tex_image.c