History log of /external/mesa3d/src/egl/main/eglconfig.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d6a9564854601bd01a1132f0a17fcab1d2a41481 28-Jul-2011 Chia-I Wu <olv@lunarg.com> egl: EGL_MATCH_NATIVE_NATIVE_PIXMAP cannot be EGL_DONT_CARE
/external/mesa3d/src/egl/main/eglconfig.c
f2001df508fda599a18b3586d2775e970a3db13a 02-Jul-2011 Chia-I Wu <olv@lunarg.com> egl: add copyright notices

The list of copyright holders could be incomplete. Please update
directly or notify me if your name is missing.
/external/mesa3d/src/egl/main/eglconfig.c
c250363022ea2d4d8de1a1660431f35d8b92aca4 01-Jul-2011 Chia-I Wu <olvaffe@gmail.com> egl: fix a compiler warning
/external/mesa3d/src/egl/main/eglconfig.c
8ea5330200e314f9f7de763b1951656c92caa857 25-Jun-2011 Chia-I Wu <olv@lunarg.com> egl: fix EGL_MATCH_NATIVE_PIXMAP

EGL_MATCH_NATIVE_PIXMAP is valid for eglChooseConfig, but invalid for
eglGetConfigAttrib.
/external/mesa3d/src/egl/main/eglconfig.c
31520548b763947da6b70b6debe38820835c5bcc 25-Jun-2011 Chia-I Wu <olv@lunarg.com> egl: make implementing eglChooseConfig easier

Add a new helper function, _eglFilterConfigArray, for drivers and hide
_eglSortConfigs.
/external/mesa3d/src/egl/main/eglconfig.c
5ae4b6693a8254236435960ef84701fe405fe59b 06-Dec-2010 Chia-I Wu <olv@lunarg.com> egl: _eglFilterArray should not allocate.

Otherwise, when it is called from within a driver, the caller cannot
free the returned data (on Windows).
/external/mesa3d/src/egl/main/eglconfig.c
8a6bdf3979c2dda0efc6771308bf9e5c32bbdab4 22-Oct-2010 Chia-I Wu <olv@lunarg.com> egl: Minor changes to the _EGLConfig interface.

Mainly to rename _eglAddConfig to _eglLinkConfig, along with a few clean
ups.
/external/mesa3d/src/egl/main/eglconfig.c
3fa21881b18044292e7d9455e9a370a71249df22 14-Oct-2010 Chia-I Wu <olv@lunarg.com> egl: Access config attributes directly.

Replace SET_CONFIG_ATTRIB/GET_CONFIG_ATTRIB by direct dereferences.
/external/mesa3d/src/egl/main/eglconfig.c
282e514240c8f514da768af6377ae61b9f79c81f 14-Oct-2010 Chia-I Wu <olv@lunarg.com> egl: Use attribute names as the _EGLConfig member names.

This makes _EGLConfig more accessible and scales better when new
attributes are added.
/external/mesa3d/src/egl/main/eglconfig.c
5eb33596a0db26586957365ab27fc6afdebfe057 20-Aug-2010 Chia-I Wu <olv@lunarg.com> egl: Fix context API check and be verbose.

The API of the context was not checked against EGL_RENDERABLE_TYPE when there
was no attribute list. Move the check to _eglInitContext, and be verbose about
common mistakes (EGL_RENDERABLE_TYPE not set, EGL_CONTEXT_CLIENT_VERSION not
set, or eglBindAPI not called).
/external/mesa3d/src/egl/main/eglconfig.c
6c7e0b95a4a16d268aa3ca74c5c8407779533314 30-Jul-2010 Chia-I Wu <olv@lunarg.com> egl: Add checks for EGL_MESA_screen_surface.

