PdCreateOffscreencontext

I am using the PdCreateOffscreencontext function to allocate bitmaps and
draw fast on video.

Anybody knows if the above function fails when video memory is exhausted or
if it may return a context in system memory ?

I have not found any detail on this.

Thank you

Luciano Bernardini
l.bernardini@genesy.it

Alex Timofeev <vchc@mail.ru> wrote:
: It fails.

:> I am using the PdCreateOffscreencontext function to allocate bitmaps and
:> draw fast on video.
:>
:> Anybody knows if the above function fails when video memory is exhausted
: or
:> if it may return a context in system memory ?
:>
:> I have not found any detail on this.

I’ve added this to the docs.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

It fails.

I am using the PdCreateOffscreencontext function to allocate bitmaps and
draw fast on video.

Anybody knows if the above function fails when video memory is exhausted
or
if it may return a context in system memory ?

I have not found any detail on this.

Thank you

Actually, the behaviour of the function is driver-dependent.
Some drivers may allocate a context in system memory.


Steve Reid <stever@qnx.com> wrote:

Alex Timofeev <> vchc@mail.ru> > wrote:
: It fails.

:> I am using the PdCreateOffscreencontext function to allocate bitmaps and
:> draw fast on video.
:
:> Anybody knows if the above function fails when video memory is exhausted
: or
:> if it may return a context in system memory ?
:
:> I have not found any detail on this.

I’ve added this to the docs.


Steve Reid > stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems