android - PNG overlay over active Canvas animations -


i developing 2d sprite-based game bunch of animations. developed separate threads , in general great.

i added level has alpha png graphic drawn on canvas after rest of animated bitmaps have been drawn.

there noticeable speed degradation on level , seems sputter etc... top off added multiply xfermode paint graphic , went stand-still.

is there better way overlay graphics in fashion avoid hit in performance (i'm assuming has calculate alpha channels , apply canvas bitmap)? there alternative drawing overlay drawbitmap/png?

to better performance put overlay in window, either using windowmanager.addview or using poupwindow. composition done on gpu.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

sql server - python to mssql encoding problem -

windows - Python Service Installation - "Could not find PythonClass entry" -