this is an idea but since I don't know your design, I don't know if it will
fit.


make a

[Application]
public class myGlApp: Application
{

public void onCreate()
{
//create a pool of float bytes here that you can reuse

}

~myGlApp()
{
//MAKE SURE TO DESTROY POOL PROPERLY
}




}


also the I ran opengl apps in the most minimal emulator with the debugger.
I'd show you but I signed an NDA so we know it's your code.
}

On Wed, Jun 13, 2012 at 3:19 AM, l0nestar <[email protected]>wrote:

> Spoke too soon.. :(
>
> However i think i can create a very similar issue in the default android
> opengl app.
>
> If you create a new monodroid opengl project and then put these lines in
> GLView#.cs  OnRenderFrame,  underneath GL.DrawArrays():
>
>                        for (int i = 0; i < 50; i++)
>                                GC.Collect(0);
>
> For me it exits after a few seconds. However if I run the app without the
> debugger it runs fine.
>
>
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/debugger-constantly-detaches-tp5710262p5710313.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> [email protected]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>



-- 
Extreme Knowledge is not something for which he programs a computer but for
which his computer is programming him.

-Wozniak
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to