1
0
mirror of https://github.com/dege-diosg/dgVoodoo2 synced 2024-07-08 20:51:02 +02:00

Update to v2.79

This commit is contained in:
Dege 2022-06-16 14:42:29 +02:00
parent 8ee0f219dc
commit ffda187459
9 changed files with 54 additions and 42 deletions

Binary file not shown.

View File

@ -194,6 +194,16 @@ struct ConfigGeneralExt
}; };
enum PresentationModel
{
PM_Automatic = 0,
PM_Discard,
PM_Sequential,
PM_FlipDiscard,
PM_FlipSequential
};
UInt32 desktopResWidth; UInt32 desktopResWidth;
UInt32 desktopResHeight; UInt32 desktopResHeight;
UInt32 desktopRefRateNumerator; UInt32 desktopRefRateNumerator;
@ -211,6 +221,7 @@ struct ConfigGeneralExt
UInt32 windowedAttributes; UInt32 windowedAttributes;
UInt32 fullscreenAttributes; UInt32 fullscreenAttributes;
Resampling resampling; Resampling resampling;
PresentationModel presentationModel;
UInt32 fpsLimitNumerator; UInt32 fpsLimitNumerator;
UInt32 fpsLimitDenominator; UInt32 fpsLimitDenominator;
bool freeMouse; bool freeMouse;
@ -234,6 +245,7 @@ struct ConfigGeneralExt
windowedAttributes (WA_DefaultAttributes), windowedAttributes (WA_DefaultAttributes),
fullscreenAttributes (FSA_DefaultAttributes), fullscreenAttributes (FSA_DefaultAttributes),
resampling (RS_Bilinear), resampling (RS_Bilinear),
presentationModel (PM_Automatic),
fpsLimitNumerator (0), fpsLimitNumerator (0),
fpsLimitDenominator (0), fpsLimitDenominator (0),
freeMouse (false), freeMouse (false),
@ -524,12 +536,12 @@ struct ConfigDirectXExt
UInt32 enumeratedResolutionBitDepths; UInt32 enumeratedResolutionBitDepths;
UInt32 maxVSConstRegisters; UInt32 maxVSConstRegisters;
UInt32 nPatchTesselationLevel; UInt32 nPatchTesselationLevel;
UInt32 renderingOutputEnablingMask;
bool msD3DDeviceNames; bool msD3DDeviceNames;
bool rtTexturesForceScaleAndMSAA; bool rtTexturesForceScaleAndMSAA;
bool smoothedDepthSampling; bool smoothedDepthSampling;
bool deferredScreenModeSwitch; bool deferredScreenModeSwitch;
bool primarySurfaceBatchedUpdate; bool primarySurfaceBatchedUpdate;
bool enableSpecializedShaders;
ConfigDirectXExt () : ConfigDirectXExt () :
adapterIDType (AIDT_Default), adapterIDType (AIDT_Default),
@ -546,12 +558,12 @@ struct ConfigDirectXExt
enumeratedResolutionBitDepths (ERBD_All), enumeratedResolutionBitDepths (ERBD_All),
maxVSConstRegisters (256), maxVSConstRegisters (256),
nPatchTesselationLevel (0), nPatchTesselationLevel (0),
renderingOutputEnablingMask (0xFFFFFFFF),
msD3DDeviceNames (false), msD3DDeviceNames (false),
rtTexturesForceScaleAndMSAA (true), rtTexturesForceScaleAndMSAA (true),
smoothedDepthSampling (true), smoothedDepthSampling (true),
deferredScreenModeSwitch (false), deferredScreenModeSwitch (false),
primarySurfaceBatchedUpdate (false), primarySurfaceBatchedUpdate (false)
enableSpecializedShaders (true)
{ {
memset (extraResolutions, 0, sizeof (extraResolutions)); memset (extraResolutions, 0, sizeof (extraResolutions));
} }

Binary file not shown.