Skip to content

proposal: ebiten: image arena #3206

Open
@hajimehoshi

Description

@hajimehoshi

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • PlayStation 5
  • Xbox
  • Web Browsers

What feature would you like to be added?

Like a memory arena, we want a special texture atlas whose lifetime can be explicitly controlled.

Now there is no choice to choose which texture atlas is used for an image. When relatively big image is used, an automatic texture atlas is bloated and never shrunk. This can consume unnecessarily big GPU memory.

The current unmanged image is useful to get control of lifetimes for one image, but this doesn't have the Ebitengine's automatic texture atlas allocation.

See also #3100

Why is this needed?

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions