It seems that the msm chips are notorious for having a low bandwidth.
There's really no solution to that problem other than

1) lowering your texture size
2) lowering the bit depth of the texture, e.g. instead of using
RGBA8888 use RGBA444 or RGB565
2) uploading your texture in patches, e.g. split it up into 4 smaller
parts and upload one part each frame. This will probably lead to
artifacts if your frame rate is low but could work otherwise.

Just out of curiousity: why do you have to upload such a big texture
each frame? If you'd state your scenario in detail we might be able to
suggest other solutions to the problem.

On 17 Apr., 12:10, Eong <[email protected]> wrote:
> Robert,
>    Sorry, it's not text, it's tex. I just use this to draw the
> background.
>    I just want to know why nexus one is so slow with this. It takes
> 20ms on my milestone but it takes at least 80ms on the nexus one, for
> one frame.
>
> On 4月17日, 上午2时08分, Robert Green <[email protected]> wrote:
>
>
>
> > Eong,
>
> > You said you are uploading every frame just to draw text?  There are
> > much more efficient ways to do that.
>
> > On Apr 16, 11:14 am, Eong <[email protected]> wrote:
>
> > > I'm afraid it's not a same problem.
> > > My problem only happenes on Snapdragon phones.
> > > It's fine on Milestone or Droid. I found a few threads about this but
> > > no solution.
>
> > > On 4月16日, 下午9时15分, Felipe Silveira <[email protected]> wrote:
>
> > > > Just a guess: It can be the same error reported 
> > > > here:http://code.google.com/p/android/issues/detail?id=7520
>
> > > > Take a look...
>
> > > > Felipe Silveirahttp://www.felipesilveira.com.br
>
> > > > On Fri, Apr 16, 2010 at 8:40 AM, Eong <[email protected]> wrote:
> > > > > Hi,
> > > > > We are developing 2D games. And we found our game works fine except
> > > > > the snapdragon chips, like Nexus one and Liquid A1. It even runs fine
> > > > > on G1.
>
> > > > > We use GLSurfaceView, and we useglTexImage2Dand glTexIsubmage2D to
> > > > > put on the text and then draw.
> > > > > TheglTexImage2Dclass take more than 100ms on Nexus one (1024x512 pix
> > > > > tex). It's very strange, G1 is even faster than this.
> > > > > If anyone know something about this?
>
> > > > > ---------------------Code
> > > > > snip-----------------------------------------------
> > > > >                                        
> > > > > gl.glClear(GL10.GL_COLOR_BUFFER_BIT
> > > > > | GL10.GL_DEPTH_BUFFER_BIT);
>
> > > > >  gl.glTexSubImage2D(GL10.GL_TEXTURE_2D, 0, 0, 0, m_width,
> > > > > m_height, GL10.GL_RGB, GL_UNSIGNED_SHORT_5_6_5, m_byteCanvas);
>
> > > > >                                        ((GL11Ext)gl).glDrawTexiOES(0, 
> > > > > 0, 0,
> > > > > m_width, m_height);
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > > > Groups "Android Developers" group.
> > > > > To post to this group, send email to 
> > > > > [email protected]
> > > > > To unsubscribe from this group, send email to
> > > > > [email protected]<android-developers%2Bunsubs
> > > > >  [email protected]>
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/android-developers?hl=en
>
> > > > --
> > > > Felipe Silveira
> > > > Engenharia da Computação
> > > > Universidade Federal de Itajubáhttp://www.felipesilveira.com.br
> > > > MSN: [email protected]
> > > > -------------------------------------------------
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > > Groups "Android Developers" group.
> > > > To post to this group, send email to [email protected]
> > > > To unsubscribe from this group, send email to
> > > > [email protected]
> > > > For more options, visit this group 
> > > > athttp://groups.google.com/group/android-developers?hl=en
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/android-developers?hl=en
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group 
> > athttp://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to