Skip to content

Conversation

@ACrazyTown
Copy link
Contributor

See #3468 for a more in-depth explanation

Adds FLX_NO_RENDER_BLIT, a user defined compile conditional which completely disables Flixel's blit renderer and instead relies on OpenFL's software rendering implementation of the Graphics API. Any code intended for renderTile will also work in cases where hardware acceleration is unavailable. This actually leads to a big performance improvement when targeting HTML5 (probably the only target where software rendering matters nowadays).

This implementation is quite ugly IMO, but it should only be here temporarily. Ideally we'd merge this ASAP to make it possible for people to test it out and then in 7.0.0 get rid of renderBlit completely and make this the default.

This is a draft and will probably require testing to make sure everything's on par with the current blitting renderer.

  • Deprecate other various blitting related functions and properties
  • Hide loads of internal deprecation warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant