You Are Here:

Community: Developer Discussion Boards

#1 Old why drawPixels() slower on s60 MIDP Concet SDK Beta0.3 - 2003-10-13, 16:33

Join Date: Oct 2003
Posts: 3
ni_jj
Offline
Registered User
when I use drawPixels() ,I found it is very slow on [s60 MIDP Concet SDK Beta0.3]emu,but it runs very fast on [s60 MIDP SDK for Symbian OS V1.2.1]emu?

here is my code:
short screen[];
screen = new short[176*208];

public void paint( Graphics g )
{
DirectGraphics dg = DirectUtils.getDirectGraphics(g);
dg.drawPixels(screen,false,0,176,0,0,176,208,0,DirectGraphics.TYPE_USHORT_4444_ARGB);
}

it cost 400ms @[s60 MIDP Concet SDK Beta0.3]
but it just took 20ms @[s60 MIDP SDK for Symbian OS V1.2.1]!!
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia