mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
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
This commit is contained in:
@ -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()
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
@ -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_
|
||||
|
@ -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)
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user