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

Clean up some now unused stuff in dxgi #813

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Spodi
Copy link
Contributor

@Spodi Spodi commented Feb 8, 2025

I should have done that ages ago...
Should not change any behavior. But as always: please test before merging.

@briaguya-ai
Copy link
Collaborator

please test before merging

please make a testing PR on a port (and cross link them) so people can verify this

@Spodi
Copy link
Contributor Author

Spodi commented Feb 8, 2025

Testbuild: HarbourMasters/Shipwright#5024

@Spodi
Copy link
Contributor Author

Spodi commented Feb 10, 2025

Converting to a draft for now, as I need to test "flush" situation more. The results of my quick tests where inconsistent.

@Spodi Spodi marked this pull request as draft February 10, 2025 06:07
I should have done that a year ago...
gfx_d3d11_end_frame() already includes flushing, which comes right before gfx_dxgi_swap_buffers_begin() gets called.
@Spodi
Copy link
Contributor Author

Spodi commented Feb 23, 2025

Seems to be good without the flushing.

I need to hold back not to also remove this flush here

static void gfx_d3d11_finish_render() {
d3d.context->Flush();
}
but i dunno if it serves a purpose or not. Stuff looks fine without, but could be something specific.

@Spodi Spodi marked this pull request as ready for review February 23, 2025 17:16
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