[Piglit] [PATCH 00/11] egl_android_native_fence_sync tests.

Rafael Antognolli rafael.antognolli at intel.com
Thu Oct 27 23:18:59 UTC 2016


Now with more coverage for the native fence sync API.

Notice that the last commit adds a test that is making piglit crash for now.

Rafael Antognolli (11):
  egl_android_native_fence_sync: Initial test for native fences.
  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                | 1072 ++++++++++++++++++++
 .../spec/egl_android_native_fence_sync/sw_sync.c   |  240 +++++
 .../spec/egl_android_native_fence_sync/sw_sync.h   |   52 +
 6 files changed, 1375 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