Um.  Don't look the screen into landscape.  WTF.  Just don't.

On some hardware you may get different performance in different
orientations.  Looking into landscape isn't a magical fix, it just pisses
off your users.

There are optimizations on Tegra 2 that can be done when the screen isn't
rotated from its natural orientation (which on the Xoom is landscape, but
that is just the Xoom and other Tegra 2 devices may use portrait as their
natural orientation).  In this case I believe that overlays on Tegra 2 can't
be rotated, so when in the natural orientation they can be used for window
surfaces but can't be used in any other rotation.

On Thu, Jun 16, 2011 at 5:30 PM, Robert Massaioli <robertmassai...@gmail.com
> wrote:

> This is sort of a Dev community FYI based on the post I made here on
> reddit: http://redd.it/i0slo
>
> Essentially when most Tegra 2 based tablets, like the Xoom or Samsung
> Galaxy Tab 10.1 are put in any mode other than standard rotation then fps
> chokes.
>
> The Android issue is 
> here<http://code.google.com/p/android/issues/detail?id=15958>
> .
> To see romainguy talking about the issue watch this for about 60 
> seconds<http://www.youtube.com/watch?v=sTx-5CGDvM8#t=52m35s>
> .
>
> Now if you want to actually avoid this issue completely then my only
> solution is to lock the screen orientation into standard 
> landscape<http://developer.android.com/guide/topics/manifest/activity-element.html#screen>for
>  your games.
>
> If anybody knows more about this issue like:
>
>    - If the problem is truly due to Android or Nvidia (or both)?
>    - If it is due to Android, where the code is in the source that causes
>       the problem.
>    - Where we can read more on the problem? (Or even better fixes)
>    - When we can expect a fix?
>
> Then I would be really interested in reading it. I hope this helps some
> developers and keeps some games running faster until this problem is fixed,
> Robert
>
> --
> 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




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  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