Gamua / Starling-Framework

The Cross Platform Game Engine
http://www.starling-framework.org
Other
2.86k stars 822 forks source link

DisplayObject drawToBitmapData no transparency on Android #1049

Closed CrazyFlasher closed 5 years ago

CrazyFlasher commented 5 years ago

Starling release 2.4 AIR SDK 30 Trying both with Context3DProfile.BASELINE and Context3DProfile.BASELINE_CONSTRAINED

Fine on Desktop image

No transparency on Android image

CrazyFlasher commented 5 years ago

The reason was in <colorDepth>16bit</colorDepth> mainfest tag. Removed it, and now it's okay. But can anyone tell, does 32bit decreases performance?

PrimaryFeather commented 5 years ago

I'm happy to hear you found the solution!

To be honest, I don't know if it makes a difference performance-wise. My guess is that it shouldn't, given the great GPUs of modern devices — but it's just a best guess.