intel: Add acceleration for glDrawPixels(GL_STENCIL_INDEX).
authorEric Anholt <eric@anholt.net>
Fri, 26 Sep 2008 02:11:03 +0000 (19:11 -0700)
committerAlan Hourihane <alanh@tungstengraphics.com>
Wed, 15 Oct 2008 10:17:45 +0000 (11:17 +0100)
commit90e4e4117e2e7dbbe4093b3ad8494f072940fbbe
tree4f726f5fafc8b41ff6bd83d212220433ecdb510a
parent41ccdde767e7aba6e8e6a9a035eacd6338c03a95
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