mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-06 00:00:04 +00:00
rsx: Allow native UI render even when we have pending draw calls if FIFO queue is empty.
This commit is contained in:
parent
af8d308a69
commit
c3c73c7e24
2 changed files with 4 additions and 2 deletions
|
@ -1070,7 +1070,8 @@ void GLGSRender::do_local_task(rsx::FIFO::state state)
|
||||||
|
|
||||||
if (m_overlay_manager)
|
if (m_overlay_manager)
|
||||||
{
|
{
|
||||||
if (!in_begin_end && async_flip_requested & flip_request::native_ui && !is_stopped())
|
const auto should_ignore = in_begin_end && state != rsx::FIFO::state::empty;
|
||||||
|
if ((async_flip_requested & flip_request::native_ui) && !should_ignore && !is_stopped())
|
||||||
{
|
{
|
||||||
rsx::display_flip_info_t info{};
|
rsx::display_flip_info_t info{};
|
||||||
info.buffer = current_display_buffer;
|
info.buffer = current_display_buffer;
|
||||||
|
|
|
@ -1968,7 +1968,8 @@ void VKGSRender::do_local_task(rsx::FIFO::state state)
|
||||||
|
|
||||||
if (m_overlay_manager)
|
if (m_overlay_manager)
|
||||||
{
|
{
|
||||||
if (!in_begin_end && async_flip_requested & flip_request::native_ui && !is_stopped())
|
const auto should_ignore = in_begin_end && state != rsx::FIFO::state::empty;
|
||||||
|
if ((async_flip_requested & flip_request::native_ui) && !should_ignore && !is_stopped())
|
||||||
{
|
{
|
||||||
flush_command_queue(true);
|
flush_command_queue(true);
|
||||||
rsx::display_flip_info_t info{};
|
rsx::display_flip_info_t info{};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue