Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PmMemSetMaxBufSize

PmMemSetMaxBufSize

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

PmMemSetMaxBufSize()

Set the maximum size of a memory context's draw buffer

Synopsis:

#include <photon/PhRender.h>

void PmMemSetMaxBufSize( PmMemoryContext_t *mc,
                         int size );

Library:

ph

Description:

This function sets the maximum size that the memory context's draw buffer will grow to. The larger the buffer, the less often a flush will be required, and the faster the application will be. The default size of the draw buffer is 4K.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PmMemCreateMC(), PmMemReleaseMC(), PmMemSetChunkSize(), PmMemSetType()

"Flickerless animation" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide