GPU: More work on OpenGL renderer
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
#pragma once
|
||||
#include "types.h"
|
||||
|
||||
class HostInterface;
|
||||
|
||||
namespace CPU
|
||||
{
|
||||
class Core;
|
||||
@ -13,15 +15,18 @@ class GPU;
|
||||
class System
|
||||
{
|
||||
public:
|
||||
System();
|
||||
System(HostInterface* host_interface);
|
||||
~System();
|
||||
|
||||
HostInterface* GetHostInterface() const { return m_host_interface; }
|
||||
|
||||
bool Initialize();
|
||||
void Reset();
|
||||
|
||||
void RunFrame();
|
||||
|
||||
private:
|
||||
HostInterface* m_host_interface;
|
||||
std::unique_ptr<CPU::Core> m_cpu;
|
||||
std::unique_ptr<Bus> m_bus;
|
||||
std::unique_ptr<DMA> m_dma;
|
||||
|
||||
Reference in New Issue
Block a user