Add some 256x256 android png icon and remove the redundant png file
- add some 256x256 png file which for android icon
- remove the redundant png file, which is odd size [225x225], use such size may cause the new operator have odd byte size, that may bring random crash in android
Bug fix for there is no any object be rendered on the screen
- that is due to Renderer will be Init before the Scene bind to Renderer, then the Renderer's Renderers Pointer Vector will be null, then in Renderer's Init(), it will check the null, and leave the flag for initialized and rendering be false
- after that, the flag keep false, but all Renderable has been init itself properly in Scene's Load(), but there is no way for Renderer to set the flag to true after that
- then, in the real rendering update, the flag is all false bring no way to call the renderable's Draw
Bug fix for Engine
- make it init the pointer to Scene and Renderer to NULL, in case some time maybe assign to a non-Null, but not point to any valid memory, then access it will bring crash
Improve Scene and GLBasicScene, also Models class
- remove redundant function in Scene: Bind and UnBind, since no one will call it
- remove the function body of Load() and UnLoad() in Scene, since it is useless, and no one will call it
- improve the Scene's destructor, make the delete of m_pRenderablesVector be more safe
- remove the GLBasicScene's Load and UnLoad's protected flag, that will make confuse, which should be public
- add explicit to GLBasicScene's constructor
- remove the call to UnLoad() in GLBasicScene's destructor, which is a virtual function, that is not good, although no side-effect
- make the variable in Models be init to NULL, and the corresponding delete be more safe
- re-add the texture which load from sdcard, and use new png file in sdcard
- remove some comments
- make the background color to be yellow
Remove redundant log in kernel and gl_renderable cpp file
- remove redundant log in kernel.cpp
- remove redundant line in gl_renderable.cpp
Improve Renderer and EGLRenderer
- remove redundant getter for Renderer, which never be used
- rename setRendering's return type, which is wrong, although compiler didn't warn it
- improve Renderer's destructor, make it not call virtual function, but just set the flags
- add some log to Renderer's Update and RenderFrame function
- improve EGLRenderer's destructor, make it call proper Destroy function which can clear the resource as expected
- add and modify some log
Improve android's event handler and AndroidTask
- add some checker in each msg handle code
- make the scene be new, load, bind to renderer, delete in corresponding msg handle code, but not in AndroidTask's Start and Stop function
- some code format in the event handler
add some breakpoint to the file which help debug
- as title