Simplifying GPU creation.

Part of #296.
This commit is contained in:
Ben Vanik
2015-06-27 09:11:03 -07:00
parent 3439641101
commit 883126d497
13 changed files with 56 additions and 145 deletions

View File

@@ -11,6 +11,7 @@
#define XENIA_GPU_GRAPHICS_SYSTEM_H_
#include <atomic>
#include <memory>
#include <thread>
#include "xenia/cpu/processor.h"
@@ -18,6 +19,10 @@
#include "xenia/ui/main_window.h"
#include "xenia/xbox.h"
namespace xe {
class Emulator;
} // namespace xe
namespace xe {
namespace gpu {
@@ -25,6 +30,8 @@ class GraphicsSystem {
public:
virtual ~GraphicsSystem();
static std::unique_ptr<GraphicsSystem> Create(Emulator* emulator);
Emulator* emulator() const { return emulator_; }
Memory* memory() const { return memory_; }
cpu::Processor* processor() const { return processor_; }