When using hardware acceleration, there is a limit to the size of a
texture. When you render a bitmap, it has to be uploaded to an OpenGL
texture first. Your bitmap happens to be bigger than the maximum
texture size on Xoom (2048x2048.) You need to use a smaller bitmap or
split it into several bitmaps.

On Sat, Jun 18, 2011 at 6:37 AM, Zhenbo Xu <zhenbo1...@gmail.com> wrote:
> Hi, everybody,
> I am developing a application in Xoom.And I need to display a large
> picture(2560*1600 jpg) in a imageview which is contained in a
> ViewFlipper.
> The ImageView's Scale Type is Martrix. The Image file is in the assets
> dir.
> When I set the image file as the src of image view, DDMS reports a
> warning :
> " WARN/OpenGLRenderer(3973): Bitmap too large to be uploaded into a
> texture".
> Has anyone had this problem before?How did you sovle it?
> Hope for your help,thank you!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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

Reply via email to