egl_dri2: refactor droid_get_buffers_with_format
authorChia-I Wu <olv@lunarg.com>
Fri, 26 Aug 2011 15:49:04 +0000 (23:49 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 31 Aug 2011 03:51:54 +0000 (11:51 +0800)
commit384f228a2573ce592854f58c45564f75419fe987
tree2d84763af60dfbb9e0ad5bc4563caf6777a87799
parent357d3f30f36878a3010547b669f055a2043cbbaa
egl_dri2: refactor droid_get_buffers_with_format

Move the loop to parse attachments to its own function.

Reviewed-by: Chad Versace <chad@chad-versace.us>
src/egl/drivers/dri2/platform_android.c