Merge pull request #764 from magcius/new-nogui-2

Rewrite GLInterface
This commit is contained in:
Lioncash
2014-08-21 14:14:54 -04:00
47 changed files with 449 additions and 1404 deletions

View File

@ -14,8 +14,6 @@
#include "VideoCommon/VertexShaderGen.h"
#include "VideoCommon/VideoConfig.h"
//void UpdateFPSDisplay(const char *text);
GFXDebuggerBase *g_pdebugger = nullptr;
volatile bool GFXDebuggerPauseFlag = false; // if true, the GFX thread will be spin locked until it's false again
volatile PauseEvent GFXDebuggerToPauseAtNext = NOT_PAUSE; // Event which will trigger spin locking the GFX thread
@ -57,8 +55,6 @@ void GFXDebuggerCheckAndPause(bool update)
g_pdebugger->OnPause();
while ( GFXDebuggerPauseFlag )
{
g_video_backend->UpdateFPSDisplay("Paused by Video Debugger");
if (update) GFXDebuggerUpdateScreen();
SLEEP(5);
}

View File

@ -68,11 +68,9 @@ public:
virtual void EmuStateChange(EMUSTATE_CHANGE) = 0;
virtual void UpdateFPSDisplay(const std::string&) = 0;
virtual unsigned int PeekMessages() = 0;
virtual bool Initialize(void *&) = 0;
virtual bool Initialize(void *window_handle) = 0;
virtual void Shutdown() = 0;
virtual void RunLoop(bool enable) = 0;