Introduce an Event system to VideoCommon

A lot of the remaining complexity in Renderer is the massive Swap function
which tries to handle a bunch of FrameBegin/FrameEnd events.

Rather than create a new place for it. This event system will try
to distribute it all over the place
This commit is contained in:
Scott Mansell
2023-01-30 22:36:25 +13:00
parent d6cd8de1a7
commit 154cb4f722
6 changed files with 186 additions and 0 deletions

View File

@ -46,6 +46,7 @@ add_library(common
EnumFormatter.h
EnumMap.h
Event.h
EventHook.h
FatFsUtil.cpp
FatFsUtil.h
FileSearch.cpp
@ -115,6 +116,7 @@ add_library(common
SocketContext.cpp
SocketContext.h
SPSCQueue.h
StringLiteral.h
StringUtil.cpp
StringUtil.h
SymbolDB.cpp