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


Home
QNX Community Resources
QNX Documentation Library
PdGetOffscreenSurface

PdGetOffscreenSurface

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

PdGetOffscreenSurface()

Get an offscreen surface handle

Synopsis:

PgSurface_t *PtGetOffscreenSurface(
   PdOffscreenContext_t *osc );

Arguments:

osc
A pointer to an offscreen context structure, as returned by PdCreateOffscreenContext().

Library:

ph

Description:

This function gets a handle for an offscreen context surface, which can be used as a color buffer for glSetPhotonRenderSurfaceQNX().

Returns:

A pointer to an opaque PgSurface_t, or NULL if an error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PdCreateOffscreenContext(), PdOffscreenContext_t

"Video memory offscreen" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide