[Piglit] [PATCH v2 00/12] egl_android_native_fence_sync tests.

Rafael Antognolli rafael.antognolli at intel.com
Sat Jun 17 00:09:23 UTC 2017


On Fri, Jun 16, 2017 at 04:50:20PM -0700, Dylan Baker wrote:
> I don't see any tests added to tests/all.py, is that intentional?

No, this was the first series I did for piglit, so I didn't even know about
it. But it was in my todo list (somewhere) to add it on a next version.

> Quoting Rafael Antognolli (2016-11-07 15:05:02)
> > Updated version of these tests.
> > 
> > This series is also available at:
> > 
> > https://github.com/rantogno/piglit/tree/review/fences-v02
> > 
> > v2:
> >     - split sw_sync lib into its own patch
> >     - remove sync_wait and sync_merge from sw_sync lib
> >     - do not destroy sync fd after creating EGL sync out of it.
> > 
> > Rafael Antognolli (12):
> >   egl_android_native_fence_sync: Initial test for native fences.
> >   egl_android_native_fence_sync: Add sw_sync lib.
> >   egl_android_native_fence_sync: Add test to create fence from fd.
> >   egl_android_native_fence_sync: Verify eglDupNativeFenceFDANDROID.
> >   egl_android_native_fence_sync: Create fence from invalid display.
> >   egl_android_native_fence_sync: Create fence from other display.
> >   egl_android_native_fence_sync: Create fence with invalid attributes.
> >   egl_android_native_fence_sync: Create fence without current context.
> >   egl_android_native_fence_sync: Try to get invalid attribute.
> >   egl_android_native_fence_sync: Test for wait with zero timeout.
> >   egl_android_native_fence_sync: Test nonzero timeout.
> >   egl_android_native_fence_sync: Verify that dup() fails on invalid
> >     fence.
> > 
> >  tests/egl/spec/CMakeLists.txt                      |    1 +
> >  .../CMakeLists.gles2.txt                           |    9 +
> >  .../egl_android_native_fence_sync/CMakeLists.txt   |    1 +
> >  .../egl_android_native_fence_sync.c                | 1068 ++++++++++++++++++++
> >  .../spec/egl_android_native_fence_sync/sw_sync.c   |  211 ++++
> >  .../spec/egl_android_native_fence_sync/sw_sync.h   |   50 +
> >  6 files changed, 1340 insertions(+)
> >  create mode 100644 tests/egl/spec/egl_android_native_fence_sync/CMakeLists.gles2.txt
> >  create mode 100644 tests/egl/spec/egl_android_native_fence_sync/CMakeLists.txt
> >  create mode 100644 tests/egl/spec/egl_android_native_fence_sync/egl_android_native_fence_sync.c
> >  create mode 100644 tests/egl/spec/egl_android_native_fence_sync/sw_sync.c
> >  create mode 100644 tests/egl/spec/egl_android_native_fence_sync/sw_sync.h
> > 
> > -- 
> > 2.7.4
> > 
> > _______________________________________________
> > Piglit mailing list
> > Piglit at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/piglit




More information about the Piglit mailing list