Skip to content
This repository was archived by the owner on Oct 25, 2022. It is now read-only.
This repository was archived by the owner on Oct 25, 2022. It is now read-only.

ES3: delay-create resources to avoid thread-locked contexts #74

@benvanik

Description

@benvanik

Only need objects created when mapping, otherwise can be deferred until first use on the queue thread.
Thinking:

  • context has a single platform context for resource stuff (this is the 'root' share group context)
  • queues have a context of their own
  • swap chains have a context of their own

The context could then have a small thread that listens for requests to map/unmap buffers and delete objects, and creations happen delayed on first execution.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions