Hacktastic GPU trace viewer; textures, shaders, state, etc.

This commit is contained in:
Ben Vanik
2015-03-01 12:26:11 -08:00
parent 4a211a4195
commit 41174b0e64
19 changed files with 4026 additions and 2536 deletions

View File

@@ -11,6 +11,7 @@
#include "poly/logging.h"
#include "poly/threading.h"
#include "xenia/gpu/graphics_system.h"
#include "xenia/emulator.h"
namespace xe {
@@ -44,6 +45,13 @@ bool MainWindow::Initialize() {
return false;
}
Resize(1280, 720);
on_key_down.AddListener([this](poly::ui::KeyEvent& e) {
if (e.key_code() == 115) {
emulator()->graphics_system()->RequestFrameTrace();
e.set_handled(true);
return;
}
});
return true;
}