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

VSync in 2700G chip


VSync in 2700G chip

Postby hamster » Mar 1, 2006 @ 10:47am

Hi! :D

I'm writing a 2D program using PowerVR MBX (the 'lite' release?) and I'm surprised about the slow execution of my program despite the simplicity of it. I think (but I'm not sure) that the main problem could be the vsync, I has read that I could disable vsync using eglSwapInterval, but this function is not available for the PowerVR release that I'm using... Are there any other possibility to disable vsync? Is really so slow to change a texture bitmap using glTexSubImage2D with the 2700G chip? Exist any other OpenGLES implementation instead of PowerVR that supports Dell Axim acceleration?

Thanks!
User avatar
hamster
pm Member
 
Posts: 10
Joined: Mar 1, 2006 @ 10:26am


Postby hamster » Mar 3, 2006 @ 9:05am

User avatar
hamster
pm Member
 
Posts: 10
Joined: Mar 1, 2006 @ 10:26am


Postby Dan East » Mar 3, 2006 @ 3:27pm

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


Postby hamster » Mar 4, 2006 @ 3:20am

User avatar
hamster
pm Member
 
Posts: 10
Joined: Mar 1, 2006 @ 10:26am


Postby rcp » Mar 4, 2006 @ 8:42am

PowerVR has two compressed texture formats. These can be stored directly into memory, and thus the download time is very fast. If your images are static, you can use this format. If your images are not, you can use RGB565. If you are seeing slow download times, it is probably because you are using a format or size that doesn't fit. ie; the texture size must be a power of 2, you can't download sub-images, things must fit RGB565 or one of the compressed formats.
While texture download is slow, it is not that slow (37ms). We play movies using a 256x256 RGB565 texture and it plays at 30fps with plenty of time to spare. If you would like, you can post your download code and I will look to see if I see any performance problems.
User avatar
rcp
pm Member
 
Posts: 184
Joined: Jul 18, 2003 @ 2:12am
Location: Duluth, GA. (Southeast US)


Postby joshbu [MSFT] » Mar 8, 2006 @ 10:17pm

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 Tala » May 31, 2006 @ 9:08pm

Tala
pm Member
 
Posts: 125
Joined: Feb 6, 2004 @ 4:32pm


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