Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | egl: Add a simple cache for driver probe. | Chia-I Wu | 2010-01-20 | 1 | -0/+8 |
| | | | | | | In current design, multiple drivers will probe the same display and the best driver is determined. The cache can be used by the drivers to store and share the probed data. | ||||
* | egl: Improve driver matching. | Chia-I Wu | 2010-01-20 | 1 | -3/+16 |
| | | | | | Make drv->Probe return a score so that the matching can be done by finding the driver with the highest score. | ||||
* | egl: Remove unused driver and display functions. | Chia-I Wu | 2010-01-20 | 1 | -8/+0 |
| | | | | Remove _eglPreloadDriver, _eglLookupDriver, and _eglSplitDisplayString. | ||||
* | egl: Add _eglPreloadDrivers. | Chia-I Wu | 2010-01-20 | 1 | -1/+5 |
| | | | | | | It can be used to load the user driver specified by EGL_DRIVER, or a set of drivers specified by EGL_DISPLAY, or the default driver, and in that order. | ||||
* | egl: Fix breakage from -fvisibility=hidden. | Chia-I Wu | 2010-01-05 | 1 | -3/+4 |
| | | | | | | Mark EGL API and driver functions as PUBLIC. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: Remove dependency on libX11. | Chia-I Wu | 2009-08-21 | 1 | -4/+0 |
| | | | | | | | | | | | | libX11 is used to determine the screen number, which is in turned used to determine the DRI driver. However, the sysfs interface for determining the DRI driver is gone, and no working driver depends on this mechanism. Display string parsing is moved to a new function, _eglSplitDisplayString. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: Some per-driver data should be per-display. | Chia-I Wu | 2009-08-18 | 1 | -26/+1 |
| | | | | | | | Move some fields of _EGLDriver to _EGLDisplay. It also becomes unnecessary to pass _EGLDisplay to drivers when _eglMain is called. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: Change the way drivers are loaded. | Chia-I Wu | 2009-08-18 | 1 | -4/+11 |
| | | | | | | | | | Driver is chosen and preloaded when eglGetDisplay is called. Later when eglInitialize is called, the same driver is matched to initialize the display. Also, add new, but unused, hooks to EGLDriver to allow a driver to probe a display or unload itself. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: Overhaul driver API. | Chia-I Wu | 2009-08-18 | 1 | -1/+1 |
| | | | | | | | | | | | | The motivation is so that drivers do not need to look up and check for bad display, context, and etc. It also becomes unnecessary for drivers to call the link functions. This commit makes eglapi.[ch] do the lookup and check. As a result, the driver API is overhauled, and almost all sources and drivers need update. The updates are mainly find and replace with human brains. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: implment EGL_LARGEST_PBUFFER query | Brian Paul | 2008-06-20 | 1 | -0/+2 |
| | |||||
* | egl: clean up prototype code, new _eglFindAPIs() function. | Brian Paul | 2008-06-19 | 1 | -0/+4 |
| | |||||
* | egl: make _eglChooseDRMDriver() non-static | Brian Paul | 2008-06-06 | 1 | -0/+3 |
| | |||||
* | egl: new eglGetProcAddress() code | Brian Paul | 2008-05-30 | 1 | -0/+4 |
| | | | | | The idea is to pass the call down to the device driver where an API-specific query can be made. Untested. | ||||
* | egl: clean-up re-org of the client API state | Brian Paul | 2008-05-30 | 1 | -1/+2 |
| | |||||
* | egl: added Name field to _EGLDriver so a driver name string can propogate up ↵ | Brian Paul | 2008-05-29 | 1 | -1/+3 |
| | | | | through EGL_VERSION string | ||||
* | egl: remove unused Display field | Brian Paul | 2008-05-28 | 1 | -2/+0 |
| | |||||
* | egl: move a few small functions into new eglmisc.[ch] files | Brian Paul | 2008-05-28 | 1 | -13/+0 |
| | |||||
* | egl: make sure EGL_VERSION_STRING query returns same version as eglInitialize() | Brian Paul | 2008-05-28 | 1 | -5/+6 |
| | |||||
* | egl: include egldefines.h | Brian Paul | 2008-05-28 | 1 | -4/+2 |
| | |||||
* | egl: added args string to _eglMain() | Brian Paul | 2008-05-28 | 1 | -2/+2 |
| | |||||
* | minor overhaul/re-org of driver selection/loading code | Brian Paul | 2008-05-27 | 1 | -3/+3 |
| | |||||
* | some initial EGL 1.2 work | Brian Paul | 2006-01-30 | 1 | -0/+1 |
| | |||||
* | Put extension flags, string into separate struct. | Brian Paul | 2005-11-29 | 1 | -7/+14 |
| | |||||
* | Move all the EGL API function pointers into a new _egl_api struct. | Brian Paul | 2005-11-24 | 1 | -93/+2 |
| | |||||
* | More EGL prep. No impact on anything outside of EGL | Jon Smirl | 2005-08-05 | 1 | -4/+1 |
| | |||||
* | remove eglQueryDisplayMESA() | Brian Paul | 2005-05-17 | 1 | -2/+0 |
| | |||||
* | use EGLint instead of unsigned long for eglCopyContextMESA, added comments | Brian Paul | 2005-05-16 | 1 | -1/+1 |
| | |||||
* | added boolean extension flags to _EGLDriver | Brian Paul | 2005-05-16 | 1 | -0/+10 |
| | |||||
* | Add empty placeholder for eglCopyContextMESA | Jon Smirl | 2005-05-14 | 1 | -0/+2 |
| | |||||
* | First attempt at getting egl support up on dumb framebuffer. | Jon Smirl | 2005-05-13 | 1 | -2/+5 |
| | | | | Seems to be mostly working. Not all of egl API is implemented. | ||||
* | sync with latest EGL_MESA_screen_surface spec (EGLScreenMESA handles) | Brian Paul | 2005-05-04 | 1 | -3/+16 |
| | |||||
* | initial EGL code | Brian Paul | 2005-04-22 | 1 | -0/+141 |