mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 09:10:12 +01:00
st/nine: Default thread_submit to true
When rendering fullscreen with vsync on at a rate close to the refresh rate, you can miss pageflips by submitting buffers for pageflip that end up not finished being rendered when the pageflip is due. With Nine in this situation you could get half the refresh rate fps before this patch. Due to the way the presentation backend is implemented, it's not possible to easily detect the situation and adapt (use one more backbuffer, but only in this scenario to not increase input lap when the issue is not present). thread_submit doesn't have this issue. Let's default thread_submit to true. Signed-off-by: Axel Davy <davyaxel0@gmail.com> Acked-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10160>
This commit is contained in:
parent
a2a95abb6c
commit
c19a841fd4
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ const driOptionDescription __driConfigOptionsNine[] = {
|
|||
DRI_CONF_SECTION_NINE
|
||||
DRI_CONF_NINE_OVERRIDEVENDOR(-1)
|
||||
DRI_CONF_NINE_THROTTLE(-2)
|
||||
DRI_CONF_NINE_THREADSUBMIT(false)
|
||||
DRI_CONF_NINE_THREADSUBMIT(true)
|
||||
DRI_CONF_NINE_ALLOWDISCARDDELAYEDRELEASE(true)
|
||||
DRI_CONF_NINE_TEARFREEDISCARD(false)
|
||||
DRI_CONF_NINE_CSMT(-1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue