Lu Li(deleted)
|
display in multiple process
|
Lu Li(deleted)
05/03/2013 11:33 AM
post101127
|
display in multiple process
Hi there,
I am new to QNX and CWM. Now I am working on a project to display using both opengles and QT in separate processes, and
now either of them works ok. My opengles uses egl and gf (according to the documentation now) and QT uses pure gf (as
far as I understand). My current solution is to use CWM to integrate them.
my opengl initial code is similar to:
http://code.google.com/p/glues/source/browse/trunk/glues/qnx/tests/nurbs/nurbs.c?r=27
I tried a few configurations for winmgr.conf including something like this one:
begin display
begin plane
egl-config = 1
wfd-pipeline = 1
end plane
end display
When I started the io-winmgr and tried to start my opegl exe, my code will fail in gf_layer_attach.
I looked at the demo and tutorial in the forum download, and tried the gear demo for egl (it seems that no gf calls in
the demo), and it failed at very beginning when trying to do eglGetDisplay (returning null).
My question will be:
Is CWM the right solution to run both QT and my program. if answer is yes, can I run the code in the above link with
modifying the winmgr.conf? if not, what else shall I change in the code?
Thanks,
Lu
|
|
|