egl: Improve driver matching.
authorChia-I Wu <olvaffe@gmail.com>
Tue, 19 Jan 2010 10:39:59 +0000 (18:39 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 20 Jan 2010 09:44:11 +0000 (17:44 +0800)
commitcf22fd5e5b13ccdb02ba0368ea722ede3bbc6de0
treea0d8b791cd341b3108616c31014ef883922d12da
parent925f8113beba03e956351cee6780b1c7ab76add8
egl: Improve driver matching.

Make drv->Probe return a score so that the matching can be done by
finding the driver with the highest score.
src/egl/main/egldisplay.h
src/egl/main/egldriver.c
src/egl/main/egldriver.h