[Previous]
[Bookset]
[Next]

PmMemSetType()

Set the type of a memory context

Synopsis:

void PmMemSetType( PmMemoryContext_t *mc,
                   int type );

Description:

This function sets the type of the memory context mc. The valid types are:

Pm_PHS_CONTEXT
Renders the draw buffer to image only when necessary (i.e. when the draw buffer is full, or PmMemFlush() is explicitly called). Otherwise, the only effect a flush has is to expand the draw buffer when necessary.
Pm_IMAGE_CONTEXT
The draw stream is rendered to the image on every flush.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

[Previous]
[Bookset]
[Next]