rsx: Avoid calling get_system_time() every draw call
This commit is contained in:
@@ -235,7 +235,7 @@ namespace gl
|
|||||||
|
|
||||||
m_fence.reset();
|
m_fence.reset();
|
||||||
synchronized = true;
|
synchronized = true;
|
||||||
sync_timestamp = get_system_time();
|
sync_timestamp = rsx::get_shared_tag();
|
||||||
}
|
}
|
||||||
|
|
||||||
void copy_texture(gl::command_context& cmd, bool miss)
|
void copy_texture(gl::command_context& cmd, bool miss)
|
||||||
|
|||||||
@@ -513,7 +513,7 @@ namespace rsx
|
|||||||
method_registers.current_draw_clause.post_execute_cleanup();
|
method_registers.current_draw_clause.post_execute_cleanup();
|
||||||
|
|
||||||
m_graphics_state |= rsx::pipeline_state::framebuffer_reads_dirty;
|
m_graphics_state |= rsx::pipeline_state::framebuffer_reads_dirty;
|
||||||
ROP_sync_timestamp = get_system_time();
|
ROP_sync_timestamp = rsx::get_shared_tag();
|
||||||
|
|
||||||
for (auto & push_buf : vertex_push_buffers)
|
for (auto & push_buf : vertex_push_buffers)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ namespace vk
|
|||||||
}
|
}
|
||||||
|
|
||||||
synchronized = true;
|
synchronized = true;
|
||||||
sync_timestamp = get_system_time();
|
sync_timestamp = rsx::get_shared_tag();
|
||||||
}
|
}
|
||||||
|
|
||||||
void texture_cache::on_section_destroyed(cached_texture_section& tex)
|
void texture_cache::on_section_destroyed(cached_texture_section& tex)
|
||||||
|
|||||||
Reference in New Issue
Block a user