Re: Writing our own routines in WINCE(Kernel Mode)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.

.



Relevant Pages

  • Re: charts and graphs
    ... In most of the graphs I have done, I have found that it is less work to draw ... I do not want to use crystal reports because ... Please go to this website link below; and type in username: ...
    (microsoft.public.vb.general.discussion)
  • Re: Six Sigma
    ... So all you have to do is read about it and learn how to draw the right ... graphs, spew jargon, etc., then create a website and offer to teach it ... (handing out certificates to all those whom you have trained), ... give yourself some documentation. ...
    (sci.physics)
  • Re: How to save a plot in jpeg file programmatical
    ... > I want to draw a lot of graphs and save them as JPG. ... > a graph and then use menu of the plot window to save it as a jpeg ...
    (comp.soft-sys.matlab)
  • contour plots with gnuplot
    ... i am writing a program in C++ where I am implementing the stuff I developed my thesis about eye glass optics with Matlab/Octave. ... I need to draw graphs like those: http://m21s26.vlinux.de/math/gsg.png ... The data does not fit in a regular grid, so there has to be a kind of triangulation or something similar. ...
    (comp.graphics.apps.gnuplot)
  • Re: Ramsey Model (long)
    ... Ramsey's theory works on things called complete graphs, ... example to draw a 6th order complete graph, ... And Ramsey was more ... interested in the *existence* of what came to be called "Ramsey ...
    (rec.arts.sf.written)