This allows Mesa EGL to be compiled with eglext.h that does not define
EGL_MESA_screen_surface.
/external/mesa3d/src/egl/main/eglconfig.c
6717a313f26e42a7864f46f499637462a7cc3d57 30-Jun-2010 Chia-I Wu <olv@lunarg.com> egl: Store configs in a dynamic array.
/external/mesa3d/src/egl/main/eglconfig.c
5dc0f49084f322dd8ff6eb585212eea8b50e3377 07-May-2010 Kristian Høgsberg <krh@bitplanet.net> egl: Implement EGL_NOK_texture_from_pixmap

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.
/external/mesa3d/src/egl/main/eglconfig.c
554e4fc26a64a90012b0d7dcc1205441273f214c 14-May-2010 Kristian Høgsberg <krh@bitplanet.net> egl: Only allow valid config attributes in _eglParseConfigAttribList()

Passing 0x3030, 0 in the chooser list didn't get caught.
/external/mesa3d/src/egl/main/eglconfig.c
681fd73f1e95d43425b946a250b241bfdb0ce1c8 13-May-2010 Kristian Høgsberg <krh@bitplanet.net> egl: Allow a prioritized list of default drivers

When there is no user driver or any matching display drivers we fall
back to the default driver. This patch lets us have a list of default
drivers instead of just one. The drivers are loaded in turn and we
attempt to initialize the display. If it fails we unload the driver
and move on to the next one.

Compared to the display driver mechanism, this avoids loading a number
of drivers and then only using one. Also, we call Initialize to see
if the driver will work instead of relying on Probe. To know for sure
that a driver will work, Probe really have to do a full Initialize, so
we will just use Initialize directly.
/external/mesa3d/src/egl/main/eglconfig.c
7d1237bc71811e95aec142f41599620f0361fafc 22-Feb-2010 Chia-I Wu <olv@lunarg.com> egl: Remove unused _EGL_SKIP_HANDLE_CHECK.

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.
/external/mesa3d/src/egl/main/eglconfig.c
496724b869d4258a64e8343d3ae66d08bfb19f7b 19-Feb-2010 Chia-I Wu <olv@lunarg.com> egl: Silence warnings when compiled with -pedantic.

Just follow gcc's advices here.
/external/mesa3d/src/egl/main/eglconfig.c
4f47684f7555cc973a89add9a28c9ae3c3c4a989 05-Feb-2010 Chia-I Wu <olvaffe@gmail.com> egl: Add debug messages to config validation and matching.

It might be desirable find out which attribute went wrong.
/external/mesa3d/src/egl/main/eglconfig.c
bbdce27649698df82432f8da4dc3740c508d3ed8 31-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Surface type validaction should depend on extensions supported.

EGL_SCREEN_BIT_MESA is a valid bit only when EGL_MESA_screen_surface is
supported.
/external/mesa3d/src/egl/main/eglconfig.c
216925ccd122a06505dafae425323e3ac858f80e 31-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Initialize display configs with the display.

This changes _eglInitConfig to take the display as its argument.
/external/mesa3d/src/egl/main/eglconfig.c
94cb321b5d246185abf71d89968d472a626f1a23 29-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Clean up header inclusions.

Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
/external/mesa3d/src/egl/main/eglconfig.c
fc4939bff917b520f0d428ce00219593df8b6d96 29-Jan-2010 Vinson Lee <vlee@vmware.com> egl: Remove unnecessary headers.
/external/mesa3d/src/egl/main/eglconfig.c
95f8f75ad8bdb1d8e1cc16ea91fed8c407c36abd 15-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Update headers.

Update to the current versions found at
http://www.khronos.org/registry/egl/. There is one modification in
khrplatform.h for GCC visibility.
/external/mesa3d/src/egl/main/eglconfig.c
39790cab1349fbf69b61711c46eeef7ded6ae13a 03-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: EGL_SCREEN_BIT_MESA is a valid bit.

Update _eglValidateConfig so that it passes the test.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglconfig.c
2fc1614e7a56ab16df1b6ebbc159c58e8212d96d 01-Oct-2009 Chia-I Wu <olvaffe@gmail.com> egl: Fix eglCheckConfigHandle.

