Skip to main content
Participating Frequently
January 8, 2015
Answered

Problem with mask in mask with GPU mode on HTC One m8

  • January 8, 2015
  • 1 reply
  • 1449 views

Hi, this could be an old bug, we're seeing a problem with AIR 15 and 16 on only this particular newish HTC Android (4.2.2) phone. Our app uses GPU renderMode. The problem happens if you have a masked MovieClip with children that have children that are also masked, then only the first masked child renders. All other non-masked objects also render, but if any one of them has a mask, then that one will not render. This problem does not happen on an older HTC One X and HTC Desire 610 running the same Android version (4.2.2). It also does not happen on iOS or Google Nexus 4.

Thanks for your help!

This topic has been closed for replies.
Correct answer Jitender thakur

I did, see the post above from Jan 14:

I have posted a bug here:  Bug#3921039 - Problem with mask in mask with GPU mode on HTC One m8

The bug includes a small sample app (FLA+SWF+packaging script) that demonstrates this problem.


Hi,

There is a workaround for this issue.  If we set cacheAsBitmap (this.cacheAsBitmap=true;) property of the masked children to true , then all the masked children will render in the gpu mode properly.

Attaching the same sample app with respective modification to resolve  the issue in Bug#3921039 - Problem with mask in mask with GPU mode on HTC One m8 . Requesting you to please publish the app with the method mentioned on your device for which this issue was occurring.

Note:

The following documentation about gpu render mode - http://help.adobe.com/en_US/as3/mobile/WS901d38e593cd1bac-3d719af412b2b394529-8000.html states that : "GPU rendering is more restrictive in mobile AIR apps created with the Packager for iPhone. The GPU is only effective for bitmaps, solid shapes, and display objects that have the cacheAsBitmap property set. "

Please let us know in case you still face any issues.

regards,

Adobe AIR Team

1 reply

chris.campbell
Community Manager
Community Manager
January 10, 2015

Would you mind opening a new report on this over at http://bugbase.adobe.com?  If you can attach a small sample project, I'll ask our QE to take a look and see if this is a known issue.  Do you know if 4.2.2 is the latest release for the M8?  I've got a couple of these phones but I'm running 4.4.4.

Thanks,

Chris

ToxikmanAuthor
Participating Frequently
January 13, 2015

I believe AT&T rolled back the M8 to 4.2.2 because of some issues that users were experiencing, but 4.4.4 should be released soon. I could be wrong.  But I have other android phones running 4.2.2 that don't exhibit this problem.

chris.campbell
Community Manager
Community Manager
January 14, 2015

Gotcha.  Do you have a bug number I can reference to the team?