egl: initialize SyncCondition after attr parsing
authorRob Clark <robclark@freedesktop.org>
Fri, 18 Nov 2016 13:39:30 +0000 (08:39 -0500)
committerChad Versace <chadversary@chromium.org>
Thu, 1 Dec 2016 18:52:55 +0000 (10:52 -0800)
commitcce04a463089ef3ce39df3e2ae25066c2e1ddfdf
treed62537c617bd2b6b557d698ad02a859cf05f0e17
parent05f35a868cd18e9821fc92d6e11f7cce10ddd587
egl: initialize SyncCondition after attr parsing

Reduce the noise in the next patch.  For EGL_SYNC_NATIVE_FENCE_ANDROID
the sync condition is conditional on EGL_SYNC_NATIVE_FENCE_FD_ANDROID
attribute.

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>
src/egl/main/eglsync.c