Share via

compositor clock api question

Geoff Hale 0 Reputation points
Feb 21, 2024, 12:46 AM

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 API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,749 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,897 questions
{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.