1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

rsx/overlays: Naming sense

This commit is contained in:
kd-11 2023-02-03 03:31:09 +03:00 committed by kd-11
parent 989e0f28d6
commit 08faed7d86
2 changed files with 9 additions and 9 deletions

View File

@ -174,10 +174,10 @@ namespace rsx
std::lock_guard lock(m_mutex_queue);
update_queue(m_vis_items_top, m_ready_queue_top, message_pin_location::top);
update_queue(m_vis_items_bottom, m_ready_queue_bottom, message_pin_location::bottom);
update_queue(m_visible_items_top, m_ready_queue_top, message_pin_location::top);
update_queue(m_visible_items_bottom, m_ready_queue_bottom, message_pin_location::bottom);
visible = !m_vis_items_top.empty() || !m_vis_items_bottom.empty();
visible = !m_visible_items_top.empty() || !m_visible_items_bottom.empty();
}
compiled_resource message::get_compiled()
@ -191,12 +191,12 @@ namespace rsx
compiled_resource cr{};
for (auto& item : m_vis_items_top)
for (auto& item : m_visible_items_top)
{
cr.add(item.get_compiled());
}
for (auto& item : m_vis_items_bottom)
for (auto& item : m_visible_items_bottom)
{
cr.add(item.get_compiled());
}
@ -227,9 +227,9 @@ namespace rsx
switch (location)
{
case message_pin_location::top:
return check_list(m_ready_queue_top) || check_list(m_vis_items_top);
return check_list(m_ready_queue_top) || check_list(m_visible_items_top);
case message_pin_location::bottom:
return check_list(m_ready_queue_bottom) || check_list(m_vis_items_bottom);
return check_list(m_ready_queue_bottom) || check_list(m_visible_items_bottom);
default:
fmt::throw_exception("Unreachable");
}

View File

@ -87,8 +87,8 @@ namespace rsx
std::deque<message_item> m_ready_queue_bottom;
// Top and bottom visible sets
std::deque<message_item> m_vis_items_top;
std::deque<message_item> m_vis_items_bottom;
std::deque<message_item> m_visible_items_top;
std::deque<message_item> m_visible_items_bottom;
void update_queue(std::deque<message_item>& vis_set, std::deque<message_item>& ready_set, message_pin_location origin);