summaryrefslogtreecommitdiff
path: root/src/egl/main/eglarray.c
AgeCommit message (Collapse)Author
2010-12-06egl: _eglFilterArray should not allocate.Chia-I Wu
Otherwise, when it is called from within a driver, the caller cannot free the returned data (on Windows).
2010-07-15egl: Return the correct array size in _eglFlattenArray.Chia-I Wu
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.
2010-07-06egl: Rework driver loading.Chia-I Wu
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.
2010-06-30egl: Update MaxSize when a dynamic array is grown.Chia-I Wu
2010-06-30egl: Add dynamic array.Chia-I Wu
Dynamic arrays will be used to store configs and screens of a display.