summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldriver.h
Commit message (Collapse)AuthorAgeFilesLines
* egl: Add a simple cache for driver probe.Chia-I Wu2010-01-201-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 Wu2010-01-201-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 Wu2010-01-201-8/+0
| | | | Remove _eglPreloadDriver, _eglLookupDriver, and _eglSplitDisplayString.
* egl: Add _eglPreloadDrivers.Chia-I Wu2010-01-201-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 Wu2010-01-051-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 Wu2009-08-211-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 Wu2009-08-181-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 Wu2009-08-181-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 Wu2009-08-181-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 queryBrian Paul2008-06-201-0/+2
|
* egl: clean up prototype code, new _eglFindAPIs() function.Brian Paul2008-06-191-0/+4
|
* egl: make _eglChooseDRMDriver() non-staticBrian Paul2008-06-061-0/+3
|
* egl: new eglGetProcAddress() codeBrian Paul2008-05-301-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 stateBrian Paul2008-05-301-1/+2
|
* egl: added Name field to _EGLDriver so a driver name string can propogate up ↵Brian Paul2008-05-291-1/+3
| | | | through EGL_VERSION string
* egl: remove unused Display fieldBrian Paul2008-05-281-2/+0
|
* egl: move a few small functions into new eglmisc.[ch] filesBrian Paul2008-05-281-13/+0
|
* egl: make sure EGL_VERSION_STRING query returns same version as eglInitialize()Brian Paul2008-05-281-5/+6
|
* egl: include egldefines.hBrian Paul2008-05-281-4/+2
|
* egl: added args string to _eglMain()Brian Paul2008-05-281-2/+2
|
* minor overhaul/re-org of driver selection/loading codeBrian Paul2008-05-271-3/+3
|
* some initial EGL 1.2 workBrian Paul2006-01-301-0/+1
|
* Put extension flags, string into separate struct.Brian Paul2005-11-291-7/+14
|
* Move all the EGL API function pointers into a new _egl_api struct.Brian Paul2005-11-241-93/+2
|
* More EGL prep. No impact on anything outside of EGLJon Smirl2005-08-051-4/+1
|
* remove eglQueryDisplayMESA()Brian Paul2005-05-171-2/+0
|
* use EGLint instead of unsigned long for eglCopyContextMESA, added commentsBrian Paul2005-05-161-1/+1
|
* added boolean extension flags to _EGLDriverBrian Paul2005-05-161-0/+10
|
* Add empty placeholder for eglCopyContextMESAJon Smirl2005-05-141-0/+2
|
* First attempt at getting egl support up on dumb framebuffer.Jon Smirl2005-05-131-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 Paul2005-05-041-3/+16
|
* initial EGL codeBrian Paul2005-04-221-0/+141