diff options
author | Zhongmin Wu <[email protected]> | 2017-09-15 18:32:43 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-09-19 12:12:29 +0100 |
commit | 7343d271367d9a15063ea8093108f829eb593c8d (patch) | |
tree | 5058e7f31d87bc0c9e31a11ee9ba0968f175ba12 /src/mesa/math/m_dotprod_tmp.h | |
parent | e013ce8d0d91f6558af50f285e6a96ab697ec90c (diff) |
egl/android: Use per surface out fence
Use the plumbing introduced with previous patch to interact with the
Android framework.
Namely: currently we use an invalid fd of -1 for our calls to
ANativeWindow::{queue,cancel}Buffer.
At the same time applications (like flatland) may rely on it being
a valid one. Thus as they attempt to query the timestamp of the fence,
they get unexpected results/behaviour.
In the case of flatland - the benchmark hang inside getSignalTime().
Make use of the out fence and pass the correct fd to Android.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101655
Signed-off-by: Zhongmin Wu <[email protected]>
Signed-off-by: Yogesh Marathe <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Tomasz Figa <[email protected]>
[Emil Velikov: split from larger patch]
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/math/m_dotprod_tmp.h')
0 files changed, 0 insertions, 0 deletions