summaryrefslogtreecommitdiff
path: root/src/egl/main/egldriver.c
AgeCommit message (Collapse)Author
2009-10-15egl: Rework the synchronization primitives.Chia-I Wu
This adds error checking to the synchronization primitives. And eglWaitGL is now implemented by eglWaitClient. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-13egl: Add support for driver built-in.Chia-I Wu
This allows an EGL driver to be compiled together with libEGL.so. It eliminates the need to specify a driver, or support module loading on new platforms. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-21egl: Make _eglChooseDriver return the filename of the driver.Chia-I Wu
The real difference is that the driver suffix is now appended. This also fixes an annoying bug that EGL_DRIVER could not specify the path to a driver because a suffix was always appended. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-21egl: Remove dependency on libX11.Chia-I Wu
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 <olvaffe@gmail.com>
2009-08-18egl: _eglCloseDriver should be no-op.Chia-I Wu
Move drv->API.Terminate call to eglTerminate. Remove _eglReleaseDisplayResource as drivers are doing it. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-18egl: Some per-driver data should be per-display.Chia-I Wu
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 <olvaffe@gmail.com>
2009-08-18egl: Change the way drivers are loaded.Chia-I Wu
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 <olvaffe@gmail.com>
2009-08-18egl: Overhaul driver API.Chia-I Wu
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 <olvaffe@gmail.com>
2009-07-17egl: Destroy display's resources upon termination.Chia-I Wu
eglTerminate should destroy the contexts and surfaces of the display. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2008-08-06egl: fixes for WindowsJonathan White
2008-08-05egl: changes for WindowsJonathan White
2008-06-19egl: clean up prototype code, new _eglFindAPIs() function.Brian Paul
2008-06-18egl: use RTLD_LAZYBrian Paul
2008-06-11egl: some prototype Windows code (eq for dlopen,dlsym)Brian Paul
2008-06-06egl: make _eglChooseDRMDriver() non-staticBrian Paul
2008-05-30egl: new eglGetProcAddress() codeBrian Paul
The idea is to pass the call down to the device driver where an API-specific query can be made. Untested.
2008-05-30egl: clean-up re-org of the client API stateBrian Paul
2008-05-30egl: check for EGL_DRIVER env var to override normal driver selection processBrian Paul
2008-05-28egl: remove unused Display fieldBrian Paul
2008-05-28egl: move a few small functions into new eglmisc.[ch] filesBrian Paul
2008-05-28egl: make sure EGL_VERSION_STRING query returns same version as eglInitialize()Brian Paul
2008-05-28egl: include egldefines.hBrian Paul
2008-05-28egl: bring card->driver lookup code into egldriver.cBrian Paul
2008-05-28egl: added args string to _eglMain()Brian Paul
2008-05-28egl: Temporarily disable eglx.[c|h] buildingJakob Bornecrantz
2008-05-27minor overhaul/re-org of driver selection/loading codeBrian Paul
2006-01-30some initial EGL 1.2 workBrian Paul
2005-12-10Some initial per-thread support.Brian Paul
Rename eglShowSurfaceMESA to eglShowScreenSurfaceMESA.
2005-11-29Put extension flags, string into separate struct.Brian Paul
2005-11-24Move all the EGL API function pointers into a new _egl_api struct.Brian Paul
2005-11-23use _eglLog()Brian Paul
2005-08-05More EGL prep. No impact on anything outside of EGLJon Smirl
2005-05-17remove eglQueryDisplayMESA()Brian Paul
2005-05-16separate ext strings with a spaceBrian Paul
2005-05-16added boolean extension flags to _EGLDriverBrian Paul
2005-05-13First attempt at getting egl support up on dumb framebuffer.Jon Smirl
Seems to be mostly working. Not all of egl API is implemented.
2005-05-04sync with latest EGL_MESA_screen_surface spec (EGLScreenMESA handles)Brian Paul
2005-04-22initial EGL codeBrian Paul