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/pd/pddupoffscreencontext.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/pd/pddupoffscreencontext.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/pd/pddupoffscreencontext.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/pd/pddupoffscreencontext.html on line 8
Duplicate an offscreen context
PdOffscreenContext_t *
PdDupOffscreenContext(
PdOffscreenContext_t *context,
unsigned long flags );
- context
- A pointer to the context that you want to duplicate, as returned by
PdCreateOffscreenContext(),
or NULL if you want to duplicate the screen buffer.
- flags
- Flags that indicate how you want to create the offscreen context:
ph
PdDupOffscreenContext() makes a copy of the given context.
This not only creates a context that has the same dimensions and image type,
but also copies the image data.
|
You must target this function at a specific card by calling
PdSetTargetDevice().
PdDupOffscreenContext() blocks until the operation is complete. |
A pointer to a
PdOffscreenContext_t
structure, or
NULL on failure.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PdCreateOffscreenContext(),
PdGetOffscreenContextPtr(),
PdOffscreenContext_t,
PdSetOffscreenTranslation(),
PdSetTargetDevice(),
PgContextBlit(),
PgSwapDisplay()
“Video memory offscreen”
in the Raw Drawing and Animation chapter of the
Photon Programmer's Guide
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/pd/pddupoffscreencontext.html on line 175
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/pd/pddupoffscreencontext.html on line 175