Implement a shareable egl fence.
This class is an optimized way to share an egl fence among multiple consumers. Once the shared egl fence has been waited upon by any of the consumer, all the future waits to the same fence becomes no-op since we don't need to wait again on the same fence any more. This saves un-neccesary gl calls issued to do wait by each consumer. Change-Id: I5bf0c0f9a36d2d1a2709100343a141ec8b841dae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1989025 Commit-Queue: vikas soni <vikassoni@chromium.org> Reviewed-by:Eric Karl <ericrk@chromium.org> Cr-Commit-Position: refs/heads/master@{#731779}
Showing
ui/gl/shared_gl_fence_egl.cc
0 → 100644
ui/gl/shared_gl_fence_egl.h
0 → 100644
Please register or sign in to comment