History log of /external/mesa3d/src/egl/main/eglsurface.c
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.c
a5ab46909e9475da0eb8c814efb8e1859a6e6ed3 28-Jul-2011 Chia-I Wu <olv@lunarg.com> egl: make pixmaps and pbuffers EGL_BUFFER_PRESERVED

eglSwapBuffers is no-op to these surface types anyway.
/external/mesa3d/src/egl/main/eglsurface.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/eglsurface.c
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.c
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.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/eglsurface.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/eglsurface.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/eglsurface.c
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.c
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.c
6f1529293f218015f47d86dcba774c3d9faa2cda 30-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Refactor _eglInitSurface.

Refactor attribute list parsing code to _eglParseSurfaceAttribList.
/external/mesa3d/src/egl/main/eglsurface.c
996fd61442e4186e23418cc8a3b0cd593398be26 31-Jan-2010 Chia-I Wu <olvaffe@gmail.com> egl: Remove code blocks that are commented out.

They are either unit tests or to demonstrate how functions are supposed
to be used. The unit test is outdated and it should be better to take a
look at any of the working drivers to see how a function is used.
/external/mesa3d/src/egl/main/eglsurface.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/eglsurface.c
fc4939bff917b520f0d428ce00219593df8b6d96 29-Jan-2010 Vinson Lee <vlee@vmware.com> egl: Remove unnecessary headers.
/external/mesa3d/src/egl/main/eglsurface.c
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.c
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.c
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.c
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.c
34d8c13bff05de200dbad70d0798519108e186f2 14-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Remove eglhash.c and eglhash.h.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglsurface.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/eglsurface.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/eglsurface.c
8a130a65aa7b0695c7d220f4ad6317ba1f64c6a6 03-Aug-2009 Chia-I Wu <olvaffe@gmail.com> egl: Correct the default values of surface attributes.

EGL_TEXTURE_FORMAT and EGL_TEXTURE_TARGET should default to
EGL_NO_TEXTURE.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
/external/mesa3d/src/egl/main/eglsurface.c
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.c
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.c
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.c
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.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/eglsurface.c
b36f90657370296b45c27d33d60c89fa31dc1d76 01-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: additional error checking in _eglBind/ReleaseTexImage()
/external/mesa3d/src/egl/main/eglsurface.c
fbd6e86b8f3c9bdeae7581d8d852b4df66e4b42c 20-Jun-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: implment EGL_LARGEST_PBUFFER query
/external/mesa3d/src/egl/main/eglsurface.c
274dd381a30072ecb8341cfc41e63bb6e39419ac 30-May-2008 Brian Paul <brian.paul@tungstengraphics.com> egl: fix width/height tests
/external/mesa3d/src/egl/main/eglsurface.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/eglsurface.c
209a557574b9833da3d6ac299c83f4cddfff6910 27-May-2008 Brian Paul <brian.paul@tungstengraphics.com> fix typo: s/Contexts/Surfaces/
/external/mesa3d/src/egl/main/eglsurface.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/eglsurface.c
63b852f4f9a350f4004ef681c29441728cea218d 05-Feb-2006 Brian Paul <brian.paul@tungstengraphics.com> fix typo
/external/mesa3d/src/egl/main/eglsurface.c
b2006a40eb22899d38cd31691640555228e36975 30-Jan-2006 Brian Paul <brian.paul@tungstengraphics.com> some initial EGL 1.2 work
/external/mesa3d/src/egl/main/eglsurface.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/eglsurface.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/eglsurface.c
39591da355dcbc759c391465ec6b6b56ca3fa12b 23-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> update some comments
/external/mesa3d/src/egl/main/eglsurface.c
167b141e6eac1af5fc8fcd4129216a3125b08501 17-May-2005 Brian Paul <brian.paul@tungstengraphics.com> added _eglInitPbufferSurface()
/external/mesa3d/src/egl/main/eglsurface.c
380991cb657dec71d754d5221ffd55360864358d 16-May-2005 Jon Smirl <jonsmirl@gmail.com> Implement query of surface type.
/external/mesa3d/src/egl/main/eglsurface.c
adbff7e977c7c768e752a24fb643d68bdf961bfe 22-Apr-2005 Brian Paul <brian.paul@tungstengraphics.com> initial EGL code
/external/mesa3d/src/egl/main/eglsurface.c