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

SDL_GPU: Use separate command buffers for copy/render, shared transfer buffers #102

Merged

Conversation

MrBrixican
Copy link
Contributor

  • Separate command buffers for copy/render commands to allow for better throughput
  • Now use shared transfer buffer when reasonable (<16MB) and single use transfer buffers when larger
  • Lots of this is based on the SDL_GPU driver in FNA3D, and likely needs review
  • Overall these changes allow for better throughput with synthetic benchmark performance on par with (actually a little better than) the current OpenGL implementation in main

@NoelFB NoelFB merged commit cc6e0de into FosterFramework:sdl_gpu Oct 6, 2024
@MrBrixican MrBrixican deleted the upload_render_command_buffers branch October 10, 2024 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants