intel / external-mesa

16 stars 57 forks source link

Revert "Optimize the eglWaitSyncKHR" #87

Closed strassek closed 6 years ago

strassek commented 6 years ago

This reverts commit 5f482bb13463334bc987ee797f26d41f1cd0e97f.

The KHR_wait_sync extension makes no concessions regarding the required behavior of the EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR condition, as defined by KHR_fence_sync. The spec still requires that all preceding commands have been fully realized before waiting on the sync object. If we include the resolve in the same batchbuffer flush as the fence, then we will actually just be blocking the resolve. So we do need to separate the resolve command flush from the fence wait flush.

Signed-off-by: Kevin Strasser kevin.strasser@intel.com

kalyankondapally commented 6 years ago

@txu4 ping

strassek commented 6 years ago

Merged