summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/EfbInterface.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2014-07-08 14:29:26 +0200
committerdegasus <wickmarkus@web.de>2014-07-11 16:07:23 +0200
commit22e1aa5bb4a159d6d66a321f978917614aa36331 (patch)
tree5f1ec329704dd6120cfb5966dba76387ad1bbc2f /Source/Core/VideoBackends/Software/EfbInterface.cpp
parent3ff1c538ee20f59e513640865bab8fb430e70e84 (diff)
mark all local functions as static
Diffstat (limited to 'Source/Core/VideoBackends/Software/EfbInterface.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/EfbInterface.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/Source/Core/VideoBackends/Software/EfbInterface.cpp b/Source/Core/VideoBackends/Software/EfbInterface.cpp
index 8187345d89..fd985f8662 100644
--- a/Source/Core/VideoBackends/Software/EfbInterface.cpp
+++ b/Source/Core/VideoBackends/Software/EfbInterface.cpp
@@ -35,7 +35,7 @@ namespace EfbInterface
p.DoArray(efb, EFB_WIDTH*EFB_HEIGHT*6);
}
- void SetPixelAlphaOnly(u32 offset, u8 a)
+ static void SetPixelAlphaOnly(u32 offset, u8 a)
{
switch (bpmem.zcontrol.pixel_format)
{
@@ -58,7 +58,7 @@ namespace EfbInterface
}
}
- void SetPixelColorOnly(u32 offset, u8 *rgb)
+ static void SetPixelColorOnly(u32 offset, u8 *rgb)
{
switch (bpmem.zcontrol.pixel_format)
{
@@ -98,7 +98,7 @@ namespace EfbInterface
}
}
- void SetPixelAlphaColor(u32 offset, u8 *color)
+ static void SetPixelAlphaColor(u32 offset, u8 *color)
{
switch (bpmem.zcontrol.pixel_format)
{
@@ -139,7 +139,7 @@ namespace EfbInterface
}
}
- void GetPixelColor(u32 offset, u8 *color)
+ static void GetPixelColor(u32 offset, u8 *color)
{
switch (bpmem.zcontrol.pixel_format)
{
@@ -175,7 +175,7 @@ namespace EfbInterface
}
}
- void SetPixelDepth(u32 offset, u32 depth)
+ static void SetPixelDepth(u32 offset, u32 depth)
{
switch (bpmem.zcontrol.pixel_format)
{
@@ -203,7 +203,7 @@ namespace EfbInterface
}
}
- u32 GetPixelDepth(u32 offset)
+ static u32 GetPixelDepth(u32 offset)
{
u32 depth = 0;
@@ -229,7 +229,7 @@ namespace EfbInterface
return depth;
}
- u32 GetSourceFactor(u8 *srcClr, u8 *dstClr, BlendMode::BlendFactor mode)
+ static u32 GetSourceFactor(u8 *srcClr, u8 *dstClr, BlendMode::BlendFactor mode)
{
switch (mode)
{
@@ -270,7 +270,7 @@ namespace EfbInterface
return 0;
}
- u32 GetDestinationFactor(u8 *srcClr, u8 *dstClr, BlendMode::BlendFactor mode)
+ static u32 GetDestinationFactor(u8 *srcClr, u8 *dstClr, BlendMode::BlendFactor mode)
{
switch (mode)
{
@@ -311,7 +311,7 @@ namespace EfbInterface
return 0;
}
- void BlendColor(u8 *srcClr, u8 *dstClr)
+ static void BlendColor(u8 *srcClr, u8 *dstClr)
{
u32 srcFactor = GetSourceFactor(srcClr, dstClr, bpmem.blendmode.srcfactor);
u32 dstFactor = GetDestinationFactor(srcClr, dstClr, bpmem.blendmode.dstfactor);
@@ -333,7 +333,7 @@ namespace EfbInterface
}
}
- void LogicBlend(u32 srcClr, u32 &dstClr, BlendMode::LogicOp op)
+ static void LogicBlend(u32 srcClr, u32 &dstClr, BlendMode::LogicOp op)
{
switch (op)
{
@@ -388,7 +388,7 @@ namespace EfbInterface
}
}
- void SubtractBlend(u8 *srcClr, u8 *dstClr)
+ static void SubtractBlend(u8 *srcClr, u8 *dstClr)
{
for (int i = 0; i < 4; i++)
{