mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Experimental GPU overclock
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
namespace NvAPIWrapper.Native.Interfaces.Mosaic
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface for all DisplaySettings structures
|
||||
/// </summary>
|
||||
public interface IDisplaySettings
|
||||
{
|
||||
/// <summary>
|
||||
/// Bits per pixel
|
||||
/// </summary>
|
||||
int BitsPerPixel { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Display frequency
|
||||
/// </summary>
|
||||
int Frequency { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Display frequency in x1k
|
||||
/// </summary>
|
||||
uint FrequencyInMillihertz { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Per-display height
|
||||
/// </summary>
|
||||
int Height { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Per-display width
|
||||
/// </summary>
|
||||
int Width { get; }
|
||||
}
|
||||
}
|
||||
58
app/NvAPIWrapper/Native/Interfaces/Mosaic/IGridTopology.cs
Normal file
58
app/NvAPIWrapper/Native/Interfaces/Mosaic/IGridTopology.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using System.Collections.Generic;
|
||||
using NvAPIWrapper.Native.Mosaic.Structures;
|
||||
|
||||
namespace NvAPIWrapper.Native.Interfaces.Mosaic
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface for all GridTopology structures
|
||||
/// </summary>
|
||||
public interface IGridTopology
|
||||
{
|
||||
/// <summary>
|
||||
/// Enable SLI acceleration on the primary display while in single-wide mode (For Immersive Gaming only). Will not be
|
||||
/// persisted. Value undefined on get.
|
||||
/// </summary>
|
||||
bool AcceleratePrimaryDisplay { get; }
|
||||
|
||||
/// <summary>
|
||||
/// When enabling and doing the mode-set, do we switch to the bezel-corrected resolution
|
||||
/// </summary>
|
||||
bool ApplyWithBezelCorrectedResolution { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Enable as Base Mosaic (Panoramic) instead of Mosaic SLI (for NVS and Quadro-boards only)
|
||||
/// </summary>
|
||||
bool BaseMosaicPanoramic { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of columns
|
||||
/// </summary>
|
||||
int Columns { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Topology displays; Displays are done as [(row * columns) + column]
|
||||
/// </summary>
|
||||
IEnumerable<IGridTopologyDisplay> Displays { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Display settings
|
||||
/// </summary>
|
||||
DisplaySettingsV1 DisplaySettings { get; }
|
||||
|
||||
/// <summary>
|
||||
/// If necessary, reloading the driver is permitted (for Vista and above only). Will not be persisted. Value undefined
|
||||
/// on get.
|
||||
/// </summary>
|
||||
bool DriverReloadAllowed { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Enable as immersive gaming instead of Mosaic SLI (for Quadro-boards only)
|
||||
/// </summary>
|
||||
bool ImmersiveGaming { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of rows
|
||||
/// </summary>
|
||||
int Rows { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using NvAPIWrapper.Native.Display;
|
||||
using NvAPIWrapper.Native.Mosaic;
|
||||
|
||||
namespace NvAPIWrapper.Native.Interfaces.Mosaic
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface for all GridTopologyDisplay structures
|
||||
/// </summary>
|
||||
public interface IGridTopologyDisplay
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the clone group identification; Reserved, must be 0
|
||||
/// </summary>
|
||||
uint CloneGroup { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the display identification
|
||||
/// </summary>
|
||||
uint DisplayId { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the horizontal overlap (+overlap, -gap)
|
||||
/// </summary>
|
||||
int OverlapX { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the vertical overlap (+overlap, -gap)
|
||||
/// </summary>
|
||||
int OverlapY { get; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets the type of display pixel shift
|
||||
/// </summary>
|
||||
PixelShiftType PixelShiftType { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the rotation of display
|
||||
/// </summary>
|
||||
Rotate Rotation { get; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
using NvAPIWrapper.Native.Mosaic.Structures;
|
||||
|
||||
namespace NvAPIWrapper.Native.Interfaces.Mosaic
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface for all SupportedTopologiesInfo structures
|
||||
/// </summary>
|
||||
public interface ISupportedTopologiesInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// List of per display settings possible
|
||||
/// </summary>
|
||||
IEnumerable<IDisplaySettings> DisplaySettings { get; }
|
||||
|
||||
/// <summary>
|
||||
/// List of supported topologies with only brief details
|
||||
/// </summary>
|
||||
IEnumerable<TopologyBrief> TopologyBriefs { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user