mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
rsx: Restructuring [WIP]
- Refactor invalidate memory functions into one function - Add cached object rebuilding functionality to avoid throwing away useful memory on an invalidate - Added debug monitoring of texture unit VRAM usage
This commit is contained in:
parent
b0737d1c90
commit
5e58cf6079
8 changed files with 263 additions and 247 deletions
|
|
@ -403,7 +403,7 @@ void GLGSRender::read_buffers()
|
|||
}
|
||||
else
|
||||
{
|
||||
m_gl_texture_cache.invalidate_range(texaddr, range);
|
||||
m_gl_texture_cache.invalidate_range(texaddr, range, false, true);
|
||||
|
||||
std::unique_ptr<u8[]> buffer(new u8[pitch * height]);
|
||||
color_buffer.read(buffer.get(), width, height, pitch);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue