Shannon Booth
33bd6cfc2a
LibWeb: Implement "current high resolution time" AO
2024-04-12 09:08:46 +02:00
MacDue
1d999fa780
LibWeb: Return milliseconds from unsafe_shared_current_time()
...
This was incorrectly changed to returning seconds in fc5cab5
, which
meant the time passed to the callbacks of requestAnimationFrame() was
wrong.
2024-02-11 08:10:45 +01:00
kleines Filmröllchen
fc5cab5c21
Everywhere: Use MonotonicTime instead of Duration
...
This is easily identifiable by anyone who uses Duration::now_monotonic,
and any downstream users of that data.
2023-05-24 23:18:07 +02:00
kleines Filmröllchen
213025f210
AK: Rename Time to Duration
...
That's what this class really is; in fact that's what the first line of
the comment says it is.
This commit does not rename the main files, since those will contain
other time-related classes in a little bit.
2023-05-24 23:18:07 +02:00
Linus Groh
d8ebdef010
LibWeb: Partially implement 'relative high resolution time' AOs
2022-10-30 20:10:29 +00:00
Linus Groh
32ad939e44
LibWeb: Rename HighResolutionTime/{CoarsenTime => TimeOrigin}.cpp/h
...
This is being used for more than just time coarsening now, so let's use
the spec's section title for the name.
2022-10-05 09:12:59 +01:00