mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Renderer: Use imgui for drawing debug text and OSD
This commit is contained in:
@ -57,17 +57,6 @@ struct EfbPokeData
|
||||
|
||||
extern int frameCount;
|
||||
|
||||
enum class OSDMessage : s32
|
||||
{
|
||||
IRChanged = 1,
|
||||
ARToggled = 2,
|
||||
EFBCopyToggled = 3,
|
||||
FogToggled = 4,
|
||||
SpeedChanged = 5,
|
||||
XFBChanged = 6,
|
||||
VolumeChanged = 7,
|
||||
};
|
||||
|
||||
// Renderer really isn't a very good name for this class - it's more like "Misc".
|
||||
// The long term goal is to get rid of this class and replace it with others that make
|
||||
// more sense.
|
||||
@ -201,8 +190,6 @@ public:
|
||||
|
||||
virtual std::unique_ptr<VideoCommon::AsyncShaderCompiler> CreateAsyncShaderCompiler();
|
||||
|
||||
void ShowOSDMessage(OSDMessage message);
|
||||
|
||||
protected:
|
||||
std::tuple<int, int> CalculateTargetScale(int x, int y) const;
|
||||
bool CalculateTargetSize();
|
||||
@ -303,9 +290,6 @@ private:
|
||||
u32 m_last_xfb_width = MAX_XFB_WIDTH;
|
||||
u32 m_last_xfb_height = MAX_XFB_HEIGHT;
|
||||
|
||||
s32 m_osd_message = 0;
|
||||
s32 m_osd_time = 0;
|
||||
|
||||
// NOTE: The methods below are called on the framedumping thread.
|
||||
bool StartFrameDumpToAVI(const FrameDumpConfig& config);
|
||||
void DumpFrameToAVI(const FrameDumpConfig& config);
|
||||
|
Reference in New Issue
Block a user