Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Sample code to blit to/from PmMemoryContext_t to/from PdOffscreenContext_t: (1 Item)
   
Sample code to blit to/from PmMemoryContext_t to/from PdOffscreenContext_t  
The documentation if wrong for PgContextBlitArea*().  One cannot blit to/from any other than a PdOffscreenContext_t with
 that routine.

Attached is code that uses GF to blit to/from PmMemoryContext_t to/from PdOffscreenContext_t.
There are three routines:

blit_init()
blit_deinit()
blit_dc_to_dc()

It does not necessarily perform an accelerated blit, but exposes the capability of the chipset currently in use.

Attachment: Compressed file blit_dc_example.tar 10 KB