summaryrefslogtreecommitdiff
path: root/src/protocols/PresentationTime.cpp
Commit message (Collapse)AuthorAgeFilesLines
* protocols: commit and presentation timing fixes (#13174)UjinT342026-02-101-20/+19
| | | | | | | | | | | | | | | | | | | | | | | | | * move commit timing fields to surface state * fix toTimespec init * update sendQueued api * update onPresented api * set zero copy flag * send clock id * move presented calcs inside condition * use only CLOCK_MONOTONIC for commit/presentation timings * fix setSetTimestamp * do not wait for commit timing while tearing * proto config * fix config defaults
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-1/+1
|
* presentation: only send sync output on presented (#12255)Tom Englund2025-11-111-1/+1
| | | | | | | as protocol states there is two events. 'presented' or 'discarded'. wp_presentation_feedback::sync_output As presentation can be synchronized to only one output at a time, this event tells which output it was. This event is only sent prior to the presented event.
* presentation: fix vrr check for reporting no refresh timeVaxry2025-09-161-1/+1
| | | | ref #11608
* presentation: handle vrr for v1 clients (#11608)Dominick DiMaggio2025-09-061-1/+3
|
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-2/+2
|
* presentation: move to unique ptrsTom Englund2025-07-101-9/+18
| | | | less refcounting, move by rvalue.
* protocols: refactor class member vars (n-t) (#10273)davc0n2025-05-041-38/+37
|
* helpers: refactor class member vars (#10218)davc0n2025-04-301-3/+3
|
* time: move to stl's clocks and move timerVaxry2025-04-161-13/+7
|
* presentation: log a fixme when there is a feedback leakVaxry2025-01-281-0/+5
| | | | ref #8087
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+1
|
* core: add LIKELY and UNLIKELY macrosvaxerski2025-01-171-4/+4
| | | | helps the compiler optimize
* internal: cleanup CMonitor usage and fix a few ref hogsVaxry2024-10-261-3/+3
| | | | ref #8221
* internal: Move CMonitor to SP (#8178)Vaxry2024-10-191-2/+2
| | | | | * move monitors to sp * XD
* core: Fix Musl builds (#7934)bivsk2024-09-281-2/+2
| | | | Musl does not include the internal type `__time_t`. Use `time_t` instead.
* presentation-feedback: minor fixupsVaxry2024-08-301-5/+7
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-2/+2
| | | now we roll loops at blazing constified speed.
* build: fix 32bit builds (#7510)Tom Englund2024-08-261-1/+5
| | | | | | | ensure the correct type is passed to std::clamp and std::max int64_t is different on 64bit compared to 32bit, also in presentationtime tv_sec is __time_t and on 32bit its a 32bit type so right shift count >= width of type. so only bit shift on 64bit. and avoid potential nullptr deref in the for loops, check for .end() before *it <= endID.
* protocols: refactor protocol logging to a macro (#7324)Tom Englund2024-08-151-2/+0
| | | | | | this avoids the usage of the unique_ptr PROTO::protocol before it has been constructed incase one wants to log something inside the constructor itself, move the logging to macros and print file:linenumber on ERR,CRIT,WARN and classname on the rest of the levels.
* presentation-feedback: fix invalid values sent after aq mergeVaxry2024-07-211-1/+9
|
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-9/+9
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* core: Fix crash on opening chromium (#6932)phonetic1122024-07-201-1/+1
|
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-6/+8
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* presentation-time: move to new implVaxry2024-05-101-0/+125