[Piglit] [PATCH v2 10/12] egl_android_native_fence_sync: Test for wait with zero timeout.
Eric Anholt
eric at anholt.net
Fri Jun 16 19:43:44 UTC 2017
Rafael Antognolli <rafael.antognolli at intel.com> writes:
> Verify that eglClientWaitSyncKHR() correctly handles zero timeout before
> and after the sw sync fence is signaled.
>
> Signed-off-by: Rafael Antognolli <rafael.antognolli at intel.com>
> ---
> .../egl_android_native_fence_sync.c | 95 ++++++++++++++++++++++
> 1 file changed, 95 insertions(+)
>
> diff --git a/tests/egl/spec/egl_android_native_fence_sync/egl_android_native_fence_sync.c b/tests/egl/spec/egl_android_native_fence_sync/egl_android_native_fence_sync.c
> index b1739a9..f31b213 100644
> --- a/tests/egl/spec/egl_android_native_fence_sync/egl_android_native_fence_sync.c
> +++ b/tests/egl/spec/egl_android_native_fence_sync/egl_android_native_fence_sync.c
> @@ -786,6 +786,96 @@ cleanup:
> return result;
> }
>
> +/**
> + * Verify that eglClientWaitSyncKHR() correctly handles zero timeout before and
> + * after glFinish().
Here and in the error messages below,
s/glFinish()/sw_sync_timeline_inc()/
With that, patches 7-12 are:
Reviewed-by: Eric Anholt <eric at anholt.net>
I have some more tests I'm going to want to build before I trust an
implementation of the extension, but this is a good start and we should
actually get it into the tree.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170616/60d1bf4a/attachment.sig>
More information about the Piglit
mailing list