Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Re: Screenshots
#5
(09.09.2011, 18:53:27)DCoder Wrote: Yes, that was mainly done to improve performance. Several testers reported significant speed improvements after applying that change. It makes sense, because if a surface was in VRAM, Lock() has to transfer it all into system RAM before it can give you a pointer to it, and Unlock() has to push it back to VRAM...
Or lock() maps the video memory into the app's address space, which looks to be happening in my case. That's even slower.
Quote:and in some places the geniuses at WW draw stuff pixel by pixel, causing repeated lock/unlock cycles.
Ouch.
Quote:Why are you working with PNG? I'm pretty sure that a simple read/write loop into a 16 bit BMP will work faster than read/process/write into a PNG, doing image compression here feels like a waste of time to me.
PNG can be uploaded to the web as-is. XCC Mixer doesn't even support BMP. Tongue 2
Compression time is no problem.
Reply


Messages In This Thread
Re: Screenshots - by XTF - 08.09.2011, 22:13:36
RE: Re: Screenshots - by DCoder - 09.09.2011, 06:41:01
RE: Screenshots - by XTF - 09.09.2011, 10:28:20
RE: Re: Screenshots - by DCoder - 09.09.2011, 18:53:27
RE: Screenshots - by XTF - 10.09.2011, 14:48:15
RE: Re: Screenshots - by XTF - 13.09.2011, 15:15:41
RE: Re: Screenshots - by DCoder - 13.09.2011, 19:04:15



Users browsing this thread: 1 Guest(s)