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.
This commit is contained in:
Chia-I Wu
2010-01-19 18:39:59 +08:00
parent 925f8113be
commit cf22fd5e5b
3 changed files with 34 additions and 19 deletions

View File

@@ -26,7 +26,6 @@ struct _egl_display
EGLNativeDisplayType NativeDisplay;
const char *DriverName;
_EGLDriver *Driver;
void *DriverData; /* private to driver */