Use XPutImage() for glDrawPixels() and XCopyArea() for glCopyPixels() when
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 29 Nov 2003 19:36:08 +0000 (19:36 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 29 Nov 2003 19:36:08 +0000 (19:36 +0000)
commitde0dd65aeec33284019a766ac113028cf9bffe5b
tree5eb7f702b560715080bf373a68b7a503f5a68b91
parente90de7883a3bd9afd27ac83314f08cf9f03f60e3
Use XPutImage() for glDrawPixels() and XCopyArea() for glCopyPixels() when
possible (when pixel formats match and drawing to front buffer with no
raster operations).
Results in 10-100x speed-up when applicable.
src/mesa/drivers/x11/xm_dd.c