intel: Add acceleration for glDrawPixels(GL_STENCIL_INDEX).
authorEric Anholt <eric@anholt.net>
Fri, 26 Sep 2008 02:11:03 +0000 (19:11 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 11 Oct 2008 10:17:08 +0000 (03:17 -0700)
commit5c39bad220c801490ac3d99af01d4c4a7e05dfd6
tree84b75f6174a496cd6e7e80f2ab8decf213736f1a
parent24748268a3ac7bedc2c9ae5bf76c4c741d539f80
intel: Add acceleration for glDrawPixels(GL_STENCIL_INDEX).

This is nasty because there's no way in GL to output data to the stencil
buffer directly, so we have to do a dance to wrap the depth/stencil buffer
in an ARGB renderbuffer.

Improves performance of several oglconform testcases by better than a factor
of 2.
src/mesa/drivers/dri/intel/intel_pixel_draw.c