When I've finished the rendering optimizations there will (or could) be the possibility to add scenegraph change listeners. Maybe you want to make use of them

.
Yaa that will give more control on SceneGraph behaviour , and would be a cleaner way to do things .
As of now i set one Flag when i modify scenegraph and my rendering thread keeps track of that Flag
and if thier is any change it again renders the scene ,Not a very good way to do things but i dont want to
keep rendering even if thier is no change to scene.
With this approach i have to ask the rendering thread to render in case of any resize or system triggred
paint method, Again not a very clean way to do things.