summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* egl: Rework config lookup.Chia-I Wu2009-09-291-6/+43
| | | | | | | 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 Wu2009-09-291-1/+21
| | | | | | | | 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 Wu2009-09-291-12/+74
| | | | | | | | | | 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 Wu2009-08-181-4/+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: bump up MAX_ATTRIBS, added assertionBrian Paul2008-07-071-2/+6
|
* egl: in _eglAddConfig() just save a pointer to the config; don't copy the configBrian Paul2008-06-041-1/+1
| | | | This allows subclassing by drivers.
* Move some config-related utility functions into new eglconfigutil.c file.Brian Paul2008-05-271-15/+0
|
* minor overhaul/re-org of driver selection/loading codeBrian Paul2008-05-271-4/+2
|
* added _eglGet*Handle() functionsBrian Paul2008-05-271-0/+4
| | | | | | 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 Paul2008-05-271-7/+13
|
* implement config sorting for eglChooseConfig()Brian Paul2005-12-101-8/+0
|
* remove glmode stuffBrian Paul2005-05-171-1/+0
|
* more work on _eglConfigToContextModesRec()Brian Paul2005-05-171-1/+5
|
* restore _eglSetConfigAttrib (for now), added prototype ↵Brian Paul2005-05-161-0/+3
| | | | _eglConfigToContextModesRec()
* make _eglSetConfigAtrib() a static function, and rename itBrian Paul2005-05-161-4/+0
|
* First attempt at getting egl support up on dumb framebuffer.Jon Smirl2005-05-131-1/+14
| | | | 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-0/+4
|
* initial EGL codeBrian Paul2005-04-221-0/+56