summaryrefslogtreecommitdiff
path: root/src/egl/main/egldriver.h
AgeCommit message (Collapse)Author
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: 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>
2008-06-20egl: implment EGL_LARGEST_PBUFFER queryBrian Paul
2008-06-19egl: clean up prototype code, new _eglFindAPIs() function.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-29egl: added Name field to _EGLDriver so a driver name string can propogate up ↵Brian Paul
through EGL_VERSION string
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: added args string to _eglMain()Brian Paul
2008-05-27minor overhaul/re-org of driver selection/loading codeBrian Paul
2006-01-30some initial EGL 1.2 workBrian Paul
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-08-05More EGL prep. No impact on anything outside of EGLJon Smirl
2005-05-17remove eglQueryDisplayMESA()Brian Paul
2005-05-16use EGLint instead of unsigned long for eglCopyContextMESA, added commentsBrian Paul
2005-05-16added boolean extension flags to _EGLDriverBrian Paul
2005-05-14Add empty placeholder for eglCopyContextMESAJon Smirl
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