DirectDraw support?

  • Thread starter Thread starter Jeroen CEuppens
  • Start date Start date
J

Jeroen CEuppens

Does CF has support for DirectDraw? or has it calls to it?

I need some info about it, maybe these DirectDraw drivers make the
performance of some drawing functions better....

Thx
Jeroen
 
I would strongly suggest doing your homework on DirectDraw before going down
that route. I've used it and love it, but it's a world of its own. Like so
many choices, it's a great technology for some applications, and not right
for others. Unless drawing performance is the absolute highest priority in
your application, you may get the performance you need by optimizing your
managed graphics code, or even writing some of your graphics code using
unmanaged Win32 calls in C++ (using DIBSections, etc.)

What specifically are you trying to improve the performance of?

Bill
 
The program has 2 threads, 1 for user input, the other for drawing bmp
(300kb, 480x640), 10 images /second is possible with the hardware, maybe the
directdraw is better in drawing for these application

Thx
Jeroen
 
DirectX may be your best choice. There are great articles online as well as
a few good books. I would suggest learning all you can about DirectX
(including difference between full screen, exclusive mode and a windowed
app) as well as DIBSections before starting down a path. These decisions can
have significant impact on how you structure your app and each has its own
tradeoffs. Plus, consider whether your app may be best implemented as a C++
app using eVC instead of as a Smart Device App.

Have you experimented with these technologies? Do you already know that you
can't get the performance you need from a Compact Framework App?

Bill
 
Back
Top