intel: Add a metaops version of glGenerateMipmapEXT/SGIS_generate_mipmaps.
authorEric Anholt <eric@anholt.net>
Fri, 8 May 2009 05:50:19 +0000 (22:50 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 8 May 2009 21:18:04 +0000 (14:18 -0700)
commit1d663ae2925ffadf419ddbea9eca8d5706ea6510
treeab4166feb855a94335743c8019f97b3e8dee27aa
parentb6e94f71c2bfc63497e2c8265179f19babe87688
intel: Add a metaops version of glGenerateMipmapEXT/SGIS_generate_mipmaps.

In addition to being HW accelerated, it avoids the incorrect
(black) rendering of the mipmaps that SW was doing in fbo-generatemipmap.
Improves the performance of the mipmap generation and drawing in
fbo-generatemipmap by 30%.
src/mesa/drivers/dri/i915/intel_generatemipmap.c [new symlink]
src/mesa/drivers/dri/i965/Makefile
src/mesa/drivers/dri/i965/intel_generatemipmap.c [new symlink]
src/mesa/drivers/dri/intel/intel_context.h
src/mesa/drivers/dri/intel/intel_generatemipmap.c [new file with mode: 0644]
src/mesa/drivers/dri/intel/intel_pixel.c
src/mesa/drivers/dri/intel/intel_tex.c
src/mesa/drivers/dri/intel/intel_tex_copy.c
src/mesa/drivers/dri/intel/intel_tex_image.c
src/mesa/drivers/dri/intel/intel_tex_subimage.c