Consolidate 'sync' and 'frame' events into just one 'key' event

This commit is contained in:
Kristian Høgsberg 2010-11-29 17:04:21 -05:00
parent ac93a3d3d7
commit c1ad1f9c9b
3 changed files with 26 additions and 41 deletions

View file

@ -58,19 +58,12 @@
<arg name="base" type="uint"/>
</event>
<!-- A reply to the sync request. All requests made before the
"sync" request that had the same key as the one present in
this event have been processed by the server. -->
<event name="sync">
<arg name="key" type="uint"/>
</event>
<!-- A reply to the frame request. The key is the one used in the
request. time is in millisecond units, and denotes the time
when the frame was posted on the display. time can be used to
estimaate frame rate, determine how much to advance
animatiosn and compoensate for jitter-->
<event name="frame">
<!-- A reply to the frame or sync request. The key is the one
used in the request. time is in millisecond units, and
denotes the time when the frame was posted on the
display. time can be used to estimaate frame rate, determine
how much to advance animations and compensate for jitter. -->
<event name="key">
<arg name="key" type="uint"/>
<arg name="time" type="uint"/>
</event>