commit | a5e95a419e4f6ad93e35a960113d97ae2de27476 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Tue Apr 17 10:49:16 2012 -0600 |
committer | Brian Paul <brianp@vmware.com> | Tue Apr 17 13:22:18 2012 -0600 |
tree | 58ab7b7bffec132a9ad3911cd48ecbab334173b2 | |
parent | b814506e87f2de8b76fe6bcfa8d2f5daf4f5ef64 [diff] |
mesa: add a couple fast-paths to fast_read_rgba_pixels_memcpy() Accelerates a few glReadPixels cases for WebGL. See https://bugs.freedesktop.org/show_bug.cgi?id=48545 v2: Per Jose, use bit twiddling for the swizzle case instead of ubyte arrays (it's about 44% faster). Note: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <jfonseca@vmware.com>