aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/glx/egl_glx.c
Commit message (Collapse)AuthorAgeFilesLines
* egl: Clean up header inclusions.Chia-I Wu2010-01-301-1/+1
| | | | Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
* egl: Migrate drivers to use _eglBindContext.Chia-I Wu2010-01-281-4/+16
| | | | | _eglMakeCurrent is a big hammer that is not easy to use. Migrate drivers to use _eglBindContext and un-export _eglMakeCurrent.
* egl: eglMakeCurrent should accept an uninitialized display.Chia-I Wu2010-01-281-35/+29
| | | | | | When no context or surface are given, the display is allowed to be uninitialized. Most drivers cannot handle an uninitialized display. But they are updated to at least throw a fatal message.
* egl: Native types are renamed in EGL 1.3.Chia-I Wu2010-01-251-4/+6
| | | | Rename Native*Type to EGLNative*Type.
* egl_glx: Report only OpenGL support.Chia-I Wu2010-01-221-10/+3
| | | | | It reported OpenGL ES support because some demos did not set EGL_RENDERABLE_TYPE correctly. The demos are fixed.
* egl: Add _EGLDriver as the first argument to GetProcAddress.Chia-I Wu2010-01-121-1/+1
| | | | | The rest of the driver API has it as the first argument. It should be there so that a driver has access to itself.
* egl_glx: Add support for eglWaitClient and eglWaitNative.Chia-I Wu2009-10-221-0/+17
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* egl_glx: Clean up eglGetProcAddress.Chia-I Wu2009-10-221-16/+1
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* egl_glx: Clean up context functions.Chia-I Wu2009-10-221-19/+5
| | | | | | This lifts the requirement that a context must be direct. Signed-off-by: Chia-I Wu <[email protected]>
* egl_glx: Clean up surface functions.Chia-I Wu2009-10-221-99/+106
| | | | | | | | Separete Drawable and GLXDrawable. Add support for pbuffer and pixmap surfaces on GLX <= 1.3. Remove surface binding code that will never work. Signed-off-by: Chia-I Wu <[email protected]>
* egl_glx: Clean up the initialization code.Chia-I Wu2009-10-221-287/+371
| | | | | | | Proper detection of GLX extensions. Convert fbconfigs or visuals in a more unified way and validate the resulting configs. Signed-off-by: Chia-I Wu <[email protected]>
* egl_glx: Make fbconfigs and visuals per display.Chia-I Wu2009-08-261-114/+135
| | | | | | | This is to allow a driver to drive multiple displays. Remove the use of _EGL_PLATFORM_X and obsolete code along the way. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Remove eglhash.c and eglhash.h.Chia-I Wu2009-08-181-1/+0
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* egl: Some per-driver data should be per-display.Chia-I Wu2009-08-181-4/+14
| | | | | | | Move some fields of _EGLDriver to _EGLDisplay. It also becomes unnecessary to pass _EGLDisplay to drivers when _eglMain is called. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Overhaul driver API.Chia-I Wu2009-08-181-104/+78
| | | | | | | | | | | | The motivation is so that drivers do not need to look up and check for bad display, context, and etc. It also becomes unnecessary for drivers to call the link functions. This commit makes eglapi.[ch] do the lookup and check. As a result, the driver API is overhauled, and almost all sources and drivers need update. The updates are mainly find and replace with human brains. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Replace IsBound by a pointer to the binding.Chia-I Wu2009-08-031-1/+1
| | | | | | | | | IsBound tells if a context or surface is current. What it does not tell is, to which thread a context is current, or to which context a surface is current. This commit replaces IsBound by a pointer to the binding thread or context. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Remove redundant DeletePending flag.Chia-I Wu2009-07-171-5/+1
| | | | | | | | A context or surface that is neither linked to a display nor current to a thread should be destroyed. Therefore, an unlinked context or surface implies a pending delete automatically. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Use the link functions to manage resources.Chia-I Wu2009-07-171-15/+27
| | | | | | | | 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: fix commentAlan Hourihane2009-03-191-3/+3
|
* egl: try harder for eglGetProcAddress()Alan Hourihane2009-03-191-1/+14
|
* egl: glx updates for FBconfigsAlan Hourihane2009-02-191-12/+18
|
* egl: error checkingAlan Hourihane2009-02-191-2/+5
|
* egl: fix makecurrent with null drawable/contextAlan Hourihane2009-01-141-1/+1
|
* egl: fix egl closureAlan Hourihane2008-12-231-2/+29
|
* egl: fix startup query versionAlan Hourihane2008-12-231-4/+8
|
* egl: support GLXFBConfigs, pbuffers and pixmaps.Alan Hourihane2008-12-231-13/+246
|
* disable OPENGL_BITAlan Hourihane2008-10-271-4/+4
|
* egl: cleanup doublebuffer checkAlan Hourihane2008-09-261-2/+3
|
* egl: fudge with LIBGL_DRIVERS_PATH to pick up EGL specific DRI driver.Alan Hourihane2008-09-261-3/+12
|
* egl: Add new EGL driver that wraps GLX.Alan Hourihane2008-09-261-0/+574