mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 20:22:30 +01:00
GL: Remove unused copy functions
This commit is contained in:
parent
1f295bba5b
commit
37425d6fcd
@ -194,7 +194,4 @@ protected:
|
|||||||
void on_invalidate_memory_range(const utils::address_range &range, rsx::invalidation_cause cause) override;
|
void on_invalidate_memory_range(const utils::address_range &range, rsx::invalidation_cause cause) override;
|
||||||
void notify_tile_unbound(u32 tile) override;
|
void notify_tile_unbound(u32 tile) override;
|
||||||
void on_semaphore_acquire_wait() 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;
|
|
||||||
};
|
};
|
||||||
|
@ -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
|
// Render target helpers
|
||||||
void gl::render_target::clear_memory(gl::command_context& cmd)
|
void gl::render_target::clear_memory(gl::command_context& cmd)
|
||||||
{
|
{
|
||||||
|
@ -932,22 +932,6 @@ namespace rsx
|
|||||||
*/
|
*/
|
||||||
virtual void on_semaphore_acquire_wait() {}
|
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 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; }
|
virtual bool scaled_image_from_memory(blit_src_info& /*src_info*/, blit_dst_info& /*dst_info*/, bool /*interpolate*/) { return false; }
|
||||||
|
Loading…
Reference in New Issue
Block a user