Add the VideoCommon PostProcessing class.

This class loads all the common PP shader configuration options and passes those options through to a inherited class that OpenGL or D3D will have.
Makes it so all the common code for PP shaders is in VideoCommon instead of duplicating the code across each backend.
This commit is contained in:
Ryan Houdek
2014-07-29 11:47:56 -05:00
parent 3a657fe33c
commit 6bdc32c54a
13 changed files with 555 additions and 27 deletions

View File

@ -19,9 +19,7 @@
#include "Common/IniFile.h"
#include "Common/StringUtil.h"
namespace {
void ParseLine(const std::string& line, std::string* keyOut, std::string* valueOut)
void IniFile::ParseLine(const std::string& line, std::string* keyOut, std::string* valueOut)
{
if (line[0] == '#')
return;
@ -40,8 +38,6 @@ void ParseLine(const std::string& line, std::string* keyOut, std::string* valueO
}
}
}
const std::string& IniFile::NULL_STRING = "";
void IniFile::Section::Set(const std::string& key, const std::string& newValue)