[mono-android] OpenTK & GL

zelyony at mail.ru zelyony at mail.ru
Sun Mar 13 05:35:21 EDT 2011


All testing was done on Samsung Galaxy S
Create default OpenGL project and run it

1) Box is rotating. Ok.
    Try change phone orientation to landscape and back => Strange exception on message box


2) In which method I must create & load textures and buffers? (GL-context must be valid)
    In override OnResize or OnLoad GL-context is not ready – debugger stops on MakeCurrent() or GL.SomeMethod(..)
    ISurfaceHolderCallback.SurfaceChanged is not virtual, I cannot override it. In Java all methods are virtual.
    OnUpdateFrame & OnRenderFrame with check state (Normal, AfterResize, AfterLostContext..) looks ugly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monodroid/attachments/20110313/2595421e/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 114545 bytes
Desc: not available
Url : http://lists.ximian.com/mailman/private/monodroid/attachments/20110313/2595421e/attachment-0001.png 


More information about the Monodroid mailing list