summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglsurface.h
Commit message (Collapse)AuthorAgeFilesLines
* egl: Use the link functions to manage resources.Chia-I Wu2009-07-171-11/+2
| | | | | | | | 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]>
* egl: Add funtions to link contexts and surfaces to displays.Chia-I Wu2009-07-171-9/+5
| | | | | | | | | | | | | | | | | 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: Support per-thread info.Chia-I Wu2009-07-171-4/+0
| | | | | | | | | 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: additional error checking in _eglBind/ReleaseTexImage()Brian Paul2008-09-011-0/+1
|
* added _eglGet*Handle() functionsBrian Paul2008-05-271-0/+4
| | | | | | 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.
* some initial EGL 1.2 workBrian Paul2006-01-301-0/+20
|
* Redo _eglInitSurface() so it can be used with all surface types.Brian Paul2005-11-271-7/+4
| | | | Redo _eglInitContext() to do error checking, attribute list parsing, etc.
* added _eglInitPbufferSurface()Brian Paul2005-05-171-0/+4
|
* initial EGL codeBrian Paul2005-04-221-0/+96