Skip to content

Checklist/Idea for renderer cleanup #6

Description

@KevinW1998

Here is a checklist for cleaning up the Renderer class:

We'll do for sure:

  • Move to smart pointers instead of raw pointers
  • clean up things relating to RenderOp::m_FramesLeft as that's not particularly clean/clear right now
  • Remove some leftover stuff that's in "if (false) {" blocks and unused
  • Move things that are part of the "Render" namespace (as opposed to Renderer class) into their own file
  • Design it to support multiple queues of RenderOps, for supporting multiple layers. Could be something like std::map>. Even if only one layer (HUD) is defined initially it would be good to set this up to support that in the future.

Ideas:

  • Move from std::list to std::vector (better performance?)
  • Transfrom RenderString and std::list to RenderOp?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions