rsx: Allow native UI render even when we have pending draw calls if FIFO queue is empty.
This commit is contained in:
@@ -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{};
|
||||||
|
|||||||
Reference in New Issue
Block a user