summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915tex/i915_tex_layout.c
AgeCommit message (Collapse)Author
2007-05-22unbreak 3d textures (typo when setting tex layout)Roland Scheidegger
2007-05-19fix miptree layout (i915) for small compressed mipmapsRoland Scheidegger
This seems to work now. Also fix i945 set_level_info, need to match i915 behaviour for storing mip height, as it's assumed to be the mip width (in texels) elsewhere and the division by 4 is done later (untested).
2007-03-07i945_miptree_layout: Adapt cubemap fixes from i915_miptree_layout.Michel Dänzer
Cubemaps aren't working fully correctly yet, but at least they don't seem to cause crashes anymore.
2007-02-24Fix broken cubemap mipmap layout (the cubemap.c demo was segfaulting).Brian
In i915_miptree_layout() change the width, height parameters that are passed to intel_miptree_set_level_info(). As it was, the width, height values were larger than the source image dimensions and we segfaulted in memcpy() when copying the original texture data into the texture buffer region. This fix should probably be checked by someone more familiar with the code (Keith?)
2006-12-14Avoid failing assertion in intel_miptree_set_image_offset() with cube maps.Michel Dänzer
Cube maps still aren't working quite correctly though.
2006-12-14Share code to lay out >= 945 style 2D mipmaps between i915tex and i965 drivers.Michel Dänzer
Use the i965 version as it has some fixes over the i915tex version.
2006-11-01Import texmem i915 driver to its new location as i915tex.Keith Whitwell