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

Toshiba e740 GAPI blit


Postby Dan East » Dec 22, 2002 @ 6:12am

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby pacomac » Dec 22, 2002 @ 8:08pm

pacomac
 


Postby James S » Dec 22, 2002 @ 8:16pm

<img src="http://home.comcast.net/~sonne/james/tag.gif">
James S
pm Insider
 
Posts: 17064
Joined: Jan 12, 2002 @ 2:33pm
Location: Lexington, KY


e740 benchmark

Postby Sergey Chaban » Dec 24, 2002 @ 6:25am

Sergey Chaban
pm Member
 
Posts: 72
Joined: Nov 12, 2002 @ 1:45am


Postby Sergey Chaban » Dec 25, 2002 @ 6:21pm

Ok, so I figured out enough of the ATI API to implement RGB blits.
I updated blitmark.zip to use ATI routines (see URL in the previous post). Surprisingly, it seems that accessing vmem of the offscreen surface is slightly faster than accessing frontbuffer's memory, so I always get better results when ATI blit is used.
I included two precompiled binaries in the archive:
BlitMark-e740-GAPI.exe (GAPI + memcpy)
BlitMark-e740-ATI.exe (ATI overlay + xs_blit_full_ldrd)
The latter is always slightly faster on my e740.

SC
Sergey Chaban
pm Member
 
Posts: 72
Joined: Nov 12, 2002 @ 1:45am


Postby sponge » Dec 25, 2002 @ 7:26pm

holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby Sergey Chaban » Dec 25, 2002 @ 8:45pm

Sergey Chaban
pm Member
 
Posts: 72
Joined: Nov 12, 2002 @ 1:45am


Postby Another guest is asking » Jan 8, 2003 @ 8:43pm

so is the performance difference on the e740 mainly in the blitting stage?

Would that explain why its pocketQuake score is decent (low FPS)? The higher the FPS, the more significant the time wasted in the blitting stage becomes.

Thanks!
Another guest is asking
 


Postby James S » Jan 8, 2003 @ 8:48pm

More like, the more of the screen that needs to be blitted each frame the slower it is. The e740 is inordinately slower in landscape PocketQuake than other PocketPCs, whereas it's slightly faster (after the ROM update) than other PocketPCs in portrait because only half of the screen is being blitted each frame in portrait.
<img src="http://home.comcast.net/~sonne/james/tag.gif">
James S
pm Insider
 
Posts: 17064
Joined: Jan 12, 2002 @ 2:33pm
Location: Lexington, KY


Postby Another Guest remembers » Jan 8, 2003 @ 9:01pm

I remember having this discussion with the Pocket TV guy.

When the e740 came out, PTV performance in landscape was 50% slower than in portrait (if not even worse). I speculated that the extra pixels in landscape could not have caused that much of a slowdown for the following simple reason:

If blitting constitutes 20% of the CPU time, than a 50% increase in pixels would only increase the blitting CPU time to say 30%. But that would only translate to a small decrease (10%) in total performance.

Shortly after a new version of PTV was released WITHOUT any ATI specific API calls in which Landscape performance was 10-20% slower than portrait (as opposed to 50% earlier). From what I remember he mentionned something along the lines of "the e740 video buffer needs to be filled in a certain way to prevent a huge performance drop".

I'm paraphrasing, but I thought I'd throw it out there anyway in case it might help a developper. I think this might also explain why some games seem to run fine on the e740 and some are MUCH slower (depending on how they fill the video buffer).
Another Guest remembers
 


Postby Another Guest quotes » Jan 8, 2003 @ 9:10pm

Last edited by Another Guest quotes on Jan 8, 2003 @ 9:38pm, edited 2 times in total.
Another Guest quotes
 


Postby James S » Jan 8, 2003 @ 9:26pm

<img src="http://home.comcast.net/~sonne/james/tag.gif">
James S
pm Insider
 
Posts: 17064
Joined: Jan 12, 2002 @ 2:33pm
Location: Lexington, KY


Postby Another guest responds » Jan 8, 2003 @ 9:36pm

Another guest responds
 


Postby Sergey Chaban » Jan 8, 2003 @ 9:56pm

Sergey Chaban
pm Member
 
Posts: 72
Joined: Nov 12, 2002 @ 1:45am


Postby Sergey Chaban » Jan 8, 2003 @ 9:58pm

Sergey Chaban
pm Member
 
Posts: 72
Joined: Nov 12, 2002 @ 1:45am


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