mesa: handle the pbo case for save_Bitmap
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Sat, 15 Oct 2011 14:44:18 +0000 (22:44 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 19 Oct 2011 01:29:44 +0000 (09:29 +0800)
commit02b801c1edec6400a4192e3e5b0595b13b771b18
treee48951bc22768be98e85f6aae392dc599d9b8d1d
parent403cf7c56fc6decb7636114dc1dadb7adf99a7a4
mesa: handle the pbo case for save_Bitmap

Wrap _mesa_unpack_bitmap to handle the case that data is stored in pixel
buffer object.

This would make calling Bitmap with data stored in PBO by display list work.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/dlist.c