mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2026-01-02 11:10:20 +01:00
stable/presentation-time: reorganize clock_id documentation
Move compositor implementors' guidelines to the end. Recombine the affected paragraphs. No changes to the wording are made. Suggested-by: Bryce Harrington <bryce@osg.samsung.com> Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
8e685a89ff
commit
79a4172976
1 changed files with 10 additions and 12 deletions
|
|
@ -99,18 +99,10 @@
|
|||
presentation interface. The presentation clock does not change
|
||||
during the lifetime of the client connection.
|
||||
|
||||
The clock identifier is platform dependent. Clients must be
|
||||
able to query the current clock value directly, not by asking
|
||||
the compositor.
|
||||
|
||||
On Linux/glibc, the identifier value is one of the clockid_t
|
||||
values accepted by clock_gettime(). clock_gettime() is defined
|
||||
by POSIX.1-2001.
|
||||
|
||||
Compositors should prefer a clock which does not jump and is
|
||||
not slewed e.g. by NTP. The absolute value of the clock is
|
||||
irrelevant. Precision of one millisecond or better is
|
||||
recommended.
|
||||
The clock identifier is platform dependent. On Linux/glibc,
|
||||
the identifier value is one of the clockid_t values accepted
|
||||
by clock_gettime(). clock_gettime() is defined by
|
||||
POSIX.1-2001.
|
||||
|
||||
Timestamps in this clock domain are expressed as tv_sec_hi,
|
||||
tv_sec_lo, tv_nsec triples, each component being an unsigned
|
||||
|
|
@ -122,6 +114,12 @@
|
|||
Note that clock_id applies only to the presentation clock,
|
||||
and implies nothing about e.g. the timestamps used in the
|
||||
Wayland core protocol input events.
|
||||
|
||||
Compositors should prefer a clock which does not jump and is
|
||||
not slewed e.g. by NTP. The absolute value of the clock is
|
||||
irrelevant. Precision of one millisecond or better is
|
||||
recommended. Clients must be able to query the current clock
|
||||
value directly, not by asking the compositor.
|
||||
</description>
|
||||
|
||||
<arg name="clk_id" type="uint" summary="platform clock identifier"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue