Re: [mono-android] Performance of Canvas.DrawPoint

2012-04-18 Thread hawk66
Thanks Jonathan, I missed that completely ;) -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Performance-of-Canvas-DrawPoint-tp5644629p5649894.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Mon

Re: [mono-android] Performance of Canvas.DrawPoint

2012-04-16 Thread Jonathan Pryor
On Apr 16, 2012, at 2:35 PM, hawk66 wrote: > Is there any more efficient way to draw the map? Might I suggest Canvas.DrawPoints(float[], int, int, Paint)? http://androidapi.xamarin.com/?link=M%3aAndroid.Graphics.Canvas.DrawPoints(System.Single%5b%5d%2cSystem.Int32%2cSystem.Int32%2cAndroi

[mono-android] Performance of Canvas.DrawPoint

2012-04-16 Thread hawk66
Hello, I generate a map/terrain; created with procedural content generation (on the fly) and try it now to visualize on a canvas. This works fine but the performance is pretty bad: for (int x = 0; x < _mapManager.WorldManager.Terrain.Width; x++) { for (int