summaryrefslogtreecommitdiff
path: root/src/egl/main/eglconfig.c
AgeCommit message (Collapse)Author
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-31egl: Silence warnings on x86-64.Chia-Wu
Casting an unsigned int to or from a pointer directly gives warnings on x86-64. Add wrappers to silence the warnings. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-02-19egl: if a surface type isn't defined let's default to EGL_WINDOW_BITAlan Hourihane
2008-06-28egl: fix default value of EGL_SURFACE_TYPE, added some sanity check assertionsBrian Paul
2008-06-27egl: These changes allow an eglBindAPI(EGL_OPENGL_ES_API) to succeed, and to ↵Robert Ellison
work correctly with GLES1 and GLES2. - egl_xdri.c just sets the EGL_OPENGL_ES_BIT as well as the EGL_OPENGL_BIT in ClientAPIsMask - eglconfig.c allows the renderable type to include EGL_OPENGL_ES2_BIT as well as EGL_OPENGL_ES_BIT. - egl_xlib.c sets the EGL_NATIVE_RENDERABLE attribute to EGL_FALSE for all softpipe configurations. (Otherwise, an eglChooseConfig() that looks for particular values of EGL_NATIVE_RENDERABLE will fail.)
2008-06-20egl: added null ptr checkBrian Paul
2008-06-04egl: in _eglAddConfig() just save a pointer to the config; don't copy the configBrian Paul
This allows subclassing by drivers.
2008-05-27Move some config-related utility functions into new eglconfigutil.c file.Brian Paul
2008-05-27minor overhaul/re-org of driver selection/loading codeBrian Paul
2008-05-27added _eglGet*Handle() functionsBrian Paul
These are the inverse of the _eglLookup*() functions. Returns the public handle for a private surface/config/display/etc. Removes glapi.c's direct access of private fields.
2008-05-27assorted changes to compile with new EGL 1.4 headers (untested)Brian Paul
2006-01-30some initial EGL 1.2 workBrian Paul
2005-12-10implement config sorting for eglChooseConfig()Brian Paul
2005-11-27Redo _eglInitSurface() so it can be used with all surface types.Brian Paul
Redo _eglInitContext() to do error checking, attribute list parsing, etc.
2005-11-24change error test in _eglParseConfigAttribs()Brian Paul
2005-11-24init attribs to EGL_DONT_CARE in _eglParseConfigAttribs()Brian Paul
2005-11-23use _eglLog()Brian Paul
2005-05-17remove glmode stuffBrian Paul
2005-05-17more work on _eglConfigToContextModesRec()Brian Paul
2005-05-17Fix several internal problems with generating the list of configs.Jon Smirl
2005-05-16restore _eglSetConfigAttrib (for now), added prototype ↵Brian Paul
_eglConfigToContextModesRec()
2005-05-16make _eglSetConfigAtrib() a static function, and rename itBrian Paul
2005-05-15A few egl patches needed for glitz, mainly config BITSJon 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