The limit varies from GPU to GPU. 2048 is the minimum maximum but it can/will be higher on different GPUs. The limit can be queried using Canvas.getMaxBitmapWidth/Height(). On Oct 25, 2012 6:04 AM, "Chi Ho Kwok" <[email protected]> wrote:
> So I ran into this limit a while ago on one of the views on > DigiCal<https://play.google.com/store/apps/details?id=com.digibites.calendar> > (the > week one) where you can pinch to zoom, and then, we just decided to disable > hardware acceleration. But I'm wondering - when 2560x1440 10" tablets are > released, will a simple content view declared as > > <View xmlns:android="http://schemas.android.com/apk/res/android" > android:layout_width="match_parent" > android:layout_height="match_parent" /> > > break on those devices with "W/OpenGLRenderer(29002): Shape path too large > to be rendered into a texture (2560x13xx, max=2048x2048)"? > > > And if not, how do we check if we have to apply workarounds for max > texture sizes on the Java side? > > > Kind regards, > > Chi Ho Kwok > > -- > 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 -- 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

