PgWaitDrawComplete()

Wait until all emitted draw streams have been processed

Synopsis:

void PgWaitDrawComplete( void );

Library:

ph

Description:

This functions waits until all previously emitted draw streams have been processed by the primary graphics driver.

This function is useful for throttling applications that continually draw. This call prevents the applications from getting ahead of the hardware. To wait until it's safe to reuse a shared memory image, call PgWaitHWIdle().


Note: You must target this function at a specific card by calling PdSetTargetDevice().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PdSetTargetDevice(), PgWaitHWIdle(), PgWaitVSync()