HaxeFlixel / flixel

Free, cross-platform 2D game engine powered by Haxe and OpenFL
https://haxeflixel.com/
MIT License
1.96k stars 432 forks source link

Make two types of renderers for all supported targets: hardware and software #581

Closed Beeblerox closed 8 years ago

Beeblerox commented 11 years ago

like in HaxePunk. software rendering will be by default on flash, while hardware - on native targets

AndreiRegiani commented 11 years ago

Does software rendering have better performance on Flash?

Beeblerox commented 11 years ago

no, but many flash portlas doesn't have direct wmode enabled

larsiusprime commented 11 years ago

This would be great, wonderful to have a fallback to software for any system where the gpu option isn't available for whatever reason. Like Sasha said, on flash stage3D support can be kind of spotty, often depending on the graphics card, but also on the embedding option used on the hosted webpage - so sometimes you can do everything right, but the idiot who puts your file up does the tag wrong and ruins the 3D support.

Gama11 commented 8 years ago

Blitting is possible on native by now (even a dynamic fallback to that at runtime in FlxG.initRenderMethod()). For Stage3D, there's a separate issue: #48