diff options
author | Chia-I Wu <[email protected]> | 2011-01-13 00:27:45 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-01-13 18:10:38 +0800 |
commit | 655e4598927728a663f4cfcd6babdf7e5ad83f77 (patch) | |
tree | fa937088bf0e27f51311c86dfbc016c103331f00 /src/egl/main/egldriver.h | |
parent | a4a38dcf61f141297a083ccac217200947d57b0d (diff) |
egl: Simplify driver matching.
Add initialization options that drv->API.Initialize should support.
Replace drv->Probe by TestOnly initialization option and simplify
_eglMatchDriver.
Diffstat (limited to 'src/egl/main/egldriver.h')
-rw-r--r-- | src/egl/main/egldriver.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h index d6177579193..3cde102d12d 100644 --- a/src/egl/main/egldriver.h +++ b/src/egl/main/egldriver.h @@ -44,16 +44,6 @@ struct _egl_driver const char *Name; /**< name of this driver */ /** - * Probe a display and return a score. - * - * Roughly, - * 50 means the driver supports the display; - * 90 means the driver can accelerate the display; - * 100 means a perfect match. - */ - EGLint (*Probe)(_EGLDriver *drv, _EGLDisplay *dpy); - - /** * Release the driver resource. * * It is called before dlclose(). @@ -81,7 +71,7 @@ _eglMain(const char *args); extern _EGLDriver * -_eglMatchDriver(_EGLDisplay *dpy, EGLBoolean probe_only); +_eglMatchDriver(_EGLDisplay *dpy, EGLBoolean test_only); extern __eglMustCastToProperFunctionPointerType |