This site is no longer active and is available for archival purposes only. Registration and login is disabled.

assembly bitmap scaler


Postby warmi » Aug 25, 2005 @ 4:11pm

warmi
pm Insider
 
Posts: 518
Joined: Aug 24, 2002 @ 8:07am
Location: Chicago USA


Postby joshbu [MSFT] » Aug 25, 2005 @ 4:57pm

joshbu AT microsoft dot-you-know-where
Windows CE Software Design Engineer

“This posting is provided “AS IS” with no warranties, and confers no rights.”
joshbu [MSFT]
pm Member
 
Posts: 60
Joined: Apr 10, 2004 @ 12:28am
Location: Redmond, WA


Postby mm40 » Aug 26, 2005 @ 6:14am

User avatar
mm40
pm Member
 
Posts: 135
Joined: Feb 21, 2003 @ 9:11pm


Postby refractor » Aug 26, 2005 @ 6:41am

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby mm40 » Aug 26, 2005 @ 7:46am

awesome, how is the best way to use it?

also has anyone seen huge improvements by using the latest EVC compiler and SDK? I use the 2002 SDK for backward compatibilty with all ARM devices, but I was wondering if you used the 2005 SDK and compiled specifically for XScale (if this is possible) does this speed up your code?
User avatar
mm40
pm Member
 
Posts: 135
Joined: Feb 21, 2003 @ 9:11pm


Postby drgoldie » Aug 26, 2005 @ 12:57pm

if you believe that your code is purely memory bound i suggest you have a look at this thread:

http://www.pocketmatrix.com/forums/view ... hp?t=19742

it turned out that by prefetching (using pure c code) it was possible to speed up the algorithm by several 100%.

bye,
Daniel
drgoldie
pm Member
 
Posts: 330
Joined: Jan 10, 2003 @ 10:46am
Location: Vienna


Postby Kzinti » Aug 26, 2005 @ 6:36pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby fast_rx » Aug 26, 2005 @ 7:19pm

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby joshbu [MSFT] » Aug 26, 2005 @ 10:48pm

Prefetch the memory areas you are going to read.

Thus, in a blending or multisampling routine, yes, there would be some value to prefetching the destination. Unless the destination is the primary surface.

On XScale devices, we encourage driver writers to mark the primary uncached with combining. This gives us the maximum write speed possible without cluttering the cache. It also means that prefetching will have no effect.

General graphics tip: reading back from the primary is only going to get more expensive on PPCs/SPs. Don't do it.

We've also seen some good speed-ups making other buffers that are overwhealming written to (back buffers, or composition buffers) uncached with combining.
joshbu AT microsoft dot-you-know-where
Windows CE Software Design Engineer

“This posting is provided “AS IS” with no warranties, and confers no rights.”
joshbu [MSFT]
pm Member
 
Posts: 60
Joined: Apr 10, 2004 @ 12:28am
Location: Redmond, WA


Postby mm40 » Aug 27, 2005 @ 1:38am

User avatar
mm40
pm Member
 
Posts: 135
Joined: Feb 21, 2003 @ 9:11pm


Postby Andy » Aug 27, 2005 @ 2:42am

Andy
<font color=red size=3>Troll++</font>
 
Posts: 1288
Joined: Nov 1, 2003 @ 7:36am


Postby mm40 » Aug 27, 2005 @ 5:55am

I think I'm not seeing any improvements because of some other barrier, I just compiled blit.exe without any drawing except for the frame counter and the words 'pocketfrog' in the corner and only get 47fps! :x obviously trying to inch towards 47fps from 41fps by optimzing one function isn't going to cut it. the barrier must be somewhere in pocketfrog, gapi, or the QVGA to VGA scaler in the x50v, time to move benching to my other axim I think...
User avatar
mm40
pm Member
 
Posts: 135
Joined: Feb 21, 2003 @ 9:11pm


Postby mm40 » Aug 29, 2005 @ 6:18am

User avatar
mm40
pm Member
 
Posts: 135
Joined: Feb 21, 2003 @ 9:11pm


Postby drgoldie » Aug 29, 2005 @ 8:46pm

drgoldie
pm Member
 
Posts: 330
Joined: Jan 10, 2003 @ 10:46am
Location: Vienna


Postby mm40 » Aug 29, 2005 @ 10:09pm

User avatar
mm40
pm Member
 
Posts: 135
Joined: Feb 21, 2003 @ 9:11pm


PreviousNext

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron