History log of /external/mesa3d/src/egl/main/eglglobals.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/eglglobals.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/eglglobals.c
f2aa361f3b58a91780c9358b3f8716f6434074c7 04-Jul-2010 Chia-I Wu <olv@lunarg.com> egl: Rework driver loading.

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.
/external/mesa3d/src/egl/main/eglglobals.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/eglglobals.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/eglglobals.c
fc4939bff917b520f0d428ce00219593df8b6d96 29-Jan-2010 Vinson Lee <vlee@vmware.com> egl: Remove unnecessary headers.
/external/mesa3d/src/egl/main/eglglobals.c
f1c5cab5525dfcb8edffa275e7c8c3e753c7536f 29-Sep-2009 Chia-I Wu <olvaffe@gmail.com> egl: Improve logging facility.

Add _eglSetLogger and _eglSetLogLevel to allow drivers to change the
message logger or report level.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglglobals.c
310c76812e5a2013dad36fc9d1686f57e7b1e626 17-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Allow binding to any client API.

As a result, EGL_NONE is no longer a valid client API. And it is
possible that no config supports the current bound API.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglglobals.c
38feefdc4eb4a3c7530b9cddea4c55e9ef39aec8 14-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Remove hash table for displays.

The hash table was used to map a display to a handle. It is simpler to
cast directly.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglglobals.c
5a2c9372a0d9fa1efd924f9386a4e3df47c17d0e 13-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Some per-driver data should be per-display.

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 <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglglobals.c
0eaa02c836821556c1e8d0141f49f57e23f2548d 13-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Change the way drivers are loaded.

Driver is chosen and preloaded when eglGetDisplay is called. Later when
eglInitialize is called, the same driver is matched to initialize the
display. Also, add new, but unused, hooks to EGLDriver to allow a
driver to probe a display or unload itself.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglglobals.c
435c7ac24d8d6f8ddae59f4b66983d7642250d1e 10-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Add _eglAddAtExitCall.

Add a convenient wrapper to register atexit calls. Add mutex to
_eglGlobal along the way.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglglobals.c
0e3687e33dd482115c1a0e39c50b424936cb05a6 10-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Make _eglGlobal initialize statically.

Now that display and surface hash tables are moved out, _eglGlobal can
be initialized statically.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglglobals.c
621801abd287238f9a3209554bc84fec5d2e9ccd 10-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Make display and surface hash tables local.

Move display and surface hash tables to egldisplay.c, and have them
initialized on demand.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglglobals.c
56d2119280a202b7714821bc324b07df4b36d559 09-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Initialize current thread management on demand.

Current thread management was initialized in _eglInitGlobals, which is
called only in eglGetDisplay. Since EGL does not require eglGetDisplay
to be called first, the initialization is better to be done on demand.

_eglFiniCurrent is removed, as it is not called at all.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglglobals.c
75da80b29556e6dbbba21e5297ca440e475f65cb 17-Jul-2009 Chia-I Wu <olvaffe@gmail.com> egl: Support per-thread info.

This commit introduces a "current" system to manage per-thread info. It
uses TLS, if GLX_USE_TLS is defined, or pthread, if PTHREADS is defined.
If none of them are defined, it uses a dummy implementation that is just
like before.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglglobals.c
655ca5afad5f5d79f0ad60b5aa7fcafd35e97b62 05-Aug-2008 Jonathan White <jwhite@tungstengraphics.com> egl: fix _eglGlobal initialization for Windows
/external/mesa3d/src/egl/main/eglglobals.c
cae4444fa179c9ed556f1d1d207967b4e72736e2 20-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: default API should be ES
/external/mesa3d/src/egl/main/eglglobals.c
d5078b94323241a6482f54797756116b1c864327 30-May-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: clean-up re-org of the client API state
/external/mesa3d/src/egl/main/eglglobals.c
5e7dba541298a29f175f9d077bf6f63030465d94 27-May-2008 Brian Paul <brian.paul@tungstengraphics.com> eliminate the context hash table

In EGL 1.4 the opaque EGLContext type is a pointer so we can just cast
between public EGLContext handles and private _EGLContext pointers.
/external/mesa3d/src/egl/main/eglglobals.c
b2006a40eb22899d38cd31691640555228e36975 30-Jan-2006 Brian Paul <brian.paul@tungstengraphics.com> some initial EGL 1.2 work
/external/mesa3d/src/egl/main/eglglobals.c
c9b4acfeb8044bfe3f9275cb51fed9ccd3651d95 17-Dec-2005 Brian Paul <brian.paul@tungstengraphics.com> minor code movement
/external/mesa3d/src/egl/main/eglglobals.c
48822796339cb4a55714dc3f1abbe379562ec538 10-Dec-2005 Brian Paul <brian.paul@tungstengraphics.com> Some initial per-thread support.
Rename eglShowSurfaceMESA to eglShowScreenSurfaceMESA.
/external/mesa3d/src/egl/main/eglglobals.c
d2c64e0b83b37c551c774191f1cd97891d24ac7d 24-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> report error token in message printed in _eglError()
/external/mesa3d/src/egl/main/eglglobals.c
b8829facc7c7c63a4fab46b1d81c9aefcfdf7b95 23-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> change error message
/external/mesa3d/src/egl/main/eglglobals.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/eglglobals.c
adbff7e977c7c768e752a24fb643d68bdf961bfe 22-Apr-2005 Brian Paul <brian.paul@tungstengraphics.com> initial EGL code
/external/mesa3d/src/egl/main/eglglobals.c