| |||
Views: 88,501,776 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 04-29-24 05:09 PM |
|
Guest: Register | Login |
0 users currently in Computing | 2 guests |
Main - Computing - C#/.NET Rendering Image | New thread | New reply |
Xeon |
| ||
Red Paratroopa Level: 31 Posts: 26/174 EXP: 181621 Next: 3742 Since: 03-09-07 Last post: 6023 days Last view: 3225 days |
Alright, well I'm currently using GDI/PInvoke/StretchDIBits in order to render my image. And the current method I'm using is pretty fast, and I'm not having any issues with it so far. But what I'm wondering is if there is a Managed solution to what I'm trying to accomplish, which is to basically to set all the pixels before hand and just render them to the screen in one operation. I'm thinking that the only good solution is to just keep using the unmanaged code, since i've found that most managed solutions are almost always going to be slower then unmanaged.
What I currently got Win32.BITMAPINFO bi = new Win32.BITMAPINFO(); |
MathOnNapkins |
| ||
Super Koopa Level: 62 Posts: 55/842 EXP: 1936011 Next: 48675 Since: 02-19-07 From: durff Last post: 4491 days Last view: 4014 days |
I've got an idea but I'll have to do a little more research first. It depends on whether you can do memory mapped files in C# or not.
http://www.bobpowell.net/lockingbits.htm <- best lead I've come up with so far. ____________________ Zelda Hacking Forum hobbies: delectatio morosa |
Main - Computing - C#/.NET Rendering Image | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 42, rows: 52/53, time: 0.014 seconds. |