A stupid bug by me made the check void.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglconfig.c
56822b0812cd500bd54bb7c4b573c54547efb657 25-Sep-2009 Chia-I Wu <olvaffe@gmail.com> egl: Rework config lookup.

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>
/external/mesa3d/src/egl/main/eglconfig.c
95cdd697e7e72cec1d0fe79c59a8ba7b8cef8571 25-Sep-2009 Chia-I Wu <olvaffe@gmail.com> egl: Rework configuration management.

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>
/external/mesa3d/src/egl/main/eglconfig.c
358c5a8fd1d518930c3e87316a2c743a661ac553 25-Sep-2009 Chia-I Wu <olvaffe@gmail.com> egl: Introduce config keys.

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>
/external/mesa3d/src/egl/main/eglconfig.c
2f2cf461c57974abd89e4917945cc8ae6a67a72e 11-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Overhaul driver API.

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>
/external/mesa3d/src/egl/main/eglconfig.c
dc516d6e2afe7f157dbe5aad1288e5624b27e093 31-Jul-2009 Chia-Wu <olvaffe@gmail.com> egl: Silence warnings on x86-64.

Casting an unsigned int to or from a pointer directly gives warnings on
x86-64. Add wrappers to silence the warnings.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglconfig.c
b57c9fd83f23d011765b6c68bce090c9a5458886 19-Feb-2009 Alan Hourihane <alanh@vmware.com> egl: if a surface type isn't defined let's default to EGL_WINDOW_BIT
/external/mesa3d/src/egl/main/eglconfig.c
8f91a83669b8626678eb38fbbdd304c72243b6fe 29-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: fix default value of EGL_SURFACE_TYPE, added some sanity check assertions
/external/mesa3d/src/egl/main/eglconfig.c
a1fb565ea7ac9f86beb4deece6a24d79e7b7860e 26-Jun-2008 Robert Ellison <papillo@tungstengraphics.com> egl: These changes allow an eglBindAPI(EGL_OPENGL_ES_API) to succeed, and to work correctly with GLES1 and GLES2.

- egl_xdri.c just sets the EGL_OPENGL_ES_BIT as well as the
EGL_OPENGL_BIT in ClientAPIsMask

- eglconfig.c allows the renderable type to include EGL_OPENGL_ES2_BIT
as well as EGL_OPENGL_ES_BIT.

- egl_xlib.c sets the EGL_NATIVE_RENDERABLE attribute to EGL_FALSE for
all softpipe configurations. (Otherwise, an eglChooseConfig() that
looks for particular values of EGL_NATIVE_RENDERABLE will fail.)
/external/mesa3d/src/egl/main/eglconfig.c
8a75d109531755358708de5381eb912b7e2bf69c 20-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: added null ptr check
/external/mesa3d/src/egl/main/eglconfig.c
97035cb19aaf508aad45446651a80da9af1d0e8c 04-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: in _eglAddConfig() just save a pointer to the config; don't copy the config

