Project Home
Project Home
Source Code
Source Code
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 - gf_display_snapshot on non Fujitsu Carmine hardware : (3 Items)
   
gf_display_snapshot on non Fujitsu Carmine hardware  
Hi All,

The API doc for gf_display_snapshot() (part of AGTDK) says that this functionality works only on Fujitsu Carmine 
hardware. Is there any alternative to achieve the same functionality - basically get a pic of the stuff shown onscreen?

Thanks in advance for your assistance,

Srinivas
Re: gf_display_snapshot on non Fujitsu Carmine hardware  
yeah, that is just a specific h/w capability of the carmine ... you can simulate this by attaching to the main display, 
creating another surface of same stride, width and height, then use gf_draw_blit2() and send a copy to your screen.  I 
would waiting for hardware idle before doing so.  You can then populate a img_t, and call img_write() if you want to go 
that far - data from gf_surface_get_info() using your secondary surface.
Re: gf_display_snapshot on non Fujitsu Carmine hardware  
Hi Derek,
Thanks for the response!

Would this be possible if the process trying to create the image files is different from the processes actually doing 
the painting/drawing on screen? And could you please enlighten me on "waiting for hardware idle"?

Many thanks once again,
Srinivas