commit | a1d57dba8714e93dcc4820e4c069378ab4509d6f | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <ppaalanen@gmail.com> | Tue Apr 17 15:02:08 2012 +0300 |
committer | Pekka Paalanen <ppaalanen@gmail.com> | Tue Apr 17 15:12:17 2012 +0300 |
tree | 81e666850a3ff7cd3722818605e246776cd0f826 | |
parent | 45fab0e8e6d905bc110e9d080ad651057d234ffe [diff] |
compositor: make GL_EXT_read_format_bgra optional Some GL implementations do not provide GL_EXT_read_format_bgra extension. Set a glReadPixels format based on whether the extensions is supported or not, and use that format in all backends. Add RGBA->BGRA swapping copy to screenshooter to keep the shm buffer data format as BGRA. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>