Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PmMemFlush()
Flush a memory context to its bitmap
Synopsis:
#include <photon/PhRender.h>
int PmMemFlush( PmMemoryContext_t *mc,
PhImage_t *image );
Library:
ph
Description:
This function forces any unprocessed draw-stream commands to be processed. Then, the PhImage_t structure pointed to by image is filled in with information from the memory image. The image can then be rendered via any of the PgDrawImage*() or PgDrawPhImage*() functions.
Returns:
- 0
- Success.
- -1
- An invalid memory context was provided.
Examples:
See PmMemCreateMC().
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
"Flickerless animation" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)