This allows subclassing by drivers.
/external/mesa3d/src/egl/main/eglconfig.c
a772bbb16ec91a8714a498e8089f96f45730153c 28-May-2008 Brian Paul <brian.paul@tungstengraphics.com> Move some config-related utility functions into new eglconfigutil.c file.
/external/mesa3d/src/egl/main/eglconfig.c
6052af172f0241e6678cd16efac0a0f14f40146c 28-May-2008 Brian Paul <brian.paul@tungstengraphics.com> minor overhaul/re-org of driver selection/loading code
/external/mesa3d/src/egl/main/eglconfig.c
721ba15bf4596b2e9589e7656005b387724875c3 27-May-2008 Brian Paul <brian.paul@tungstengraphics.com> added _eglGet*Handle() functions

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.
/external/mesa3d/src/egl/main/eglconfig.c
1ed1027e886980b9b0f48fa6bfcf3d6e209c7787 27-May-2008 Brian Paul <brian.paul@tungstengraphics.com> assorted changes to compile with new EGL 1.4 headers (untested)
/external/mesa3d/src/egl/main/eglconfig.c
b2006a40eb22899d38cd31691640555228e36975 30-Jan-2006 Brian Paul <brian.paul@tungstengraphics.com> some initial EGL 1.2 work
/external/mesa3d/src/egl/main/eglconfig.c
6002d2ff4ed9f465d1c5bf05caea83f1522ecf3d 10-Dec-2005 Brian Paul <brian.paul@tungstengraphics.com> implement config sorting for eglChooseConfig()
/external/mesa3d/src/egl/main/eglconfig.c
d548bf41d3a0fe443494f94f745d1fe49e5e432c 28-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Redo _eglInitSurface() so it can be used with all surface types.
Redo _eglInitContext() to do error checking, attribute list parsing, etc.
/external/mesa3d/src/egl/main/eglconfig.c
b1abf1ea8e4cad0f574b059149cb9761f12c4053 24-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> change error test in _eglParseConfigAttribs()
/external/mesa3d/src/egl/main/eglconfig.c
ff707ead2b6453d24942ce1a1b3a41ce281b5b50 24-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> init attribs to EGL_DONT_CARE in _eglParseConfigAttribs()
/external/mesa3d/src/egl/main/eglconfig.c
b711eb793b68bb0c4561e5e345b76453dfac286b 23-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> use _eglLog()
/external/mesa3d/src/egl/main/eglconfig.c
d2ab4eb2c2ed7a36e2e37fa3804c7581ecca81e0 17-May-2005 Brian Paul <brian.paul@tungstengraphics.com> remove glmode stuff
/external/mesa3d/src/egl/main/eglconfig.c
4c80f8df46e6c70c9954364609cd0103030fa2a6 17-May-2005 Brian Paul <brian.paul@tungstengraphics.com> more work on _eglConfigToContextModesRec()
/external/mesa3d/src/egl/main/eglconfig.c
d06da508880e9baee403b0d0046764b31087cdfd 17-May-2005 Jon Smirl <jonsmirl@gmail.com> Fix several internal problems with generating the list of configs.
/external/mesa3d/src/egl/main/eglconfig.c
6493bd07a7a766552c754920190972c91f5c336c 16-May-2005 Brian Paul <brian.paul@tungstengraphics.com> restore _eglSetConfigAttrib (for now), added prototype _eglConfigToContextModesRec()
/external/mesa3d/src/egl/main/eglconfig.c
5873faf39b59dc566e1eae8c9f6d24ed5d4c388b 16-May-2005 Brian Paul <brian.paul@tungstengraphics.com> make _eglSetConfigAtrib() a static function, and rename it
/external/mesa3d/src/egl/main/eglconfig.c
45472672a2764e2ceaf499f586d7c337ddba731c 15-May-2005 Jon Smirl <jonsmirl@gmail.com> A few egl patches needed for glitz, mainly config BITS
/external/mesa3d/src/egl/main/eglconfig.c
7012d01d888d482f2c6ad1180231a482026d213a 13-May-2005 Jon Smirl <jonsmirl@gmail.com> First attempt at getting egl support up on dumb framebuffer.
Seems to be mostly working. Not all of egl API is implemented.
/external/mesa3d/src/egl/main/eglconfig.c
c22990c29a5cdff89e6e3914aa565acc88a6a407 04-May-2005 Brian Paul <brian.paul@tungstengraphics.com> sync with latest EGL_MESA_screen_surface spec (EGLScreenMESA handles)
/external/mesa3d/src/egl/main/eglconfig.c
adbff7e977c7c768e752a24fb643d68bdf961bfe 22-Apr-2005 Brian Paul <brian.paul@tungstengraphics.com> initial EGL code
/external/mesa3d/src/egl/main/eglconfig.c