summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dlopen.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-08-30 12:37:15 -0700
committerEric Anholt <[email protected]>2013-09-30 14:35:42 -0700
commit6ca9b532d825797741a2fef519f17c21e0d6cb94 (patch)
tree51ed5539a8433fe6cf003208dc31e1997c7124b2 /src/mesa/main/dlopen.h
parent3b9a2dc9385cd59471fd57def0bb70d7d902b5ed (diff)
i965: Stop allocating miptrees with first_level != 0.
If the caller shows up with GL_BASE_LEVEL != 0, it doesn't mean that the texture will over the course of its lifetime have that nonzero baselevel, it means that the caller is filling the texture from the bottom up for some reason (one could imagine demand-loading detailed texture layers at runtime, for example). If we allocate from just the current baselevel, it means when they come along with the next level up, we'll have to allocate a new miptree and copy all of our bits out of the first miptree. Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/main/dlopen.h')
0 files changed, 0 insertions, 0 deletions