summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglapi.c
Commit message (Collapse)AuthorAgeFilesLines
* egl: Return the same EGL Display for the same native display.Chia-I Wu2009-07-171-3/+6
| | | | | | | The latest revision of the spec explicitly requires the same handle to be returned for the same native display. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Add funtions to link contexts and surfaces to displays.Chia-I Wu2009-07-171-0/+2
| | | | | | | | | | | | | | | | | EGL contexts and surfaces are resources of displays. They should be managed by displays. This commit adds a bunch of functions to egldisplay.c to help establish the links between contexts/surfaces and displays. How links are established is considered opaque outside display. Functions like _eglGetSurfaceHandle or _eglLookupSurface are therefore moved to egldisplay.c, with some small modifications. The idea is also extended to display. That is, displays need to link to themselves to be looked up. This commit only adds the functions. A commit to use them should follow. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Extend per-thread info for multiple current contexts.Chia-I Wu2009-07-171-4/+7
| | | | | | | EGL allows multiple current contexts, as long as they are bound to different client APIs. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Support per-thread info.Chia-I Wu2009-07-171-4/+12
| | | | | | | | | This commit introduces a "current" system to manage per-thread info. It uses TLS, if GLX_USE_TLS is defined, or pthread, if PTHREADS is defined. If none of them are defined, it uses a dummy implementation that is just like before. Signed-off-by: Chia-I Wu <[email protected]>
* egl: fix version handlingJonathan White2008-08-061-4/+13
|
* egl: new eglGetProcAddress() codeBrian Paul2008-05-301-5/+8
| | | | | The idea is to pass the call down to the device driver where an API-specific query can be made. Untested.
* egl: clean-up re-org of the client API stateBrian Paul2008-05-301-12/+27
|
* egl: added Name field to _EGLDriver so a driver name string can propogate up ↵Brian Paul2008-05-291-1/+2
| | | | through EGL_VERSION string
* egl: make sure EGL_VERSION_STRING query returns same version as eglInitialize()Brian Paul2008-05-281-2/+9
|
* egl: added args string to _eglMain()Brian Paul2008-05-281-1/+3
|
* minor overhaul/re-org of driver selection/loading codeBrian Paul2008-05-271-8/+19
|
* added _eglGet*Handle() functionsBrian Paul2008-05-271-12/+3
| | | | | | These are the inverse of the _eglLookup*() functions. Returns the public handle for a private surface/config/display/etc. Removes glapi.c's direct access of private fields.
* added EGL_OPENGL_API caseBrian Paul2008-05-271-1/+10
|
* eliminate the context hash tableBrian Paul2008-05-271-4/+1
| | | | | In EGL 1.4 the opaque EGLContext type is a pointer so we can just cast between public EGLContext handles and private _EGLContext pointers.
* assorted changes to compile with new EGL 1.4 headers (untested)Brian Paul2008-05-271-33/+33
|
* some initial EGL 1.2 workBrian Paul2006-01-301-0/+89
|
* Some initial per-thread support.Brian Paul2005-12-101-5/+6
| | | | Rename eglShowSurfaceMESA to eglShowScreenSurfaceMESA.
* Move all the EGL API function pointers into a new _egl_api struct.Brian Paul2005-11-241-35/+34
|
* remove eglQueryDisplayMESA()Brian Paul2005-05-171-9/+0
|
* use EGLint instead of unsigned long for eglCopyContextMESA, added commentsBrian Paul2005-05-161-1/+1
|
* Add empty placeholder for eglCopyContextMESAJon Smirl2005-05-141-0/+12
|
* First attempt at getting egl support up on dumb framebuffer.Jon Smirl2005-05-131-10/+52
| | | | 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-26/+16
|
* initial EGL codeBrian Paul2005-04-221-0/+462