Texture Cache: Implement Blitting and Fermi Copies

This commit is contained in:
Fernando Sahmkow
2019-05-07 23:13:05 -04:00
committed by ReinUsesLisp
parent 549fd18ac4
commit 324e470879
7 changed files with 93 additions and 100 deletions

View File

@ -34,19 +34,6 @@ private:
std::vector<GLsizeiptr> sizes;
};
class SurfaceBlitter {
public:
explicit SurfaceBlitter();
~SurfaceBlitter();
void Blit(View src, View dst, const Common::Rectangle<u32>& src_rect,
const Common::Rectangle<u32>& dst_rect) const;
private:
OGLFramebuffer src_framebuffer;
OGLFramebuffer dst_framebuffer;
};
void LabelGLObject(GLenum identifier, GLuint handle, VAddr addr, std::string_view extra_info = {});
} // namespace OpenGL