summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* s/Tungsten Graphics/VMware/José Fonseca2014-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the old copyright name is creating unnecessary confusion, hence this change. This was the sed script I used: $ cat tg2vmw.sed # Run as: # # git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed # # Rename copyrights s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./ s/TUNGSTEN GRAPHICS/VMWARE/g # Rename emails s/[email protected]/[email protected]/ s/[email protected]/[email protected]/g s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/ s/jrfonseca\[email protected]/[email protected]/g s/keithw\[email protected]/[email protected]/g s/[email protected]/[email protected]/g s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/ s/[email protected]/[email protected]/ # Remove dead links s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g # C string src/gallium/state_trackers/vega/api_misc.c s/"Tungsten Graphics, Inc"/"VMware, Inc"/ Reviewed-by: Brian Paul <[email protected]>
* egl: add copyright noticesChia-I Wu2011-07-021-0/+30
| | | | | The list of copyright holders could be incomplete. Please update directly or notify me if your name is missing.
* egl: make implementing eglChooseConfig easierChia-I Wu2011-06-251-5/+7
| | | | | Add a new helper function, _eglFilterConfigArray, for drivers and hide _eglSortConfigs.
* scons: Revamp how to specify targets to build.José Fonseca2010-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
* egl: Minor changes to the _EGLConfig interface.Chia-I Wu2010-10-231-20/+7
| | | | | Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean ups.
* egl_glx: Drop the use of [SG]ET_CONFIG_ATTRIB.Chia-I Wu2010-10-221-7/+0
| | | | | _EGLConfig can be directly dereferenced now. Since egl_glx is the last user of the macros, drop the macros too.
* egl: Use attribute names as the _EGLConfig member names.Chia-I Wu2010-10-141-46/+87
| | | | | This makes _EGLConfig more accessible and scales better when new attributes are added.
* egl: Display may be NULL in _eglLookup*.Chia-I Wu2010-09-101-1/+1
| | | | This fixes several NULL dereferences.
* egl: Implement EGL_NOK_texture_from_pixmapKristian Høgsberg2010-05-141-5/+18
| | | | | | | This extension allows a color buffer to be used for both rendering and texturing. EGL allows the use of color buffers of pbuffer drawables for texturing, this extension extends this to allow the use of color buffers of pixmaps too.
* egl: Remove unused _EGL_SKIP_HANDLE_CHECK.Chia-I Wu2010-02-231-17/+0
| | | | | | It was added to skip checking EGLDisplay, EGLSurface, and etc. It is never defined and the spec does not allow the checks to be skipped. Remove it for good.
* egl: Clean up eglconfig.h.Chia-I Wu2010-02-051-14/+7
| | | | | Update the comments to macros/functions. Remove unused _eglSetConfigAttrib.
* egl: Initialize display configs with the display.Chia-I Wu2010-01-311-1/+1
| | | | This changes _eglInitConfig to take the display as its argument.
* egl: Fix breakage from -fvisibility=hidden.Chia-I Wu2010-01-051-7/+7
| | | | | | Mark EGL API and driver functions as PUBLIC. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Rework config lookup.Chia-I Wu2009-09-291-6/+43
| | | | | | | Make it similiar to how contexts and surfaces are looked up. It should be slightly faster, and work better with multiple displays. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Rework configuration management.Chia-I Wu2009-09-291-1/+21
| | | | | | | | This mainly implements the algorithms for configuration selection and sorting, described in the spec. User errors should also be correctly detected and reported. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Introduce config keys.Chia-I Wu2009-09-291-12/+74
| | | | | | | | | | Config keys are almost config attributes. A valid config attribute is a valid config key, but a valid config key may not be a valid config attribute. This commit does not distinguish the differences. Signed-off-by: Chia-I Wu <[email protected]>
* egl: Overhaul driver API.Chia-I Wu2009-08-181-4/+4
| | | | | | | | | | | | 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: bump up MAX_ATTRIBS, added assertionBrian Paul2008-07-071-2/+6
|
* egl: in _eglAddConfig() just save a pointer to the config; don't copy the configBrian Paul2008-06-041-1/+1
| | | | This allows subclassing by drivers.
* Move some config-related utility functions into new eglconfigutil.c file.Brian Paul2008-05-271-15/+0
|
* minor overhaul/re-org of driver selection/loading codeBrian Paul2008-05-271-4/+2
|
* added _eglGet*Handle() functionsBrian Paul2008-05-271-0/+4
| | | | | | These are the inverse of the _eglLookup*() functions. Returns the public handle for a private surface/config/display/etc. Removes glapi.c's direct access of private fields.
* assorted changes to compile with new EGL 1.4 headers (untested)Brian Paul2008-05-271-7/+13
|
* implement config sorting for eglChooseConfig()Brian Paul2005-12-101-8/+0
|
* remove glmode stuffBrian Paul2005-05-171-1/+0
|
* more work on _eglConfigToContextModesRec()Brian Paul2005-05-171-1/+5
|
* restore _eglSetConfigAttrib (for now), added prototype ↵Brian Paul2005-05-161-0/+3
| | | | _eglConfigToContextModesRec()
* make _eglSetConfigAtrib() a static function, and rename itBrian Paul2005-05-161-4/+0
|
* First attempt at getting egl support up on dumb framebuffer.Jon Smirl2005-05-131-1/+14
| | | | Seems to be mostly working. Not all of egl API is implemented.
* sync with latest EGL_MESA_screen_surface spec (EGLScreenMESA handles)Brian Paul2005-05-041-0/+4
|
* initial EGL codeBrian Paul2005-04-221-0/+56