summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglscreen.h
Commit message (Collapse)AuthorAgeFilesLines
* egl: Fix _eglModeLookup.Chia-I Wu2010-10-231-1/+4
| | | | | | | | | | 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: Minor changes to the _EGLScreen interface.Chia-I Wu2010-10-231-19/+15
| | | | | Make _eglInitScreen take a display and rename _eglAddScreen to _eglLinkScreen. Remove unused functions.
* egl: Move fallback routines to eglfallbacks.c.Chia-I Wu2010-10-221-8/+0
| | | | We do not want them to be all over the places.
* 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: Revisit global data locking.Chia-I Wu2010-02-171-4/+0
| | | | | Lock the global mutex in _eglPreloadDrivers and _eglAllocScreenHandle. Add comments to why certain pathes do not need locking.
* egl: Clean up header inclusions.Chia-I Wu2010-01-301-0/+3
| | | | Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
* egl: Fix breakage from -fvisibility=hidden.Chia-I Wu2010-01-051-3/+3
| | | | | | Mark EGL API and driver functions as PUBLIC. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Overhaul driver API.Chia-I Wu2009-08-181-12/+12
| | | | | | | | | | | | 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]>
* minor code movementBrian Paul2005-12-171-5/+4
|
* Added EGL_SCREEN_POSITION_GRANULARITY_MESA query.Brian Paul2005-12-101-3/+5
| | | | Rename eglShowSurfaceMESA to eglShowScreenSurfaceMESA.
* Redo _eglInitSurface() so it can be used with all surface types.Brian Paul2005-11-271-4/+10
| | | | Redo _eglInitContext() to do error checking, attribute list parsing, etc.
* minor tweaksBrian Paul2005-05-161-2/+2
|
* First attempt at getting egl support up on dumb framebuffer.Jon Smirl2005-05-131-4/+12
| | | | 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-7/+21
|
* initial EGL codeBrian Paul2005-04-221-0/+61