Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgwaitdrawcomplete.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgwaitdrawcomplete.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgwaitdrawcomplete.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgwaitdrawcomplete.html on line 8

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()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgwaitdrawcomplete.html on line 100

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgwaitdrawcomplete.html on line 100