I have had it working quite well.
See:
https://github.com/nmehost/nme/blob/master/samples/HerokuShaders/Source/Main.hx
Where it uses "addChild" to add a FPS counter.
My guess is that some state is not being restored - like scissor box, depth test etc. The current version does not restore everything automatically. But it will set some things like current program, vertex attribs and textures, so your program will need to set a few things up each render and not assume the state is persistent. I am thinking about the state management - if it is not restored then it would be possible to use 2 ogl views to sandwich a 2d call and set some interesting states.
I noticed the sample used to do a glClear. NME does a clear every frame, so if you do another you could wipe the existing drawings. To make the gui come over the top, make sure you "addChild" it later on the display list. There should be little or no slowdown (apart from the sum of the two render times)
Hugh
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.
If you run with the "-v" flag, you should get more info about with SDK/NDK is being used.
I recommend using the latest one - maybe you have an old setting in your .hxcpp_config.xml
Hugh