Hey, ajstarks
Your version seems already fairly short to me. Here's what I do in my little test suite, but that includes a few more things when choosing a config (like selecting RGB bitness, MSAA and depth buffering, or even directly selecting a config by id), and some portions of the routine are clearly candidates for their own subroutines, but I haven't bothered to move them out:
http://code.google.com/p/test-es/source ... cm.cpp#301
ps: cool openvg test app!
pps: in case you are curious about the test suite, it's multi-platform, and a work-in-progress. The only test-case app that currently works on the Pi (Raspbian) is the sans_shadows one; the skeleton test also builds but is having issues with the skinning vertex shader (Dom suggested the compiler might be running out of registers, which does seem to be the case).