Re: Writing our own routines in WINCE(Kernel Mode)
- From: "Dan McCarty" <dmccarty@xxxxxxxxx>
- Date: 23 May 2006 06:38:35 -0700
Without answering your question, let me just point out that you are
trying to draw 10 to 15 graphs 200 times per second when the human eye
is only capable of distinguishing about 30 frames per second. Is
redrawing the graphs that often really necessary?
If you think that it is, you can write your own line functions in CE
without needing kernel access, although I think that you'll run into
the same speed issues you already have. (How much better performance
are you going to get out of a line algorithm?) I suggest doing all of
your drawing in memory and only blitting to the screen when you've
completed a draw. If that's still too slow, try combining some of the
graphs, or updating the graphs in groups--e.g., graphs 1, 3, 5 in pass
1 and graphs 2, 4, 6 in pass 2.
-Dan
Suresh D.Madhu wrote:
hi all,
I am devoloping application in wince (on ICOP 6072-6s Board). In that, I
need to draw 10 to 15 graphs for every 5 milliseconds with different colors
(in Both Screen DC and Memory DC) and . Currently I am using SelectObject to
select the color and MoveToEX and LineTo API's to plot the graphs. But with
this, I could not able to get good performance for all the graphs(upto 7, I
could get good performance). So to improve the performance, I want to write
our own routines for SelectObject, MoveToEx and LineTo API's in the kernel
mode. I have no experience in writing code in the kernel mode. Can anybody
guide me on this?
Advaced Thanks.
.
- Prev by Date: SetWindowsHookEx, just one question;
- Next by Date: libraries under debug/release configurations
- Previous by thread: Re: Writing our own routines in WINCE(Kernel Mode)
- Next by thread: SIPShowIM Link Error
- Index(es):
Relevant Pages
|