Kostadin Vardin(deleted)
|
surface and layer question
|
Kostadin Vardin(deleted)
10/21/2009 5:12 PM
post40467
|
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
|
|
|