Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering system unification #1003

SiegeLord opened this Issue Feb 8, 2019 · 0 comments


None yet
1 participant
Copy link

SiegeLord commented Feb 8, 2019

Current Allegro has two rendering systems, the one for drawing bitmaps inside core and the one for drawing everything else in the primitives addon. Their separation causes a number of complications in the implementation and makes it hard to implement certain features. This issue proposes moving the primitives' addon functions over to core, replacing core's drawing with the primitives addon's. This will yield the following improvements:

  • Less code duplication, making it easier to effect improvements to the code, write new drivers etc.
  • Allow us to have unified batching of drawing (al_hold_bitmap_drawing but for primitives as well)
  • Simplify the implementation of the primitives addon's handling of certain things (mostly due to TLS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.