ios - Spritekit: First texture draw slow (preloaded) -
i'm having performance issue regarding apple spritekit framework. use method preloadtextureatlases:withcompletionhandler: of sktextureatlas make sure textures loaded before game starts.
yet when first texture of atlas (whatever is) added scene child got small lag, if texture wasn't loaded. it happens first time.
i tried real hard debug , find reason couldn't find it. looking instrument , time profiler got this

which seems strange since texture atlas contains allocated textures (and still allocated). why call load method ? maybe it's related opengl texture binding.
i'm sure correspond frame object allocated (see spike on right). nothing else allocated or in motion here.

i'm stuck on , appreciated. time.
Comments
Post a Comment