Can I get access IDirectDrawSurface5 on a WindowsMobile device so that I can access the BltFast method?
+1
A:
For the fastest blits and direct screen access on Windows Mobile, I would recommend using: PocketHal or the library which is built on top of that: Pocketfrog
Toad
2009-12-20 14:09:33
Thanks - I'm hoping to stick with DirectDraw, since I have that working, I'm looking for just a little more speed. Ultimately PocketHal must use some sort of native API to render to the device. Do you know what it uses?
Kevin
2009-12-20 15:55:02
It uses assembly, and has ways to get to the screenbuffer directly, where-as gdi, and even directx go through abstraction layers (and buffers), which ultimately make your app go a factor 1.5 - 4 times as slow (no hidden color conversions, bit rotations, etc).
Toad
2009-12-21 08:18:36
So to emphasize the point: pockethal doesn't go through native API's...which makes it really fast.
Toad
2009-12-21 08:19:29
+1
A:
there is no IDirectDrawSurface5
interface in neither the Windows Mobile 5.0 (and above) reference nor in the ddraw.h
header file of the Windows Mobile 6 SDK, nor is there a BltFast
method. so no, you can not. you can use IDirectDrawSurface::Blt
, though.
ax
2009-12-20 14:45:17