History log of /external/mesa3d/src/egl/main/egldriver.h
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/egldriver.h
655e4598927728a663f4cfcd6babdf7e5ad83f77 12-Jan-2011 Chia-I Wu <olv@lunarg.com> egl: Simplify driver matching.

Add initialization options that drv->API.Initialize should support.
Replace drv->Probe by TestOnly initialization option and simplify
_eglMatchDriver.
/external/mesa3d/src/egl/main/egldriver.h
a8b6b6555c7d6a02a3d095c72ebbdc218bc45cd3 09-Jan-2011 Chia-I Wu <olv@lunarg.com> scons: Updates for targets/egl-static.

Update SConscripts to re-enable or add support for EGL on windows and
x11 platforms respectively. targets/egl-gdi is replaced by
targets/egl-static, where "-static" means pipe drivers and state
trackers are linked to statically by egl_gallium, and egl_gallium is a
built-in driver of libEGL. There is no more egl_gallium.dll on Windows.
/external/mesa3d/src/egl/main/egldriver.h
c98ea26e16b6458b4385d6558936696e4d099455 07-Jan-2011 Chia-I Wu <olv@lunarg.com> egl: Make egl_dri2 and egl_glx built-in drivers.

These two drivers are small in size. Making them built-in should
simplify packaging.
/external/mesa3d/src/egl/main/egldriver.h
675aec81789efebe9c8103f4670f5ae6758d830c 01-Nov-2010 Thomas Hellstrom <thellstrom@vmware.com> egl: Add an include for size_t

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
/external/mesa3d/src/egl/main/egldriver.h
25328509c90dc205b9561b5265e478af2873438b 22-Oct-2010 Chia-I Wu <olv@lunarg.com> egl: Move fallback routines to eglfallbacks.c.

We do not want them to be all over the places.
/external/mesa3d/src/egl/main/egldriver.h
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/egldriver.h
4cb853402b6c55f5dbabf4475cd46b34bd7b1bc1 24-Jun-2010 Chia-I Wu <olv@lunarg.com> egl: Remove st/egl probe code.

It is no longer needed.
/external/mesa3d/src/egl/main/egldriver.h
ea05299ce54ea0463626277907cab8e849884740 17-Jun-2010 Chia-I Wu <olv@lunarg.com> st/egl: One driver per hardware.

Merge multiple egl_<platform>_<pipe>.so into a single
egl_gallium_<pipe>.so. The environment variable EGL_PLATFORM is now
used to modify the return value of _eglGetNativePlatform.
/external/mesa3d/src/egl/main/egldriver.h
f22665df95406567193dee0089f4830664ff4101 17-Jun-2010 Chia-I Wu <olv@lunarg.com> egl: Introduce platform displays internally.

This commit introduces type-safe platform displays internally. A
platform display consists of a generic pointer and an enum that
specifies the platform.

An EGLDisplay is created from a platform display. Native displays
become platform displays whose platform is determined by
_eglGetNativePlatform(). Platform windows and pixmaps may also be
introduced if needed.
/external/mesa3d/src/egl/main/egldriver.h
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/egldriver.h
e8ba2812e6995d1ec95c972a1b48ac29a99531dd 05-May-2010 Chia-I Wu <olv@lunarg.com> egl: Add _eglSearchPathForEach.

The function can be used by a driver to check each search path of EGL.
/external/mesa3d/src/egl/main/egldriver.h
cb260e1d18726814a43f51c4e16e4bd8d65736e2 05-Feb-2010 Chia-I Wu <olvaffe@gmail.com> egl: Update the comments to typecast macros.

Put a note that the macros define functions and should not be ended with
a semicolon when used.
/external/mesa3d/src/egl/main/egldriver.h
bdb9e202de2524821bec1a136d48af70df8fb60e 03-Feb-2010 Chia-I Wu <olvaffe@gmail.com> egl: Add macros to define typecast functions.

There are standard typecast functions that are common to most drivers.
They are used to typecast, for example, an _EGLSurface to a
driver-defined type.

This commits define _EGL_DRIVER_STANDARD_TYPECASTS and
_EGL_DRIVER_TYPECAST that should hopefully save some typings for driver
writers.
/external/mesa3d/src/egl/main/egldriver.h
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/egldriver.h
092b1ca989ba3bdc3f4d421b83b3943af260b7db 26-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Remove _eglOpenDriver and _eglCloseDriver.

_eglCloseDriver is no-op and _eglOpenDriver does nothing but call
_eglMatchDriver. Export _eglMatchDriver directly.
/external/mesa3d/src/egl/main/egldriver.h
cecc33cd4f2b3ae1fa590a450eeaefc9b761fb30 24-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Remove _eglFindAPIs.

This function is not used and should have been removed by last commit.
My mistake.
/external/mesa3d/src/egl/main/egldriver.h
c5766c4ae39b4190965abd65eaf67b478a9ad028 20-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Add a simple cache for driver probe.

In current design, multiple drivers will probe the same display and the
best driver is determined. The cache can be used by the drivers to
store and share the probed data.
/external/mesa3d/src/egl/main/egldriver.h
cf22fd5e5b13ccdb02ba0368ea722ede3bbc6de0 19-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Improve driver matching.

Make drv->Probe return a score so that the matching can be done by
finding the driver with the highest score.
/external/mesa3d/src/egl/main/egldriver.h
f0c2871bf4f6fa89339347bb9767bb2c19fda6d0 19-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Remove unused driver and display functions.

