Repository navigation
Decrease render event processing latency [msema] #1007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from 55 commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
b241b5a
Experimental mach `semaphore_t` usage
sbooth c79a609
Fix comment
sbooth 268406c
Refactor msema
sbooth 0ece850
Merge branch 'main' into msema
sbooth 4fee845
Fix comment width
sbooth 7bf7084
Improve `wait`
sbooth 34a12e6
Improve `timedwait`
sbooth 729ae62
Ensure `semaphore_timedwait` is always called
sbooth 38a7ea7
Update includes
sbooth 1720b77
Avoid SOIF
sbooth cabd4bd
Revert "Avoid SOIF"
sbooth 8c596ba
Merge branch 'main' into msema
sbooth 3fa86af
Remove marks
sbooth ca95054
constexpr where able
sbooth 450f144
Rename helper functions
sbooth c87b33c
Rename parameter
sbooth 3aa18a5
Make comments more generic
sbooth c64abe5
Minor updates
sbooth 13d524b
Improve seek responsiveness
sbooth 9f5f6bf
Remove `CXXDispatchSemaphore` dependency
sbooth 862b763
Add `detail::timespec_zero`
sbooth 0e5c835
Use more appropriate constants
sbooth 8de0bac
throw `system_error` on ctor fail
sbooth 4a4c169
Add mach error category
sbooth ed5e1e8
Add `timedwait_result`
sbooth cb0449d
Consistent scoping
sbooth 15a49a1
Format
sbooth 3382863
Merge branch 'main' into msema
sbooth dfcb670
Merge branch 'main' into msema
sbooth bf2f036
Merge branch 'main' into msema
sbooth 68a1296
Merge branch 'main' into msema
sbooth 4aa34b8
Reformat
sbooth f11ea9e
Use existing host time utilities
sbooth 4b5b31e
Remove newline
sbooth 27d6530
Simplify marks
sbooth dd76694
Merge branch 'main' into msema
sbooth 8240f25
Signal the event semaphore after enqueuing a pause
sbooth 03b8f8e
Remove cast
sbooth ccd0873
Add `timedwait(uint64_t nanoseconds)`
sbooth f4a5421
Use `mach_task_self()` directly
sbooth b1b9ad2
Use `host_time::current()`
sbooth a226e7e
Merge branch 'main' into msema
sbooth a47c7a8
Merge branch 'main' into msema
sbooth 1ada712
Coalesce event signals
sbooth c7decc8
Increase event processing timeout
sbooth fc499cf
Only log event processing timeout in debug builds
sbooth 7c6136e
Add constant for timeout
sbooth 870f96d
Add debug diagnostic logging for missed decoding signals
sbooth 1e9a0e1
Add member function prototype
sbooth 8530d05
Use `std::chrono` for timeout specification
sbooth d9358d4
Refactor
sbooth 2ac2c94
Refactor timeout
sbooth fea6074
Merge branch 'main' into msema
sbooth d6f332d
Only signal the event thread when events were enqueued
sbooth 107bc80
Rename `decodingWorkPending`
sbooth 2142b5d
Reword log message
sbooth 8b8ef84
Reformat
sbooth e9ece8f
Merge branch 'main' into msema
sbooth 441f1f6
Merge branch 'main' into msema
sbooth 804683a
Reformat
sbooth 58c8620
Merge branch 'main' into msema
sbooth d7f9e7f
Use new flag name
sbooth 0315657
Merge branch 'main' into msema
sbooth 8bfec9c
Merge branch 'main' into msema
sbooth 19c1c23
Update `DEBUG` conditionals
sbooth 90f2a16
Merge branch 'main' into msema
sbooth db624f3
Update for changes to main
sbooth 1a5f932
Rework `timedwait()`
sbooth 6ac6d01
Change return type of `timedwait()` to `bool`
sbooth 323dc4e
Rename `timedwait()`
sbooth 8bffc84
Rename `wait_time` and `signal_all`
sbooth 84f64d5
Restructure `wait()`
sbooth 085ccd0
Add `[[unlikely]]`
sbooth d2819cb
Remove unused functions
sbooth 6bdd647
Merge branch 'main' into msema
sbooth 9654fee
Add code voice to comments
sbooth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.