summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglarray.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-19/+20
| | | | | Otherwise, when it is called from within a driver, the caller cannot free the returned data (on Windows).
* egl: Return the correct array size in _eglFlattenArray.Chia-I Wu2010-07-151-1/+4
| | | | | | | The function is used by _eglGetConfigs and _eglGetScreens. The array size should not be limited by the buffer size when the buffer is NULL. This fixes fdo bug #29052.
* egl: Rework driver loading.Chia-I Wu2010-07-061-0/+16
| | | | | | | | | | | | | | | 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: Update MaxSize when a dynamic array is grown.Chia-I Wu2010-06-301-0/+1
|
* egl: Add dynamic array.Chia-I Wu2010-06-301-0/+160
Dynamic arrays will be used to store configs and screens of a display.