Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - ScreenShot in GF: (3 Items)
   
ScreenShot in GF  
Does anyone know of a way to get the pixel data from a surface back out of the surface into other memory?  This could be
 useful for me to create a screenshot of the current surface attached to the layer or do computations and analysis of 
the framebuffer.

I am using a full software implementation with the devg-imx25.so driver on an i.mx25 PDK development kit.

Thanks for the help.
--john
RE: ScreenShot in GF  
gf_draw_blit2()

If your current process is not the process that created the surface, you
need to somehow obtain the sid of the desired surface
(gf_surface_get_info() can provide that data on the "server" side), then
send it to your current process.  The current process can then passively
attach with gf_surface_attach_by_sid().  Now wait for h/w idle, then do
the blit.

-Derek

-----Original Message-----
From: John Edwards [mailto:community-noreply@qnx.com] 
Sent: Tuesday, April 27, 2010 10:13 AM
To: advanced-graphics
Subject: ScreenShot in GF

Does anyone know of a way to get the pixel data from a surface back out
of the surface into other memory?  This could be useful for me to create
a screenshot of the current surface attached to the layer or do
computations and analysis of the framebuffer.

I am using a full software implementation with the devg-imx25.so driver
on an i.mx25 PDK development kit.

Thanks for the help.
--john



_______________________________________________

Advanced Graphics
http://community.qnx.com/sf/go/post52891
Re: ScreenShot in GF  
Hi John,

Did you ever find an answer to this?  Looks like I'm following down the same road now.

Thanks,
Devan