summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2011-02-14 02:18:03 +0000
committerGlenn Rice <glennricster@gmail.com>2011-02-14 02:18:03 +0000
commit0ae8d33149025435dd5eaf49f69abce2ad54887f (patch)
tree36f29de3e23d80e356f0cc5786368354d2cf2afc /Source/Plugins/Plugin_VideoSoftware
parentcd308e2358c57acafd6b834352cebdcdb0b9e45d (diff)
Some work on changing comments, log messages, and variable and function names to reflect that the plugins are not plugins anymore.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7170 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp12
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.h4
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp2
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.h2
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/SWVideoConfig.h6
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp2
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/VideoConfigDialog.h4
7 files changed, 16 insertions, 16 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
index 47f5cbecaf..fd1e111f4d 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.cpp
@@ -32,9 +32,9 @@
bool fifoStateRun;
// set to 0 if using in video common
-#define SW_PLUGIN 1
+#define SW_BACKEND 1
-#if (SW_PLUGIN)
+#if (SW_BACKEND)
#include "OpcodeDecoder.h"
@@ -322,7 +322,7 @@ void UpdateInterrupts(u64 userdata)
interruptWaiting = false;
}
-void UpdateInterruptsFromVideoPlugin(u64 userdata)
+void UpdateInterruptsFromVideoBackend(u64 userdata)
{
CoreTiming::ScheduleEvent_Threadsafe(0, et_UpdateInterrupts, userdata);
}
@@ -405,7 +405,7 @@ void SetStatus()
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bCPUThread)
{
interruptWaiting = true;
- SWCommandProcessor::UpdateInterruptsFromVideoPlugin(userdata);
+ SWCommandProcessor::UpdateInterruptsFromVideoBackend(userdata);
}
else
SWCommandProcessor::UpdateInterrupts(userdata);
@@ -427,7 +427,7 @@ bool RunBuffer()
u32 availableBytes = writePos - readPos;
-#if (SW_PLUGIN)
+#if (SW_BACKEND)
while (OpcodeDecoder::CommandRunnable(availableBytes))
{
cpreg.status.CommandIdle = 0;
@@ -470,7 +470,7 @@ bool RunBuffer()
// fifo functions
-#if (SW_PLUGIN)
+#if (SW_BACKEND)
void SWFifo_EnterLoop()
{
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.h b/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.h
index 313d54948d..54d1815157 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.h
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWCommandProcessor.h
@@ -34,7 +34,7 @@ void Fifo_EnterLoop();
void Fifo_ExitLoop();
void Fifo_SetRendering(bool bEnabled);
-// Implemented by the Video Plugin
+// Implemented by the Video Backend
void VideoFifo_CheckSwapRequest();
void VideoFifo_CheckSwapRequestAt(u32 xfbAddr, u32 fbWidth, u32 fbHeight);
void VideoFifo_CheckEFBAccess();
@@ -162,7 +162,7 @@ namespace SWCommandProcessor
// for CGPFIFO
void GatherPipeBursted();
void UpdateInterrupts(u64 userdata);
- void UpdateInterruptsFromVideoPlugin(u64 userdata);
+ void UpdateInterruptsFromVideoBackend(u64 userdata);
} // end of namespace SWCommandProcessor
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp
index 016cc339ae..33a6164b01 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.cpp
@@ -140,7 +140,7 @@ void UpdateInterrupts()
void SetToken_OnMainThread(u64 userdata, int cyclesLate)
{
g_bSignalTokenInterrupt = true;
- INFO_LOG(PIXELENGINE, "VIDEO Plugin raises INT_CAUSE_PE_TOKEN (btw, token: %04x)", pereg.token);
+ INFO_LOG(PIXELENGINE, "VIDEO Backend raises INT_CAUSE_PE_TOKEN (btw, token: %04x)", pereg.token);
UpdateInterrupts();
}
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.h b/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.h
index 1bf88c60ee..6a87143e8c 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.h
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWPixelEngine.h
@@ -143,7 +143,7 @@ namespace SWPixelEngine
void Write16(const u16 _iValue, const u32 _iAddress);
void Write32(const u32 _iValue, const u32 _iAddress);
- // gfx plugin support
+ // gfx backend support
void SetToken(const u16 _token, const int _bSetTokenAcknowledge);
void SetFinish(void);
bool AllowIdleSkipping();
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWVideoConfig.h b/Source/Plugins/Plugin_VideoSoftware/Src/SWVideoConfig.h
index 704803f6c6..14eae78b51 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/SWVideoConfig.h
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWVideoConfig.h
@@ -15,8 +15,8 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
-#ifndef _PLUGIN_VIDEOSOFTWARE_CONFIG_H_
-#define _PLUGIN_VIDEOSOFTWARE_CONFIG_H_
+#ifndef _VIDEOSOFTWARE_CONFIG_H_
+#define _VIDEOSOFTWARE_CONFIG_H_
#include "Common.h"
@@ -52,4 +52,4 @@ struct SWVideoConfig : NonCopyable
extern SWVideoConfig g_SWVideoConfig;
-#endif // _PLUGIN_VIDEOSOFTWARE_CONFIG_H_
+#endif // _VIDEOSOFTWARE_CONFIG_H_
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp
index 902ed3c9be..15c7417323 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/SWmain.cpp
@@ -100,7 +100,7 @@ void VideoBackend::Video_Prepare()
{
SWRenderer::Prepare();
- INFO_LOG(VIDEO, "Video plugin initialized.");
+ INFO_LOG(VIDEO, "Video backend initialized.");
}
// Run from the CPU thread (from VideoInterface.cpp)
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfigDialog.h b/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfigDialog.h
index 3302d7c2ed..ef1c823333 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfigDialog.h
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/VideoConfigDialog.h
@@ -15,8 +15,8 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
-#ifndef _PLUGIN_VIDEOSOFTWARE_CONFIG_DIAG_H_
-#define _PLUGIN_VIDEOSOFTWARE_CONFIG_DIAG_H_
+#ifndef _VIDEOSOFTWARE_CONFIG_DIAG_H_
+#define _VIDEOSOFTWARE_CONFIG_DIAG_H_
#include <vector>
#include <string>