Make un-buffered rendering much smarter, removing flicker.

This turns it into a very viable option for many games. You do lose some FX
but it can as a result even be used as a workaround for the massive glow
in Wipeout...
This commit is contained in:
Henrik Rydgard committed 2013-03-03 13:00:21 +01:00
1 parent fa11e4971b
commit bc15617392
17 files changed
+149 -64

No files matched your search

+7 -4
View File
@@ -401,6 +401,8 @@ namespace MainWindow
case ID_OPTIONS_BUFFEREDRENDERING:
g_Config.bBufferedRendering = !g_Config.bBufferedRendering;
UpdateMenus();
if (gpu)
gpu->Resized(); // easy way to force a clear...
break;
case ID_OPTIONS_SHOWDEBUGSTATISTICS:
@@ -416,7 +418,8 @@ namespace MainWindow
case ID_OPTIONS_STRETCHDISPLAY:
g_Config.bStretchToDisplay = !g_Config.bStretchToDisplay;
UpdateMenus();
gpu->Resized(); // easy way to force a clear...
if (gpu)
gpu->Resized(); // easy way to force a clear...
break;
case ID_OPTIONS_FRAMESKIP:
@@ -443,12 +446,12 @@ namespace MainWindow
break;
case ID_DEBUG_DUMPNEXTFRAME:
gpu->DumpNextFrame();
if (gpu)
gpu->DumpNextFrame();
break;
case ID_DEBUG_LOADMAPFILE:
if (W32Util::BrowseForFileName(true, hWnd, "Load .MAP",0,"Maps\0*.map\0All files\0*.*\0\0","map",fn))
{
if (W32Util::BrowseForFileName(true, hWnd, "Load .MAP",0,"Maps\0*.map\0All files\0*.*\0\0","map",fn)) {
symbolMap.LoadSymbolMap(fn.c_str());
// HLE_PatchFunctions();
for (int i=0; i<numCPUs; i++)