summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-05-07 22:50:19 -0700
committerEric Anholt <eric@anholt.net>2009-05-08 14:18:04 -0700
commit1d663ae2925ffadf419ddbea9eca8d5706ea6510 (patch)
treeab4166feb855a94335743c8019f97b3e8dee27aa /src/mesa/drivers/dri/i915
parentb6e94f71c2bfc63497e2c8265179f19babe87688 (diff)
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%.
Diffstat (limited to 'src/mesa/drivers/dri/i915')
l---------src/mesa/drivers/dri/i915/intel_generatemipmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_generatemipmap.c b/src/mesa/drivers/dri/i915/intel_generatemipmap.c
new file mode 120000
index 0000000000..4c6b37ada0
--- /dev/null
+++ b/src/mesa/drivers/dri/i915/intel_generatemipmap.c
@@ -0,0 +1 @@
+../intel/intel_generatemipmap.c \ No newline at end of file