Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | egl: EGL_SCREEN_BIT_MESA is a valid bit. | Chia-I Wu | 2010-01-12 | 1 | -0/+1 |
| | | | | | | Update _eglValidateConfig so that it passes the test. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: Fix eglCheckConfigHandle. | Chia-I Wu | 2009-10-15 | 1 | -5/+4 |
| | | | | | | A stupid bug by me made the check void. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: Rework config lookup. | Chia-I Wu | 2009-09-29 | 1 | -47/+45 |
| | | | | | | | Make it similiar to how contexts and surfaces are looked up. It should be slightly faster, and work better with multiple displays. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: Rework configuration management. | Chia-I Wu | 2009-09-29 | 1 | -198/+640 |
| | | | | | | | | This mainly implements the algorithms for configuration selection and sorting, described in the spec. User errors should also be correctly detected and reported. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: Introduce config keys. | Chia-I Wu | 2009-09-29 | 1 | -20/+6 |
| | | | | | | | | | | Config keys are almost config attributes. A valid config attribute is a valid config key, but a valid config key may not be a valid config attribute. This commit does not distinguish the differences. Signed-off-by: Chia-I Wu <[email protected]> | ||||
* | egl: Overhaul driver API. | Chia-I Wu | 2009-08-18 | 1 | -14/+4 |
| | | | | | | | | | | | | 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: Silence warnings on x86-64. | Chia-Wu | 2009-07-31 | 1 | -1/+1 |
| | | | | | | | 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 <[email protected]> | ||||
* | egl: if a surface type isn't defined let's default to EGL_WINDOW_BIT | Alan Hourihane | 2009-02-19 | 1 | -0/+3 |
| | |||||
* | egl: fix default value of EGL_SURFACE_TYPE, added some sanity check assertions | Brian Paul | 2008-06-28 | 1 | -3/+9 |
| | |||||
* | egl: These changes allow an eglBindAPI(EGL_OPENGL_ES_API) to succeed, and to ↵ | Robert Ellison | 2008-06-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | 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.) | ||||
* | egl: added null ptr check | Brian Paul | 2008-06-20 | 1 | -2/+4 |
| | |||||
* | egl: in _eglAddConfig() just save a pointer to the config; don't copy the config | Brian Paul | 2008-06-04 | 1 | -12/+13 |
| | | | | This allows subclassing by drivers. | ||||
* | Move some config-related utility functions into new eglconfigutil.c file. | Brian Paul | 2008-05-27 | 1 | -252/+1 |
| | |||||
* | minor overhaul/re-org of driver selection/loading code | Brian Paul | 2008-05-27 | 1 | -3/+1 |
| | |||||
* | added _eglGet*Handle() functions | Brian Paul | 2008-05-27 | 1 | -0/+12 |
| | | | | | | 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. | ||||
* | assorted changes to compile with new EGL 1.4 headers (untested) | Brian Paul | 2008-05-27 | 1 | -2/+6 |
| | |||||
* | some initial EGL 1.2 work | Brian Paul | 2006-01-30 | 1 | -3/+33 |
| | |||||
* | implement config sorting for eglChooseConfig() | Brian Paul | 2005-12-10 | 1 | -33/+51 |
| | |||||
* | Redo _eglInitSurface() so it can be used with all surface types. | Brian Paul | 2005-11-27 | 1 | -8/+12 |
| | | | | Redo _eglInitContext() to do error checking, attribute list parsing, etc. | ||||
* | change error test in _eglParseConfigAttribs() | Brian Paul | 2005-11-24 | 1 | -2/+5 |
| | |||||
* | init attribs to EGL_DONT_CARE in _eglParseConfigAttribs() | Brian Paul | 2005-11-24 | 1 | -1/+4 |
| | |||||
* | use _eglLog() | Brian Paul | 2005-11-23 | 1 | -4/+7 |
| | |||||
* | remove glmode stuff | Brian Paul | 2005-05-17 | 1 | -102/+14 |
| | |||||
* | more work on _eglConfigToContextModesRec() | Brian Paul | 2005-05-17 | 1 | -3/+4 |
| | |||||
* | Fix several internal problems with generating the list of configs. | Jon Smirl | 2005-05-17 | 1 | -2/+3 |
| | |||||
* | restore _eglSetConfigAttrib (for now), added prototype ↵ | Brian Paul | 2005-05-16 | 1 | -23/+56 |
| | | | | _eglConfigToContextModesRec() | ||||
* | make _eglSetConfigAtrib() a static function, and rename it | Brian Paul | 2005-05-16 | 1 | -83/+90 |
| | |||||
* | A few egl patches needed for glitz, mainly config BITS | Jon Smirl | 2005-05-15 | 1 | -4/+10 |
| | |||||
* | First attempt at getting egl support up on dumb framebuffer. | Jon Smirl | 2005-05-13 | 1 | -13/+318 |
| | | | | 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 | -0/+26 |
| | |||||
* | initial EGL code | Brian Paul | 2005-04-22 | 1 | -0/+286 |