Merge lp://staging/~kdub/mir/egl-sync-khr into lp://staging/mir
Proposed by
Kevin DuBois
Status: | Merged |
---|---|
Approved by: | Alan Griffiths |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3137 |
Proposed branch: | lp://staging/~kdub/mir/egl-sync-khr |
Merge into: | lp://staging/mir |
Diff against target: |
581 lines (+427/-20) 10 files modified
include/test/mir/test/doubles/mock_egl.h (+4/-0) src/include/platform/mir/graphics/egl_extensions.h (+9/-0) src/include/platform/mir/graphics/egl_sync_fence.h (+82/-0) src/platform/graphics/CMakeLists.txt (+1/-0) src/platform/graphics/egl_extensions.cpp (+19/-10) src/platform/graphics/egl_sync_fence.cpp (+93/-0) tests/mir_test_doubles/mock_egl.cpp (+27/-0) tests/unit-tests/graphics/CMakeLists.txt (+1/-0) tests/unit-tests/graphics/test_egl_extensions.cpp (+40/-10) tests/unit-tests/graphics/test_egl_sync_fence.cpp (+151/-0) |
To merge this branch: | bzr merge lp://staging/~kdub/mir/egl-sync-khr |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alan Griffiths | Approve | ||
Chris Halse Rogers | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Alberto Aguirre (community) | Approve | ||
Review via email: mp+277578@code.staging.launchpad.net |
Commit message
graphics: add objects for supporting the EGL_KHR_fence_sync extensions
Description of the change
graphics: add objects for supporting the EGL_KHR_fence_sync extensions*
*corrected from original description to make note of correct extension.
To post a comment you must log in.
Looks ok, although I would prefer to remove raise and put that chunk of code in in the constructor instead.
Any reason why we need to create one object and call raise repeatedly on it?
Why not create EGLSync objects as needed and then just have a wait and wait_for api?