summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglapi.h
Commit message (Collapse)AuthorAgeFilesLines
* egl: add Android-specific extensionsChia-I Wu2011-08-211-0/+8
| | | | | | | | Add EGL_ANDROID_image_native_buffer and EGL_ANDROID_swap_rectangle. There is no spec for them though. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Chad Versace <[email protected]>
* 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: Add EGL_WL_bind_wayland_displayBenjamin Franzke2011-03-011-0/+11
|
* egl: Cleanup _EGLDisplay initialization.Chia-I Wu2011-01-131-1/+1
| | | | | Reorder/rename and document the fields that should be set by the driver during initialization. Drop the major/minor arguments from drv->API.Initialize.
* egl: Add EGL_MESA_drm_image extensionKristian Høgsberg2010-08-251-0/+10
| | | | Create EGLImages from DRM buffer handles.
* egl: Add support for EGL_KHR_reusable_sync.Chia-I Wu2010-08-171-0/+18
| | | | Individual drivers still need to support and enable the extension.
* 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