History log of /external/mesa3d/src/egl/main/eglsurface.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7d46b45c5bd7d1ab3e32a2722ca65061ca80dc34 14-Dec-2011 Fredrik Höglund <fredrik@kde.org> egl: add EGL_NV_post_sub_buffer

v2: Handle EGL_POST_SUB_BUFFER_SUPPORTED_NV in
_eglParseSurfaceAttribList()

Signed-off-by: Fredrik Höglund <fredrik@kde.org>

[olv: remove #ifdef checks]
/external/mesa3d/src/egl/main/eglsurface.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/eglsurface.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/eglsurface.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/eglsurface.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/eglsurface.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/eglsurface.h
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/eglsurface.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/eglsurface.h
eb961f81d53405ab04e021703228ddb15190d75f 31-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Clean up surface attributes.

Add missing attributes and use correct types in _EGLSurface. Remove
ifdef tests that serve no purpose. Update _eglQuerySurface and
_eglSurfaceAttrib for missing queries and checks.
/external/mesa3d/src/egl/main/eglsurface.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/eglsurface.h
6fc304456e4b5c166efdaac512b2fb285b9f5d7f 30-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Remove unused VisibleRefCount.
/external/mesa3d/src/egl/main/eglsurface.h
00e1790f3230de550121591d611b47da299ae15c 30-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Rename Binding to CurrentContext in _EGLSurface.

A context can be bound to a surface just like it can be bound to a
thread. CurrentContext is a more consistent name.
/external/mesa3d/src/egl/main/eglsurface.h
4aed0944f4b8b8d14d210cf6bc87ccddfa9a77ec 25-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Native types are renamed in EGL 1.3.

Rename Native*Type to EGLNative*Type.
/external/mesa3d/src/egl/main/eglsurface.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/eglsurface.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/eglsurface.h
b4d2c97a2d2cce92fa638ff74bef7dedf593fd1f 23-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Move surface functions in egldisplay.[ch] to eglsurface.[ch]

Move functions to where they should be. There should be no real change
here.
/external/mesa3d/src/egl/main/eglsurface.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/eglsurface.h
57da499d7ba074128e8c97b8076805e403a2b9c4 15-Oct-2009 Chia-I Wu <olvaffe@gmail.com> egl: Rework eglSwapInterval.

This adds error checking to eglSwapInterval and clamps the swap
interval.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglsurface.h
7a9f52800932c02f5b425158b4978d0c1d2f4fd3 14-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Remove hash table for surfaces.

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

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglsurface.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/eglsurface.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/eglsurface.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/eglsurface.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/eglsurface.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/eglsurface.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/eglsurface.h
b36f90657370296b45c27d33d60c89fa31dc1d76 01-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: additional error checking in _eglBind/ReleaseTexImage()
/external/mesa3d/src/egl/main/eglsurface.h
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/eglsurface.h
b2006a40eb22899d38cd31691640555228e36975 30-Jan-2006 Brian Paul <brian.paul@tungstengraphics.com> some initial EGL 1.2 work
/external/mesa3d/src/egl/main/eglsurface.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/eglsurface.h
167b141e6eac1af5fc8fcd4129216a3125b08501 17-May-2005 Brian Paul <brian.paul@tungstengraphics.com> added _eglInitPbufferSurface()
/external/mesa3d/src/egl/main/eglsurface.h
adbff7e977c7c768e752a24fb643d68bdf961bfe 22-Apr-2005 Brian Paul <brian.paul@tungstengraphics.com> initial EGL code
/external/mesa3d/src/egl/main/eglsurface.h