Jump to content
Search Community

BlitMask slower than scrollRect on iOS, AIR 18

PippoFlash test
Moderator Tag

Recommended Posts

Hi,

I am building a complex app for iOS with long scrolling sprites.

Actually, using BlitMask instead of scrollRect on a large Sprite, on iOS iPad retina it destroys performance instead of improving it. Is it expected or am I doing something wrong?

 

Actually, the flow is as follows:

- create BlitMask once

enableBitmapMode() once

 

onEnterFrame

apply BlitMask.scrollY

apply BlitMask.scrollX

 

onCompleteMotion

disableBitmapMode()

 

it works as expected, interaction is restored on motion complete, but performance is horrible... goes from 40fps to 3fps... I export in GPU mode.

Am I doing anything wrong? Or is it related to parsing a complex BMP in a retina display and uploading to the GPU?

 

thank you very much

Filippo

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...