Remove _eglPreloadDriver, _eglLookupDriver, and _eglSplitDisplayString.
/external/mesa3d/src/egl/main/egldriver.h
b3bcd33f7a8b32ce4ea6e979e9cc764d0f903ae9 19-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Add _eglPreloadDrivers.

It can be used to load the user driver specified by EGL_DRIVER, or a set
of drivers specified by EGL_DISPLAY, or the default driver, and in that
order.
/external/mesa3d/src/egl/main/egldriver.h
897cb8950ae14ffe7029b1daf16113ff62ce0dfe 05-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Fix breakage from -fvisibility=hidden.

Mark EGL API and driver functions as PUBLIC.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldriver.h
5a459d58fca2b71cb77c39f98df8a81ce6298421 21-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Remove dependency on libX11.

libX11 is used to determine the screen number, which is in turned used
to determine the DRI driver. However, the sysfs interface for
determining the DRI driver is gone, and no working driver depends on
this mechanism.

Display string parsing is moved to a new function,
_eglSplitDisplayString.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/egldriver.h
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/egldriver.h
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/egldriver.h
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/egldriver.h
fbd6e86b8f3c9bdeae7581d8d852b4df66e4b42c 20-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: implment EGL_LARGEST_PBUFFER query
/external/mesa3d/src/egl/main/egldriver.h
a8533d54930f8fa989036c197ad20b0778ec0cac 20-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: clean up prototype code, new _eglFindAPIs() function.
/external/mesa3d/src/egl/main/egldriver.h
47ddcd2a7144ea456fcd52b9470e4e41b878af48 06-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: make _eglChooseDRMDriver() non-static
/external/mesa3d/src/egl/main/egldriver.h
e3805cad0d15ed25ce8f6c5a1f1ea913e5d0986a 30-May-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: new eglGetProcAddress() code

The idea is to pass the call down to the device driver where an API-specific
query can be made. Untested.
/external/mesa3d/src/egl/main/egldriver.h
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/egldriver.h
1c73b4ba86b424ba66a16c4006a57db505bd3ca3 30-May-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: added Name field to _EGLDriver so a driver name string can propogate up through EGL_VERSION string
/external/mesa3d/src/egl/main/egldriver.h
260ac3c983644e1e51f705c00ceec1866a0c9611 29-May-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: remove unused Display field
/external/mesa3d/src/egl/main/egldriver.h
11a261ef4f1d4100c46f73ad51e7e4ed57cc1b5e 28-May-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: move a few small functions into new eglmisc.[ch] files
/external/mesa3d/src/egl/main/egldriver.h
c56e15b093c367e7e17ebd2e153baab8cafd213a 28-May-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: make sure EGL_VERSION_STRING query returns same version as eglInitialize()
/external/mesa3d/src/egl/main/egldriver.h
e084fe54f93c9d51df99812b76d3299b0cff57a3 28-May-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: include egldefines.h
/external/mesa3d/src/egl/main/egldriver.h
0c8908c411c434eda318b41b4f2a370a1e794831 28-May-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: added args string to _eglMain()
/external/mesa3d/src/egl/main/egldriver.h
6052af172f0241e6678cd16efac0a0f14f40146c 28-May-2008 Brian Paul <brian.paul@tungstengraphics.com> minor overhaul/re-org of driver selection/loading code
/external/mesa3d/src/egl/main/egldriver.h
b2006a40eb22899d38cd31691640555228e36975 30-Jan-2006 Brian Paul <brian.paul@tungstengraphics.com> some initial EGL 1.2 work
/external/mesa3d/src/egl/main/egldriver.h
5285c32a17a8ec260dcb5d412d862e50bced0ce9 29-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Put extension flags, string into separate struct.
/external/mesa3d/src/egl/main/egldriver.h
daf585d0f00df1d4d2e8dc5b465dad60a4bf0122 24-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> Move all the EGL API function pointers into a new _egl_api struct.
/external/mesa3d/src/egl/main/egldriver.h
485528f2acb69940a7c757638127f716c0cb2654 05-Aug-2005 Jon Smirl <jonsmirl@gmail.com> More EGL prep. No impact on anything outside of EGL
/external/mesa3d/src/egl/main/egldriver.h
198d6d05b033ece21d094c46390ec0faa7612939 17-May-2005 Brian Paul <brian.paul@tungstengraphics.com> remove eglQueryDisplayMESA()
/external/mesa3d/src/egl/main/egldriver.h
f9bad3dfea43d792876c3a7221b9cfcd107085eb 16-May-2005 Brian Paul <brian.paul@tungstengraphics.com> use EGLint instead of unsigned long for eglCopyContextMESA, added comments
/external/mesa3d/src/egl/main/egldriver.h
51ac95ba8945711cf65e94a2deba6c896dea5f0e 16-May-2005 Brian Paul <brian.paul@tungstengraphics.com> added boolean extension flags to _EGLDriver
/external/mesa3d/src/egl/main/egldriver.h
1c606a9aa1d1fa79fe5c92f42651385917322d5f 14-May-2005 Jon Smirl <jonsmirl@gmail.com> Add empty placeholder for eglCopyContextMESA
/external/mesa3d/src/egl/main/egldriver.h
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/egldriver.h
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/egldriver.h
adbff7e977c7c768e752a24fb643d68bdf961bfe 22-Apr-2005 Brian Paul <brian.paul@tungstengraphics.com> initial EGL code
/external/mesa3d/src/egl/main/egldriver.h