-----Original Message-----
From: Aaron Ardiri [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 6:23 PM
To: Palm Developer Forum
Subject: RE: Drawing performance (was Access screen with Palm OS 4.0)


On Wed, 29 May 2002, Regis Nicolas wrote:
> ------------------------------
> Accessing the screen directly may also cause some bpp issues.
> The new Treo 90 is apparently is 4-4-4 12bpp mode.
> ------------------------------

  my treo 90 is on its way over (fedex) and, i should be able to tell
  you guys how it works when i get the sucker :P

--------------------------------
I can't wait longer...
--------------------------------

> ------------------------------
> As Aaron said the OS itself is slower if you call SysHandleEvent too
often.
> Did you try calling EvtEventAvail and skip SysHandleEvent if none
available
> or are you calling EvtGetEvent with a (short) timeout value and always
> calling SysHandleEvent ?
> ------------------------------

  SysHandleEvent is a switch-case statement internally right? at least,
  it better be :P if it is a switch-case, it'll not be worth calling
  EvtEventAvail() :)

--------------------------------
More something like:
if (xxx1)
        yyy1;
if (xxx2)
        yyy2;
if (event == nilEvent)
        zzz; // Not really useful actually - I can't say much
switch (event)
{
}

I still think it's worth not to call it if you know there is no reason.
--------------------------------

  but, depends on how palm has written it of course :P i aint checked
  this recently - maybe i should *g*. Daniel Morais has also posted a
  few hints here on how to disable stylus processing etc which will also
  give you a bit more CPU grunt for your money :P

// az
[EMAIL PROTECTED]
http://www.ardiri.com/


------------------------------------------------------------------------
Regis NICOLAS - Engineering Director, Montpellier Site
Palm Computing Europe, a PalmSource, Inc. subsidiary
 
When the finger points to the sky, the idiot looks at the finger.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to