Oleg Bolshakov
|
Re: how to read the actual photon region
|
Oleg Bolshakov
09/12/2019 10:24 AM
post119917
|
Re: how to read the actual photon region
Hi Sebastian,
Unfortunately, PgReadScreen() is not implemented in QNX 4. So you have two option:
1. Use snapshot utility.
2. In case of using Pg.flat* driver you can determine physical framebuffer address, map it in your app and read from it
according to current graphics mode.
Respectfully,
Oleg
> We need to know the best way to read in a photon region to an image or char
> array. So we have access to the pixel color data. We are using QNX4.25.
> We want to grab the screen from a process, which will not draw to photon and
> should just read back what another process have drawn.
>
> We did not find a suitable function to accomplish that, we just found out that
> QNX6 has the PgReadScreen function to do this.
|
|
|