compositor clock api question

Geoff Hale 0 Reputation points
2024-02-21T00:46:30.2833333+00:00

Waiting on the compositor clock is done by a call to DCompositionWaitForCompositorClock(), which looks like it is probably a wrapper around something like WaitForMultipleObjects() and some compositor event object(s). Wouldn't it have been better to expose the actual event object though, like what was done with GetFrameLatencyWaitableObject()? This would have been a lot more flexible to work with. The reason I ask is because I need to use the MsgWaitForMultipleObjectsEx() function instead.

Windows development Windows API - Win32
Developer technologies C++
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.