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,27 +194,38 @@ struct ConfigGeneralExt
}; };
UInt32 desktopResWidth; enum PresentationModel
UInt32 desktopResHeight; {
UInt32 desktopRefRateNumerator; PM_Automatic = 0,
UInt32 desktopRefRateDenominator; PM_Discard,
UInt32 desktopBitDepth; PM_Sequential,
UInt32 deframerSize; PM_FlipDiscard,
UInt32 imageXScaleFactor; PM_FlipSequential
UInt32 imageYScaleFactor; };
UInt32 cursorScaleFactor;
UInt32 displayROIPosX;
UInt32 displayROIPosY; UInt32 desktopResWidth;
UInt32 displayROISizeX; UInt32 desktopResHeight;
UInt32 displayROISizeY; UInt32 desktopRefRateNumerator;
Environment environment; UInt32 desktopRefRateDenominator;
UInt32 windowedAttributes; UInt32 desktopBitDepth;
UInt32 fullscreenAttributes; UInt32 deframerSize;
Resampling resampling; UInt32 imageXScaleFactor;
UInt32 fpsLimitNumerator; UInt32 imageYScaleFactor;
UInt32 fpsLimitDenominator; UInt32 cursorScaleFactor;
bool freeMouse; UInt32 displayROIPosX;
bool enableGDIHooking; UInt32 displayROIPosY;
UInt32 displayROISizeX;
UInt32 displayROISizeY;
Environment environment;
UInt32 windowedAttributes;
UInt32 fullscreenAttributes;
Resampling resampling;
PresentationModel presentationModel;
UInt32 fpsLimitNumerator;
UInt32 fpsLimitDenominator;
bool freeMouse;
bool enableGDIHooking;
ConfigGeneralExt (): ConfigGeneralExt ():
desktopResWidth (0), desktopResWidth (0),
@ -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.