summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglcurrent.h
Commit message (Collapse)AuthorAgeFilesLines
* egl: Clean up header inclusions.Chia-I Wu2010-01-301-0/+1
| | | | Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
* egl: Remove _eglGetCurrentSurface and _eglGetCurrentDisplay.Chia-I Wu2010-01-261-8/+0
| | | | | They have little use in drivers since drivers need to work for multiple current contexts.
* egl: Add _eglGetAPIContext.Chia-I Wu2010-01-261-0/+4
| | | | It will return the currently bound context of the given API.
* egl: Fix breakage from -fvisibility=hidden.Chia-I Wu2010-01-051-5/+5
| | | | | | Mark EGL API and driver functions as PUBLIC. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Allow binding to any client API.Chia-I Wu2009-10-131-8/+15
| | | | | | | As a result, EGL_NONE is no longer a valid client API. And it is possible that no config supports the current bound API. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Initialize current thread management on demand.Chia-I Wu2009-08-111-8/+0
| | | | | | | | | | Current thread management was initialized in _eglInitGlobals, which is called only in eglGetDisplay. Since EGL does not require eglGetDisplay to be called first, the initialization is better to be done on demand. _eglFiniCurrent is removed, as it is not called at all. Signed-off-by: Chia-I Wu <[email protected]>
* egl: commit missing eglcurrent.[ch] filesBrian Paul2009-07-171-0/+92
Not sure how these got left out from earlier commit.