diff options
author | Dongwon Kim <[email protected]> | 2016-04-04 17:14:10 -0700 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-04-05 15:24:57 +0200 |
commit | 70299474f58ad7c0299ea5f997019880d1c4deef (patch) | |
tree | 5999eb87f3a1c9311067ea66ce6bc6131d9293b1 /docs | |
parent | 3e135728268cf36a176dcd915108ad7dc0f4e457 (diff) |
egl: add EGL_KHR_reusable_sync to egl_dri
This patch enables an EGL extension, EGL_KHR_reusable_sync.
This new extension basically provides a way for multiple APIs or
threads to be excuted synchronously via a "reusable sync"
primitive shared by those threads/API calls.
This was implemented based on the specification at
https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_reusable_sync.txt
v2
- use thread functions defined in C11/threads.h instead of
using direct pthread calls
- make the timeout set with reference to CLOCK_MONOTONIC
- cleaned up the way expiration time is calculated
- (bug fix) in dri2_client_wait_sync, case EGL_SYNC_CL_EVENT_KHR
has been added.
- (bug fix) in dri2_destroy_sync, return from cond_broadcast
call is now stored in 'err' intead of 'ret' to prevent 'ret'
from being reset to 'EGL_FALSE' even in successful case
- corrected minor syntax problems
v3
- dri2_egl_unref_sync now became 'void' type. No more error check
is needed for this function call as a result.
- (bug fix) resolved issue with duplicated unlocking of display in
eglClientWaitSync when type of sync is "EGL_KHR_REUSABLE_SYNC"
Signed-off-by: Dongwon Kim <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions