Skip to content
This repository was archived by the owner on Sep 7, 2019. It is now read-only.
This repository was archived by the owner on Sep 7, 2019. It is now read-only.

Improve performance of ShapeDrawer methods  #6

@KadinTucker

Description

@KadinTucker

Currently, ShapeDrawer methods of drawing polygons, bezier curves, and the base methods of drawing lines run very slowly and consume a lot of gpu performance.
One way to fix this may be to cache the shapes drawn somehow-I would suggest as surfaces-and instead of having drawPoint be the only functionality that needs to be defined in ShapeDrawers have a draw surface defined as well. For Surfaces this is obviously blit. For the Renderer, it can create textures and cache them on its own, perhaps.
Regardless, this is an issue which should be addressed at some point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions