summaryrefslogtreecommitdiff
path: root/src/egl/main/eglconfig.h
AgeCommit message (Collapse)AuthorFilesLines
2016-04-01egl: Add EGL_RECORDABLE_ANDROID attributeRob Herring1-0/+2
This is used by Android to select an eglconfig compatible with screen recording. Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Rob Herring <robh@kernel.org> [Emil Velikov: add the _eglIsConfigAttribValid check] Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2016-04-01egl: Add EGL_FRAMEBUFFER_TARGET_ANDROID attributeRob Herring1-0/+2
This is used by Android to select an eglconfig compatible with HWComposer. Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Rob Herring <robh@kernel.org> [Emil Velikov: add the _eglIsConfigAttribValid check] Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2015-05-14egl: Add needed extern "C" for C++ accessAlexander von Gluck IV1-0/+8
* Haiku's egl driver is C++ due to the interface natively being C++ Reviewed-⁠by: Brian Paul <brianp@vmware.com>
2015-03-05egl/main: no longer export internal functionEmil Velikov1-7/+7
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 <mesa-stable@lists.freedesktop.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2015-03-05egl/main: replace INLINE with inlineEmil Velikov1-4/+6
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 <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2014-01-17s/Tungsten Graphics/VMware/José Fonseca1-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/alanh@tungstengraphics.com/alanh@vmware.com/ s/jens@tungstengraphics.com/jowen@vmware.com/g s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/ s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g s/keithw\?@tungstengraphics.com/keithw@vmware.com/g s/michel@tungstengraphics.com/daenzer@vmware.com/g s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/ s/zack@tungstengraphics.com/zackr@vmware.com/ # 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 <brianp@vmware.com>
2011-07-02egl: add copyright noticesChia-I Wu1-0/+30
The list of copyright holders could be incomplete. Please update directly or notify me if your name is missing.
2011-06-25egl: make implementing eglChooseConfig easierChia-I Wu1-5/+7
Add a new helper function, _eglFilterConfigArray, for drivers and hide _eglSortConfigs.
2010-11-01scons: Revamp how to specify targets to build.José Fonseca1-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.
2010-10-23egl: Minor changes to the _EGLConfig interface.Chia-I Wu1-20/+7
Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean ups.
2010-10-22egl_glx: Drop the use of [SG]ET_CONFIG_ATTRIB.Chia-I Wu1-7/+0
_EGLConfig can be directly dereferenced now. Since egl_glx is the last user of the macros, drop the macros too.
2010-10-14egl: Use attribute names as the _EGLConfig member names.Chia-I Wu1-46/+87
This makes _EGLConfig more accessible and scales better when new attributes are added.
2010-09-10egl: Display may be NULL in _eglLookup*.Chia-I Wu1-1/+1
This fixes several NULL dereferences.
2010-05-14egl: Implement EGL_NOK_texture_from_pixmapKristian Høgsberg1-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.
2010-02-23egl: Remove unused _EGL_SKIP_HANDLE_CHECK.Chia-I Wu1-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.
2010-02-05egl: Clean up eglconfig.h.Chia-I Wu1-14/+7
Update the comments to macros/functions. Remove unused _eglSetConfigAttrib.
2010-01-31egl: Initialize display configs with the display.Chia-I Wu1-1/+1
This changes _eglInitConfig to take the display as its argument.
2010-01-05egl: Fix breakage from -fvisibility=hidden.Chia-I Wu1-7/+7
Mark EGL API and driver functions as PUBLIC. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29egl: Rework config lookup.Chia-I Wu1-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 <olvaffe@gmail.com>
2009-09-29egl: Rework configuration management.Chia-I Wu1-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 <olvaffe@gmail.com>
2009-09-29egl: Introduce config keys.Chia-I Wu1-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 <olvaffe@gmail.com>
2009-08-18egl: Overhaul driver API.Chia-I Wu1-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 <olvaffe@gmail.com>
2008-07-07egl: bump up MAX_ATTRIBS, added assertionBrian Paul1-2/+6
2008-06-04egl: in _eglAddConfig() just save a pointer to the config; don't copy the configBrian Paul1-1/+1
This allows subclassing by drivers.
2008-05-27Move some config-related utility functions into new eglconfigutil.c file.Brian Paul1-15/+0
2008-05-27minor overhaul/re-org of driver selection/loading codeBrian Paul1-4/+2
2008-05-27added _eglGet*Handle() functionsBrian Paul1-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.
2008-05-27assorted changes to compile with new EGL 1.4 headers (untested)Brian Paul1-7/+13
2005-12-10implement config sorting for eglChooseConfig()Brian Paul1-8/+0
2005-05-17remove glmode stuffBrian Paul1-1/+0
2005-05-17more work on _eglConfigToContextModesRec()Brian Paul1-1/+5
2005-05-16restore _eglSetConfigAttrib (for now), added prototype ↵Brian Paul1-0/+3
_eglConfigToContextModesRec()
2005-05-16make _eglSetConfigAtrib() a static function, and rename itBrian Paul1-4/+0
2005-05-13First attempt at getting egl support up on dumb framebuffer.Jon Smirl1-1/+14
Seems to be mostly working. Not all of egl API is implemented.
2005-05-04sync with latest EGL_MESA_screen_surface spec (EGLScreenMESA handles)Brian Paul1-0/+4
2005-04-22initial EGL codeBrian Paul1-0/+56