android
  #1  
Old 01-30-2011, 06:15 AM
Android18 Android18 is offline
Junior Member
 
Join Date: Dec 2010
Location: Pokhara,Nepal
Posts: 35
Default Reason for laggs??

Why does drawing function take up so much processes.
when i use screen.fillrect for larger area it takes up a lot of time and slows down alot.

the larger the area slower it becomes, is it the firmware's error or the processor??
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 01-30-2011, 09:14 AM
jbob182's Avatar
jbob182 jbob182 is offline
X-Fi2 Development Moderator
 
Join Date: Feb 2010
Location: The U.S.A.
Posts: 554
Default

[Thread Moved]

As for your question, It is the processer, with only about 300mhz and less then 10mb of flash based ram, power consuming functions like drawing has a noticeable impact. I suggest to cover up the image with a small fillrect ie: 20x20 rather then 400x240.

Hoped this helped
Reply With Quote

  #3  
Old 02-04-2011, 04:47 AM
Android18 Android18 is offline
Junior Member
 
Join Date: Dec 2010
Location: Pokhara,Nepal
Posts: 35
Default

i am not sop sure but loading pics is far more quick then drawing lines and rectangles
Reply With Quote

  #4  
Old 02-04-2011, 06:54 AM
Redwolfhome's Avatar
Redwolfhome Redwolfhome is offline
Junior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 91
Default

I also noticed that
If you compremize the image it also can be faster than screen.fillrect but be carfull if you use too much images it will flacker!
and drawing lines aren´t so much slower than images!
Reply With Quote

  #5  
Old 02-12-2011, 04:43 AM
Android18 Android18 is offline
Junior Member
 
Join Date: Dec 2010
Location: Pokhara,Nepal
Posts: 35
Default

Any way i have made a script to draw smooth lines but it woks almost 4 times slower than usual so i cant use it

Zen xfi in recovery mode runs really fast
Reply With Quote

  #6  
Old 02-14-2011, 02:08 PM
Brett_val's Avatar
Brett_val Brett_val is offline
Senior Member
 
Join Date: Jan 2010
Location: The Netherlands
Posts: 636
Default

Quote:
Originally Posted by Android18 View Post
Zen xfi in recovery mode runs really fast
Is that a joke or am I not understanding what you're trying to say here, as a difference between apps and the recovery mode screen?

I lol'd anyway
__________________
this is a link to my personal homepage which I haven't
Reply With Quote

  #7  
Old 02-19-2011, 05:39 AM
Android18 Android18 is offline
Junior Member
 
Join Date: Dec 2010
Location: Pokhara,Nepal
Posts: 35
Default

not the apps

When zen is on recovery mode then it works really fast
may be because it doesnt have images and so on
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 01:40 AM.