1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 12:12:50 +01:00

GL: Remove unused copy functions

This commit is contained in:
Megamouse 2021-04-29 20:18:47 +02:00
parent 1f295bba5b
commit 37425d6fcd
3 changed files with 0 additions and 29 deletions

View File

@ -194,7 +194,4 @@ protected:
void on_invalidate_memory_range(const utils::address_range &range, rsx::invalidation_cause cause) override;
void notify_tile_unbound(u32 tile) override;
void on_semaphore_acquire_wait() override;
std::array<std::vector<std::byte>, 4> copy_render_targets_to_memory() override;
std::array<std::vector<std::byte>, 2> copy_depth_stencil_buffer_to_memory() override;
};

View File

@ -394,16 +394,6 @@ void GLGSRender::init_buffers(rsx::framebuffer_creation_context context, bool /*
}
}
std::array<std::vector<std::byte>, 4> GLGSRender::copy_render_targets_to_memory()
{
return {};
}
std::array<std::vector<std::byte>, 2> GLGSRender::copy_depth_stencil_buffer_to_memory()
{
return {};
}
// Render target helpers
void gl::render_target::clear_memory(gl::command_context& cmd)
{

View File

@ -932,22 +932,6 @@ namespace rsx
*/
virtual void on_semaphore_acquire_wait() {}
/**
* Copy rtt values to buffer.
* TODO: It's more efficient to combine multiple call of this function into one.
*/
virtual std::array<std::vector<std::byte>, 4> copy_render_targets_to_memory() {
return std::array<std::vector<std::byte>, 4>();
}
/**
* Copy depth and stencil content to buffers.
* TODO: It's more efficient to combine multiple call of this function into one.
*/
virtual std::array<std::vector<std::byte>, 2> copy_depth_stencil_buffer_to_memory() {
return std::array<std::vector<std::byte>, 2>();
}
virtual std::pair<std::string, std::string> get_programs() const { return std::make_pair("", ""); }
virtual bool scaled_image_from_memory(blit_src_info& /*src_info*/, blit_dst_info& /*dst_info*/, bool /*interpolate*/) { return false; }