Various fixes and utilties.
This commit is contained in:
@@ -235,6 +235,11 @@ void GL4GraphicsSystem::PlayTrace(const uint8_t* trace_data, size_t trace_size,
|
||||
});
|
||||
}
|
||||
|
||||
void GL4GraphicsSystem::ClearCaches() {
|
||||
command_processor_->CallInThread(
|
||||
[&]() { command_processor_->texture_cache()->Clear(); });
|
||||
}
|
||||
|
||||
void GL4GraphicsSystem::MarkVblank() {
|
||||
static bool thread_name_set = false;
|
||||
if (!thread_name_set) {
|
||||
|
||||
@@ -46,6 +46,7 @@ class GL4GraphicsSystem : public GraphicsSystem {
|
||||
void EndTracing() override;
|
||||
void PlayTrace(const uint8_t* trace_data, size_t trace_size,
|
||||
TracePlaybackMode playback_mode) override;
|
||||
void ClearCaches() override;
|
||||
|
||||
private:
|
||||
void MarkVblank();
|
||||
|
||||
Reference in New Issue
Block a user