summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWCommandProcessor.h
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2015-10-09 20:50:36 +0200
committerdegasus <wickmarkus@web.de>2016-01-06 22:10:29 +0100
commitefbe5bc4b651d1f7f726bb064255e0e2562f7490 (patch)
tree6166a471269a9b1eb2bf703a31c915489e428b44 /Source/Core/VideoBackends/Software/SWCommandProcessor.h
parent7fcb5a803b2e6179fe57654496fcea7f6b2ff183 (diff)
VideoSW: Use more VideoCommon
Now we require lots of empty functions, but this removes by far more duplicated code.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWCommandProcessor.h')
-rw-r--r--Source/Core/VideoBackends/Software/SWCommandProcessor.h61
1 files changed, 0 insertions, 61 deletions
diff --git a/Source/Core/VideoBackends/Software/SWCommandProcessor.h b/Source/Core/VideoBackends/Software/SWCommandProcessor.h
deleted file mode 100644
index 539be4263f..0000000000
--- a/Source/Core/VideoBackends/Software/SWCommandProcessor.h
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2009 Dolphin Emulator Project
-// Licensed under GPLv2+
-// Refer to the license.txt file included.
-
-#pragma once
-
-#include "Common/CommonTypes.h"
-
-#include "VideoCommon/CommandProcessor.h"
-
-class PointerWrap;
-namespace MMIO { class Mapping; }
-
-namespace SWCommandProcessor
-{
- using UCPStatusReg = CommandProcessor::UCPStatusReg;
- using UCPCtrlReg = CommandProcessor::UCPCtrlReg;
- using UCPClearReg = CommandProcessor::UCPClearReg;
-
- struct CPReg
- {
- UCPStatusReg status; // 0x00
- UCPCtrlReg ctrl; // 0x02
- UCPClearReg clear; // 0x04
- u32 unk0; // 0x08
- u16 unk1; // 0x0c
- u16 token; // 0x0e
- u16 bboxleft; // 0x10
- u16 bboxtop; // 0x12
- u16 bboxright; // 0x14
- u16 bboxbottom; // 0x16
- u32 unk2; // 0x18
- u32 unk3; // 0x1c
- u32 fifobase; // 0x20
- u32 fifoend; // 0x24
- u32 hiwatermark; // 0x28
- u32 lowatermark; // 0x2c
- u32 rwdistance; // 0x30
- u32 writeptr; // 0x34
- u32 readptr; // 0x38
- u32 breakpt; // 0x3c
- };
-
- // Init
- void Init();
- void Shutdown();
- void DoState(PointerWrap &p);
-
- void RegisterMMIO(MMIO::Mapping* mmio, u32 base);
-
- bool RunBuffer();
- void RunGpu();
-
- // for CGPFIFO
- void GatherPipeBursted();
- void UpdateInterrupts(u64 userdata);
- void UpdateInterruptsFromVideoBackend(u64 userdata);
-
- void SetRendering(bool enabled);
-
-} // end of namespace SWCommandProcessor