Skip to content

Stop using draw_pending from sync functions#35759

Closed
zmanuel wants to merge 1 commit intogodotengine:masterfrom
zmanuel:do-not-use-draw-pending-in-sync
Closed

Stop using draw_pending from sync functions#35759
zmanuel wants to merge 1 commit intogodotengine:masterfrom
zmanuel:do-not-use-draw-pending-in-sync

Conversation

@zmanuel
Copy link
Copy Markdown
Contributor

@zmanuel zmanuel commented Jan 30, 2020

Keep it in the _draw functions. That way it still makes extra sure
no two draw calls can be pending/executing at the same time,
even though the command FIFO already takes care of that.

Fixes #35718

Keep it in the _draw functions. That way it still makes extra sure
no two draw calls can be pending/executing at the same time,
even though the command FIFO already takes care of that.

Fixes godotengine#35718
@zmanuel
Copy link
Copy Markdown
Contributor Author

zmanuel commented Jan 30, 2020

Serves the same purpose as #35758, which I would prefer.

Correctness depends on my understanding of what CommandQueueMT does.

@Calinou
Copy link
Copy Markdown
Member

Calinou commented Mar 20, 2021

Closing in favor of #35758 per the author's request.

@Calinou Calinou closed this Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suspiciously small delta argument to _process with thread model Multi-Threaded

3 participants