• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

rendering diagnostics not working in AIR 2.6

New Here ,
Mar 28, 2011 Mar 28, 2011

Copy link to clipboard

Copied

I'm trying to move my pfi application over to AIR 2.6 and am experiencing a huge drop in frame rate.  I worked quite hard to make sure everything was cached with the GPU when working with pfi and found the rendering diagnostics to be invaluable in helping me nail down areas where the graphics weren't being cached properly.  I thought I would check to make sure that the graphics are still being cached in AIR 2.6 but when I built the application with the flag enabled, the rendering diagnostics didn't turn on.  The flag is CTTextureUploadTracking and is part of the application xml:

<InfoAdditions>

<![CDATA[

<key>UIStatusBarStyle</key>

<string>UIStatusBarStyleBlackOpaque</string>

<key>UIRequiresPersistentWiFi</key>

<string>NO</string>

<key>UIDeviceFamily</key>

<array>

<string>1</string>

<string>2</string>

</array>

<key>CTTextureUploadTracking</key>

<true/>

]]>

</InfoAdditions>

I also tried adding the -renderingdiagnostics flag to the command line as indicated in http://download.macromedia.com/pub/labs/packagerforiphone/packagerforiphone_devguide.pdf but I get an error telling me that "The -renderingdiagnostics flag is no longer supported".  Does anyone know how to enable this now?

TOPICS
Development

Views

887

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 24, 2011 May 24, 2011

Copy link to clipboard

Copied

Completely agree.. incredibly useful tool, made my application run a whole lot faster once I located all the GPU issues.. where has it gone !

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 24, 2011 May 24, 2011

Copy link to clipboard

Copied

I can't remember the exact reason it went away, but I think it was as part of the change of how the iOS compositing mode was changed to match how it is on Android. For what it's worth, things will be so much better with 2.7 that you'll laugh about the days that you had to check update regions!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 24, 2011 May 24, 2011

Copy link to clipboard

Copied

If Adobe ever wants developers to properly utilize the GPU then a tool like rendering diagnostics needs to exist.  Flash has a terrible stigma of being a processor hog, slow and glitchy.  Flash doesn't need to be like this but lots and lots of sloppy coding have helped this become what people perceive as reality.  Even if 2.7 is leaps and bounds above 2.6, if no one can properly figure out how to keep data cached with the gpu then Flash apps will still be slow, battery hogs.  A visual troubleshooting tool for gpu caching problems is really essential.  If it hadn't been for that I would never have been able to figure out some of the bizarre quirks in caching.  For instance, if you have an opaque background in a Sprite and you add something to it as a child, the gpu will never be able to cache either of them correctly.  Why? I don't know, it doesn't make sense but the rendering diagnostics helped me find the problem quickly.  Please add this tool or something like it back in.  You're doing your devs a serious disservice and, consequently, helping push the idea that Flash is a technology that is no longer relevant.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 25, 2011 May 25, 2011

Copy link to clipboard

Copied

LATEST

Hi,

You can expect rendering improvements in CPU mode with the next AIR version. Hopefully, you won’t need to use rendering diagnostics.

Thanks,

Sanika

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines