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 - surface and layer question: Page 1 of 2 (2 Items)
   
surface and layer question  
Hello,
I have application where the frame I am receiving from Digital Camera are to be displayed on window. I know how to do 
that in Photon ad it works fine.
I want to port my application to GF and QNX 641 and started playing with GF.
Please find attached my init function for the display, layer and surface I am creating. I am directly writing received 
frames to surface_info.vaddr.
The resolution I am using is 1920X1200, 32bpp. The chipset is 945GME, driven by gma9XX.so, and I am starting the 
application having Photon running as well. The OS is QNX641.
Now the problem is that the display gets split in 4 quadrants:
 - quadrant_1: 0.0 -- 1023, 1023
 - quadrant_2: 1024,0 ---1919,1023
 - quadrant_3: 0,1024 --- 1023,1199
 - quadrant_4: 1024,1024 ---1919,1199

When I write to surface_info.vaddr, then the frame gets displayed in quadrant_1 and quadrant_2. The rest of quadrants 
are displaying whatever was displayed in Photon at these coordinates.

My problem is how to configure the surface and layed so I have only one window with the frame displayed on it? What 
wrong I am doing so that the display gets split in 4.
Please for your help!
Kosta
Attachment: Text gf_init.c 2 KB