History log of /external/mesa3d/src/egl/main/eglsync.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0201f01dc4e903d9b60cbbf87fde3ffa7c76f248 18-Nov-2016 Rob Clark <robclark@freedesktop.org> egl: add EGL_ANDROID_native_fence_sync

With fixes from Chad squashed in, plus fixes for issues that Rafael
found while writing piglit tests.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Tested-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
Tested-by: Chad Versace <chadversary@chromium.org>
/external/mesa3d/src/egl/main/eglsync.h
804488518296fbf20b06244bc0aa2e2793c61998 27-Sep-2016 Chad Versace <chadversary@chromium.org> egl: Unify the EGLint/EGLAttrib paths in eglCreateSync* (v3)

Pre-patch, there were two code paths for parsing EGLSync attribute
lists: one path for old-style EGLint lists, used by eglCreateSyncKHR,
and another for new-style EGLAttrib lists, used by eglCreateSync (1.5)
and eglCreateSync64 (EGL_KHR_cl_event2).

There were two attrib_list parsing functions,
_eglParseSyncAttribList(_EGLSync *sync, const EGLint *attrib_list)
_eglParseSyncAttribList64(_EGLSync *sync, const EGLattrib *attrib_list)
This patch unifies the two attrib_list parsing functions into one,
_eglParseSyncAttribList(_EGLSync *sync, const EGLattrib *attrib_list)

Many internal EGLSync function signatures had *two* attrib_list
parameters to accomodate both code paths: one parameter was an EGLint
list and other an EGLAttrib list. At most one of the parameters was
allowed to be non-null. This patch removes the `EGLint *attrib_list`
parameter, leaving only the `EGLAttrib *attrib_list` parameter, for all
internal EGLSync functions.

v2:
- Consistently use condition (sizeof(int_list[0]) ==
sizeof(attrib_list[0])). [for emil]
v3:
- Don't double-unlock the display in eglCreateSyncKHR.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com> (v2)
/external/mesa3d/src/egl/main/eglsync.h
1e79e054e7dff0c45538fff1257e1f81a206d7c9 12-May-2015 Marek Olšák <marek.olsak@amd.com> egl: add eglGetSyncAttrib (v2)

v2: - don't modify "value" in eglGetSyncAttribKHR after an error
- rename _egl_api::GetSyncAttribKHR -> GetSyncAttrib
- rename GetSyncAttribKHR_t -> GetSyncAttrib_t
- rename _eglGetSyncAttribKHR to _eglGetSyncAttrib

Reviewed-by: Chad Versace <chad.versace@intel.com>
/external/mesa3d/src/egl/main/eglsync.h
d333d30632516b1fc5b60181c2c237653e55a8e1 12-May-2015 Marek Olšák <marek.olsak@amd.com> egl: use EGL 1.5 types without suffixes

Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
/external/mesa3d/src/egl/main/eglsync.h
290a3eb7507f7f2949753a77c425ed2bb6fd0dd1 10-Apr-2015 Marek Olšák <marek.olsak@amd.com> egl/dri2: implement EGL_KHR_cl_event2 (v2)

v2: fix the SYNC_CONDITION query
/external/mesa3d/src/egl/main/eglsync.h
dd438ae34bdbaa6651cdd226d5fec15a892923bf 28-Feb-2015 Emil Velikov <emil.l.velikov@gmail.com> egl/main: no longer export internal function

With the split of the gallium egl module we had previously it required
access to some of the internal functions. As the only build (automake)
that did this no longer builds it we can now appropriately hide those
functions.

Cc: 10.5 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/egl/main/eglsync.h
7bd1693877e4de9aaf8f6776649fc48db54ec82b 28-Feb-2015 Emil Velikov <emil.l.velikov@gmail.com> egl/main: replace INLINE with inline

Drop the custom keyword in favour of the C99 one. All the places using
it now directly include c99_compat.h which should handle things on
platforms which lack it.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/egl/main/eglsync.h
f957cac772d34b3406be3236b81571e456ee40e8 20-Dec-2011 Chia-I Wu <olv@lunarg.com> egl: remove #ifdef's for official extensions

There is no point in having them when we distribute eglext.h.

As for unofficial extensions, there is a chance that we might remove some of
them evetually. Keeping the #ifdef's for now should make that easier.
/external/mesa3d/src/egl/main/eglsync.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/eglsync.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/eglsync.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/eglsync.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/eglsync.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/eglsync.h
2b2c5c4f5cb4620044eeaa7cc308e696209c7046 15-Aug-2010 Chia-I Wu <olv@lunarg.com> egl: Add support for EGL_KHR_fence_sync.

Individual drivers still need to support and enable the extension.
/external/mesa3d/src/egl/main/eglsync.h
4eebea74a81ec5fbacf2347ea88cac137ddd4d69 14-Aug-2010 Chia-I Wu <olv@lunarg.com> egl: Add support for EGL_KHR_reusable_sync.

Individual drivers still need to support and enable the extension.
/external/mesa3d/src/egl/main/eglsync.h