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

Rafael Antognolli rafael.antognolli at intel.com
Mon Nov 7 23:05:02 UTC 2016


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



More information about the Piglit mailing list