Maobuff

Results 16 comments of Maobuff

Are you using bitmap.GetPixel ? Had performance issues with GetPixel method in past.

Sure! Also I updated System.Drawing.Common and get around 13ms for each picture (from hdd). Still not happy with the result. Update: Measured load time of `SetIcon(Resources.Icon, Resources.Icon);`. Result is 250ms.

I also find old project with glfw on c# an tried to load texture using GetPixel method. result is 2 full seconds for loading texture(1024x1024) from file. Switched to LockBits...

Sure! [Texture.zip](https://github.com/spvessel/spacevil/files/3666591/Texture.zip)

Loading for first container is 23ms, for next ones less than 1ms (25 copies of HorizontalStack with 14 total elements, 3 of which are pictures). For testing I used same...

I can call it a success, but take a look at SetIcon() method. Maybe its still using GetPixel method.