Derek Leach
04/28/2010 7:53 AM
post52975
|
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
|
|
|
Devan Lippman(deleted)
01/31/2012 5:18 PM
post91261
|
Hi John,
Did you ever find an answer to this? Looks like I'm following down the same road now.
Thanks,
Devan
|
|
|