summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglarray.h
Commit message (Collapse)AuthorAgeFilesLines
* egl: Add needed extern "C" for C++ accessAlexander von Gluck IV2015-05-141-0/+8
| | | | | | * Haiku's egl driver is C++ due to the interface natively being C++ Reviewed-⁠by: Brian Paul <[email protected]>
* egl/main: no longer export internal functionEmil Velikov2015-03-051-2/+2
| | | | | | | | | | | | With the split of the gallium egl module we had previously it required access to some of the internal functions. As the only build (automake) that did this no longer builds it we can now appropriately hide those functions. Cc: 10.5 <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* egl/main: replace INLINE with inlineEmil Velikov2015-03-051-1/+2
| | | | | | | | | | Drop the custom keyword in favour of the C99 one. All the places using it now directly include c99_compat.h which should handle things on platforms which lack it. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* egl: add copyright noticesChia-I Wu2011-07-021-0/+28
| | | | | The list of copyright holders could be incomplete. Please update directly or notify me if your name is missing.
* egl: _eglFilterArray should not allocate.Chia-I Wu2010-12-061-2/+2
| | | | | Otherwise, when it is called from within a driver, the caller cannot free the returned data (on Windows).
* st/egl: Add support for EGL_MATCH_NATIVE_PIXMAP.Chia-I Wu2010-11-031-1/+1
| | | | | Added for completeness. It makes sense to have such mechanism, but I am not aware of any user of that..
* egl: Rework driver loading.Chia-I Wu2010-07-061-0/+4
| | | | | | | | | | | | | | | Driver loading is now splitted into two stages. In the first stage, an _EGLModule is created for each driver: user driver, default drivers, and all files in the search directories that start with "egl_". Modules are not loaded at this stage. In the second stage, each module is loaded to initialize a display. The process stops at the first module that can initialize the display. If eglGetProcAddress is called before eglInitialize, the same code path will be taken to find the first module that supports EGL_DEFAULT_DISPLAY. Because we do not want to initialize the display, drv->Probe is used instead in this case.
* egl: Add dynamic array.Chia-I Wu2010-06-301-0/+53
Dynamic arrays will be used to store configs and screens of a display.