summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglscreen.c
Commit message (Collapse)AuthorAgeFilesLines
* egl: add copyright noticesChia-I Wu2011-07-021-0/+30
| | | | | The list of copyright holders could be incomplete. Please update directly or notify me if your name is missing.
* egl: Remove unnecessary headers.Vinson Lee2010-10-271-1/+0
|
* egl: Fix _eglModeLookup.Chia-I Wu2010-10-231-2/+15
| | | | | | | | | | 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-69/+32
| | | | | 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-44/+0
| | | | We do not want them to be all over the places.
* 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-5/+14
| | | | | 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-25/+25
|
* egl: Revisit global data locking.Chia-I Wu2010-02-171-3/+8
| | | | | Lock the global mutex in _eglPreloadDrivers and _eglAllocScreenHandle. Add comments to why certain pathes do not need locking.
* egl: Remove code blocks that are commented out.Chia-I Wu2010-01-311-16/+1
| | | | | | 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: Clean up header inclusions.Chia-I Wu2010-01-301-0/+1
| | | | Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
* egl: Overhaul driver API.Chia-I Wu2009-08-181-84/+25
| | | | | | | | | | | | 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: Use the link functions to manage resources.Chia-I Wu2009-07-171-5/+10
| | | | | | | | This commit uses the newly introduced link functions to manage EGL contexts and surfaces. As a result of this, the API for drivers are changed. All drivers are updated for the change. Signed-off-by: Chia-I Wu <[email protected]>
* minor code movementBrian Paul2005-12-171-0/+13
|
* Added EGL_SCREEN_POSITION_GRANULARITY_MESA query.Brian Paul2005-12-101-5/+23
| | | | Rename eglShowSurfaceMESA to eglShowScreenSurfaceMESA.
* Redo _eglInitSurface() so it can be used with all surface types.Brian Paul2005-11-271-50/+13
| | | | Redo _eglInitContext() to do error checking, attribute list parsing, etc.
* update commentsBrian Paul2005-05-171-2/+3
|
* Make EGL_NO_MODE_MESA work.Jon Smirl2005-05-171-1/+1
|
* minor tweaksBrian Paul2005-05-161-4/+8
|
* First attempt at getting egl support up on dumb framebuffer.Jon Smirl2005-05-131-25/+45
| | | | 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-35/+85
|
* initial EGL codeBrian Paul2005-04-221-0/+259