hedge-dev / hedge-dev/UnleashedRecomp

Tag framebuffer textures transient to get rid of redundant copy calls.

Open
#264 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
5.1k
Forks
421
PR merge metrics
No merged PRs in 30d

Description

At the end of the frame, all the pending copies get flushed, but a good chunk of them are unnecessary as the texture immediately gets overriden in the next frame anyway. There is no good way to auto-detect this one, so it'll have to be manual by hooking into FxPipeline jobs.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the end-of-frame pending-copy flush and the FxPipeline jobs that submit framebuffer texture work. The change is complete when transient framebuffer textures are tagged through those jobs and redundant copy calls are no longer issued.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, game-dev, performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.