GSdx: FXAA 3.10, page up key activates it

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4828 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gabest11 committed 2011-07-25 11:16:01 +00:00
1 parent 0b09b84526
commit bfbf403bf4
21 files changed
+2169 -35

No files matched your search

+10
View File
@@ -36,6 +36,7 @@ GSRenderer::GSRenderer()
m_vsync = !!theApp.GetConfig("vsync", 0);
m_aa1 = !!theApp.GetConfig("aa1", 0);
m_mipmap = !!theApp.GetConfig("mipmap", 1);
m_fxaa = !!theApp.GetConfig("fxaa", 0);
s_n = 0;
s_dump = !!theApp.GetConfig("dump", 0);
@@ -262,6 +263,11 @@ bool GSRenderer::Merge(int field)
m_dev->Interlace(ds, field ^ field2, mode, tex[1] ? tex[1]->GetScale().y : tex[0]->GetScale().y);
}
if(m_fxaa)
{
m_dev->FXAA();
}
}
return true;
@@ -522,6 +528,10 @@ void GSRenderer::KeyEvent(GSKeyEventData* e)
m_mipmap = !m_mipmap;
printf("GSdx: (Software) mipmapping is now %s.\n", m_mipmap ? "enabled" : "disabled");
return;
case VK_PRIOR:
m_fxaa = !m_fxaa;
printf("GSdx: fxaa is now %s.\n", m_fxaa ? "enabled" : "disabled");
return;
}
#else