Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal/restorable: remove ImageTypeVolatile #3090

Open
1 of 11 tasks
hajimehoshi opened this issue Sep 10, 2024 · 1 comment
Open
1 of 11 tasks

internal/restorable: remove ImageTypeVolatile #3090

hajimehoshi opened this issue Sep 10, 2024 · 1 comment

Comments

@hajimehoshi
Copy link
Owner

hajimehoshi commented Sep 10, 2024

Operating System

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

What feature would you like to be added?

Now we have Hint which is for optimization when overwriting some regions on a target texture, an image which is cleared every frame should no longer be stale. Thus, we don't need a notion of being volatile. In order to simplify the code, let's try to remove this.

Why is this needed?

To simplify the code.

@hajimehoshi hajimehoshi added this to the v2.8.0 milestone Sep 10, 2024
@hajimehoshi
Copy link
Owner Author

an image which is cleared every frame should no longer be stale

Unfortunately this is not true when too many draw calls happen on the same image.

@hajimehoshi hajimehoshi modified the milestones: v2.8.0, v2.9.0 Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant