mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-09 02:01:07 +01:00
1. rsx: Rework section synchronization using the new memory mirrors
2. rsx: Tweaks
- Simplify peeking into the current rsx::thread instance.
Use a simple rsx::get_current_renderer instead of asking fxm for the same
- Fix global rsx super memory shm block management
3. rsx: Improve memory validation. test_framebuffer() and
tag_framebuffer() are simplified due to mirror support
4. rsx: Only write back confirmed memory range to avoid overapproximation errors in blit engine
5. rsx: Explicitly mark clobbered flushable sections as dirty to have them
removed
6. rsx: Cumulative fixes
- Reimplement rsx::buffered_section management routines
- blit engine subsections are not hit-tested against confirmed/committed memory range
Not all applications are 'honest' about region bounds, making the real cpu range useless for blit ops
32 lines
535 B
C++
32 lines
535 B
C++
#include "stdafx.h"
|
|
#include "overlays.h"
|
|
#include "../GSRender.h"
|
|
|
|
namespace rsx
|
|
{
|
|
namespace overlays
|
|
{
|
|
//Singleton instance declaration
|
|
fontmgr* fontmgr::m_instance = nullptr;
|
|
|
|
void user_interface::close()
|
|
{
|
|
//Force unload
|
|
exit = true;
|
|
if (auto manager = fxm::get<display_manager>())
|
|
manager->remove(uid);
|
|
|
|
if (on_close)
|
|
on_close(return_code);
|
|
}
|
|
|
|
void user_interface::refresh()
|
|
{
|
|
if (auto rsxthr = rsx::get_current_renderer())
|
|
{
|
|
rsxthr->native_ui_flip_request.store(true);
|
|
}
|
|
}
|
|
}
|
|
}
|