Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | egl: Return the same EGL Display for the same native display. | Chia-I Wu | 2009-07-17 | 1 | -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 Wu | 2009-07-17 | 1 | -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 Wu | 2009-07-17 | 1 | -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 Wu | 2009-07-17 | 1 | -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 handling | Jonathan White | 2008-08-06 | 1 | -4/+13 |
| | |||||
* | egl: new eglGetProcAddress() code | Brian Paul | 2008-05-30 | 1 | -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 state | Brian Paul | 2008-05-30 | 1 | -12/+27 |
| | |||||
* | egl: added Name field to _EGLDriver so a driver name string can propogate up ↵ | Brian Paul | 2008-05-29 | 1 | -1/+2 |
| | | | | through EGL_VERSION string | ||||
* | egl: make sure EGL_VERSION_STRING query returns same version as eglInitialize() | Brian Paul | 2008-05-28 | 1 | -2/+9 |
| | |||||
* | egl: added args string to _eglMain() | Brian Paul | 2008-05-28 | 1 | -1/+3 |
| | |||||
* | minor overhaul/re-org of driver selection/loading code | Brian Paul | 2008-05-27 | 1 | -8/+19 |
| | |||||
* | added _eglGet*Handle() functions | Brian Paul | 2008-05-27 | 1 | -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 case | Brian Paul | 2008-05-27 | 1 | -1/+10 |
| | |||||
* | eliminate the context hash table | Brian Paul | 2008-05-27 | 1 | -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 Paul | 2008-05-27 | 1 | -33/+33 |
| | |||||
* | some initial EGL 1.2 work | Brian Paul | 2006-01-30 | 1 | -0/+89 |
| | |||||
* | Some initial per-thread support. | Brian Paul | 2005-12-10 | 1 | -5/+6 |
| | | | | Rename eglShowSurfaceMESA to eglShowScreenSurfaceMESA. | ||||
* | Move all the EGL API function pointers into a new _egl_api struct. | Brian Paul | 2005-11-24 | 1 | -35/+34 |
| | |||||
* | remove eglQueryDisplayMESA() | Brian Paul | 2005-05-17 | 1 | -9/+0 |
| | |||||
* | use EGLint instead of unsigned long for eglCopyContextMESA, added comments | Brian Paul | 2005-05-16 | 1 | -1/+1 |
| | |||||
* | Add empty placeholder for eglCopyContextMESA | Jon Smirl | 2005-05-14 | 1 | -0/+12 |
| | |||||
* | First attempt at getting egl support up on dumb framebuffer. | Jon Smirl | 2005-05-13 | 1 | -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 Paul | 2005-05-04 | 1 | -26/+16 |
| | |||||
* | initial EGL code | Brian Paul | 2005-04-22 | 1 | -0/+462 |