History log of /external/mesa3d/src/egl/main/eglcontext.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
63beb3df98147f34fd0965cb0afbb97444206d0c 19-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> egl: Implement front-end support for EGL_KHR_create_context

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/egl/main/eglcontext.h
3fd79dd9886f05f45f3dc94c028a38dd75b8ee1b 19-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> egl: Rename ClientVersion to ClientMajorVersion, add ClientMinorVersion

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/egl/main/eglcontext.h
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/eglcontext.h
d19afc57fe49816f3f3290410e0124d326577be2 22-Oct-2010 Chia-I Wu <olv@lunarg.com> egl: Use reference counting to replace IsLinked or IsBound.

Remove all _egl<Res>IsLinked and _egl<Res>IsBound. Update
_eglBindContext and drivers to do reference counting.
/external/mesa3d/src/egl/main/eglcontext.h
dc4f845c37a8446de19036e24fd397a0aa864c02 23-Oct-2010 Chia-I Wu <olv@lunarg.com> egl: Add reference count for resources.

This is a really simple mechanism. There is no atomicity and the caller
is expected to hold the display lock.
/external/mesa3d/src/egl/main/eglcontext.h
4ce33ec606292d92eff5afad6f50e1acc7109729 22-Oct-2010 Chia-I Wu <olv@lunarg.com> egl: Drop dpy argument from the link functions.

All display resources are already initialized with a display. Linking
simply links a resource to its display.
/external/mesa3d/src/egl/main/eglcontext.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/eglcontext.h
b31255fbfdb2d9201e8d02e379b8384ee67fcfd0 05-Feb-2010 Chia-I Wu <olvaffe@gmail.com> egl: Clarify IsLinked and IsBound.

Both a link and a binding creates a reference to the resource. Drivers
should not destroy the resource when there is a reference. The
difference is better described in doc/egl.html.
/external/mesa3d/src/egl/main/eglcontext.h
d69242be55091e53b0ae2cfa6282790ce1862f29 31-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Initialize display resources with their display.

Change _eglInitSurface, _eglInitContext, and _eglInitImage to take an
_EGLDisplay instead of an _EGLDriver. This is a more natural form, and
plus, the display encodes information such as the extensions supported
that might be required for attribute list parsing.
/external/mesa3d/src/egl/main/eglcontext.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/eglcontext.h
6baa2c8d022e5dd1e305e7da2925c1e6f9370f35 28-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Migrate drivers to use _eglBindContext.

_eglMakeCurrent is a big hammer that is not easy to use. Migrate
drivers to use _eglBindContext and un-export _eglMakeCurrent.
/external/mesa3d/src/egl/main/eglcontext.h
959481ad70b033a254f4d7d0a94dfdfab6b94c15 27-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Add _eglBindContext.

It works similar to _eglMakeCurrent, except that the old context and
surfaces are returned instead of destroyed. _eglMakeCurrent is now
calling the new _eglBindContext.
/external/mesa3d/src/egl/main/eglcontext.h
dbb866ab33862defc2749134805bafebf323fd11 25-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Make resource void pointer in _eglCheckResource.

This emphasizes the fact that the resource to be checked could really be
invalid and have an unknown type.
/external/mesa3d/src/egl/main/eglcontext.h
ecb3b3102a3022e31cf9d75ae099eddbe298517f 24-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Make surfaces and contexts resources.

Turn _EGLSurface and _EGLContext into _EGLResource so that they can be
managed uniformly.
/external/mesa3d/src/egl/main/eglcontext.h
5e66d1893234b3002d71985c05253321d4cdedc4 23-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Move context functions in egldisplay.[ch] to eglcontext.[ch].

Move functions to where they should be. There should be no real change
here.
/external/mesa3d/src/egl/main/eglcontext.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/eglcontext.h
d845f2754bb8c0677323a5922cb90f9ea42bdb1f 27-Sep-2009 Chia-I Wu <olvaffe@gmail.com> egl: Add support for querying render buffer.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglcontext.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/eglcontext.h
07ee01365a8bddf6f50821ecd585784498a25ff0 03-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Replace IsBound by a pointer to the binding.

IsBound tells if a context or surface is current. What it does not tell
is, to which thread a context is current, or to which context a surface
is current. This commit replaces IsBound by a pointer to the binding
thread or context.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglcontext.h
15fdbc8361d0b865aea5e2f374b471081ed4214a 17-Jul-2009 Chia-I Wu <olvaffe@gmail.com> egl: Remove redundant DeletePending flag.

A context or surface that is neither linked to a display nor current to
a thread should be destroyed. Therefore, an unlinked context or surface
implies a pending delete automatically.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglcontext.h
cca31340b5a9c0b941946753a31236c7201ca87c 17-Jul-2009 Chia-I Wu <olvaffe@gmail.com> egl: Use the link functions to manage resources.

This commit uses the newly introduced link functions to manage EGL
contexts and surfaces. As a result of this, the API for drivers are
changed. All drivers are updated for the change.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglcontext.h
18457cb263e3e062e12314e7b3d5c81a7f2ba048 17-Jul-2009 Chia-I Wu <olvaffe@gmail.com> egl: Add funtions to link contexts and surfaces to displays.

EGL contexts and surfaces are resources of displays. They should be
managed by displays. This commit adds a bunch of functions to
egldisplay.c to help establish the links between contexts/surfaces and
displays. How links are established is considered opaque outside
display. Functions like _eglGetSurfaceHandle or _eglLookupSurface are
therefore moved to egldisplay.c, with some small modifications.

The idea is also extended to display. That is, displays need to link to
themselves to be looked up.

This commit only adds the functions. A commit to use them should
follow.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglcontext.h
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/eglcontext.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/eglcontext.h
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/eglcontext.h
b2006a40eb22899d38cd31691640555228e36975 30-Jan-2006 Brian Paul <brian.paul@tungstengraphics.com> some initial EGL 1.2 work
/external/mesa3d/src/egl/main/eglcontext.h
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/eglcontext.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/eglcontext.h
1c606a9aa1d1fa79fe5c92f42651385917322d5f 14-May-2005 Jon Smirl <jonsmirl@gmail.com> Add empty placeholder for eglCopyContextMESA
/external/mesa3d/src/egl/main/eglcontext.h
adbff7e977c7c768e752a24fb643d68bdf961bfe 22-Apr-2005 Brian Paul <brian.paul@tungstengraphics.com> initial EGL code
/external/mesa3d/src/egl/main/eglcontext.h