summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglmode.c
Commit message (Collapse)AuthorAgeFilesLines
* egl: Remove unnecessary headers.Vinson Lee2010-10-271-2/+0
|
* egl: Fix _eglModeLookup.Chia-I Wu2010-10-231-45/+13
| | | | | | | | | | Internally a mode belongs to a screen. But functions like eglGetModeAttribMESA treat a mode as a display resource: a mode can be looked up without a screen. Considering how KMS works, it is better to stick to the current implementation. To properly support looking up a mode without a screen, this commit assigns each mode (of all screens) a unique ID.
* egl: Display may be NULL in _eglLookup*.Chia-I Wu2010-09-101-1/+1
| | | | This fixes several NULL dereferences.
* egl: Add checks for EGL_MESA_screen_surface.Chia-I Wu2010-07-311-0/+6
| | | | | This allows Mesa EGL to be compiled with eglext.h that does not define EGL_MESA_screen_surface.
* egl: Store screens in a dynamic array.Chia-I Wu2010-06-301-2/+5
|
* egl: Remove code blocks that are commented out.Chia-I Wu2010-01-311-38/+0
| | | | | | They are either unit tests or to demonstrate how functions are supposed to be used. The unit test is outdated and it should be better to take a look at any of the working drivers to see how a function is used.
* egl: Remove my_strdup.Chia-I Wu2010-01-301-17/+2
| | | | There is already _eglstrdup for the main library's use.
* egl: Clean up header inclusions.Chia-I Wu2010-01-301-2/+1
| | | | Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
* egl: Overhaul driver API.Chia-I Wu2009-08-181-31/+6
| | | | | | | | | | | | 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]>
* lots of updates, mode sorting, etcBrian Paul2005-12-101-53/+285
|
* minor tweaksBrian Paul2005-05-161-1/+1
|
* First attempt at getting egl support up on dumb framebuffer.Jon Smirl2005-05-131-3/+24
| | | | 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-4/+52
|
* initial EGL codeBrian Paul2005-04-221-0/+130