summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglapi.h
Commit message (Collapse)AuthorAgeFilesLines
* egl: Implement EGL_NOK_swap_regionKristian Høgsberg2010-05-131-0/+7
| | | | | | | | | This extension adds a new function which provides an alternative to eglSwapBuffers. eglSwapBuffersRegionNOK accepts two new parameters in addition to those in eglSwapBuffers. The new parameters consist of a pointer to a list of 4-integer blocks defining rectangles (x, y, width, height) and an integer specifying the number of rectangles in the list.
* egl: Always lock a display before using it.Chia-I Wu2010-02-171-0/+1
| | | | | | | This gives a simple access control to the display. It is potentially slow, but a finer grained mutex can always be used in the future. The benefit of this simple approach is that drivers need not to worry about thread-safety.
* egl: Clean up header inclusions.Chia-I Wu2010-01-301-1/+1
| | | | Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
* egl: eglMakeCurrent should accept an uninitialized display.Chia-I Wu2010-01-281-0/+1
| | | | | | When no context or surface are given, the display is allowed to be uninitialized. Most drivers cannot handle an uninitialized display. But they are updated to at least throw a fatal message.
* egl: Native types are renamed in EGL 1.3.Chia-I Wu2010-01-251-3/+3
| | | | Rename Native*Type to EGLNative*Type.
* egl: Add support for EGL_KHR_image.Chia-I Wu2010-01-251-1/+12
| | | | Individual drivers still need to implement the API hooks.
* egl: Add _EGLDriver as the first argument to GetProcAddress.Chia-I Wu2010-01-121-1/+1
| | | | | The rest of the driver API has it as the first argument. It should be there so that a driver has access to itself.
* egl: Rework the synchronization primitives.Chia-I Wu2009-10-151-4/+2
| | | | | | | This adds error checking to the synchronization primitives. And eglWaitGL is now implemented by eglWaitClient. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Rework eglSwapInterval.Chia-I Wu2009-10-151-1/+1
| | | | | | | This adds error checking to eglSwapInterval and clamps the swap interval. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Overhaul driver API.Chia-I Wu2009-08-181-37/+37
| | | | | | | | | | | | 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: new eglGetProcAddress() codeBrian Paul2008-05-301-1/+10
| | | | | The idea is to pass the call down to the device driver where an API-specific query can be made. Untested.
* some initial EGL 1.2 workBrian Paul2006-01-301-1/+14
|
* Some initial per-thread support.Brian Paul2005-12-101-2/+2
| | | | Rename eglShowSurfaceMESA to eglShowScreenSurfaceMESA.
* Move all the EGL API function pointers into a new _egl_api struct.Brian Paul2005-11-241-0/+106