mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-07-15 20:02:05 +00:00
[idd] whitespace fixes
This commit is contained in:
@@ -201,7 +201,7 @@ void CIndirectDeviceContext::InitAdapter()
|
|||||||
factory->Release();
|
factory->Release();
|
||||||
|
|
||||||
auto * wrapper = WdfObjectGet_CIndirectDeviceContextWrapper(m_adapter);
|
auto * wrapper = WdfObjectGet_CIndirectDeviceContextWrapper(m_adapter);
|
||||||
wrapper->context = this;
|
wrapper->context = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CIndirectDeviceContext::FinishInit(UINT connectorIndex)
|
void CIndirectDeviceContext::FinishInit(UINT connectorIndex)
|
||||||
@@ -313,7 +313,7 @@ static inline void FillSignalInfo(DISPLAYCONFIG_VIDEO_SIGNAL_INFO & mode, DWORD
|
|||||||
|
|
||||||
mode.AdditionalSignalInfo.vSyncFreqDivider = monitorMode ? 0 : 1;
|
mode.AdditionalSignalInfo.vSyncFreqDivider = monitorMode ? 0 : 1;
|
||||||
mode.AdditionalSignalInfo.videoStandard = 255;
|
mode.AdditionalSignalInfo.videoStandard = 255;
|
||||||
|
|
||||||
mode.vSyncFreq.Numerator = vsync;
|
mode.vSyncFreq.Numerator = vsync;
|
||||||
mode.vSyncFreq.Denominator = 1;
|
mode.vSyncFreq.Denominator = 1;
|
||||||
mode.hSyncFreq.Numerator = vsync * height;
|
mode.hSyncFreq.Numerator = vsync * height;
|
||||||
@@ -554,7 +554,7 @@ bool CIndirectDeviceContext::SetupLGMP(size_t alignSize)
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
m_alignSize = alignSize;
|
m_alignSize = alignSize;
|
||||||
|
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
{
|
{
|
||||||
KVMFR kvmfr = {};
|
KVMFR kvmfr = {};
|
||||||
@@ -970,7 +970,7 @@ void CIndirectDeviceContext::SendCursor(const IDARG_OUT_QUERY_HWCURSOR& info, co
|
|||||||
}
|
}
|
||||||
|
|
||||||
KVMFRCursor * cursor = (KVMFRCursor *)lgmpHostMemPtr(mem);
|
KVMFRCursor * cursor = (KVMFRCursor *)lgmpHostMemPtr(mem);
|
||||||
|
|
||||||
m_cursorVisible = info.IsCursorVisible;
|
m_cursorVisible = info.IsCursorVisible;
|
||||||
uint32_t flags = 0;
|
uint32_t flags = 0;
|
||||||
|
|
||||||
@@ -1102,4 +1102,4 @@ void CIndirectDeviceContext::ResendCursor() const
|
|||||||
DEBUG_ERROR("lgmpHostQueuePost Failed (Pointer): %s", lgmpStatusString(status));
|
DEBUG_ERROR("lgmpHostQueuePost Failed (Pointer): %s", lgmpStatusString(status));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -207,4 +207,4 @@ struct CIndirectDeviceContextWrapper
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
WDF_DECLARE_CONTEXT_TYPE(CIndirectDeviceContextWrapper);
|
WDF_DECLARE_CONTEXT_TYPE(CIndirectDeviceContextWrapper);
|
||||||
|
|||||||
@@ -631,4 +631,4 @@ void CSwapChainProcessor::CursorThread()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ static bool LGIddCanUseIddCx110DDIs(UINT iddCxVersion)
|
|||||||
NTSTATUS LGIddDeviceD0Entry(WDFDEVICE device, WDF_POWER_DEVICE_STATE previousState)
|
NTSTATUS LGIddDeviceD0Entry(WDFDEVICE device, WDF_POWER_DEVICE_STATE previousState)
|
||||||
{
|
{
|
||||||
UNREFERENCED_PARAMETER(previousState);
|
UNREFERENCED_PARAMETER(previousState);
|
||||||
|
|
||||||
auto * wrapper = WdfObjectGet_CIndirectDeviceContextWrapper(device);
|
auto * wrapper = WdfObjectGet_CIndirectDeviceContextWrapper(device);
|
||||||
wrapper->context->InitAdapter();
|
wrapper->context->InitAdapter();
|
||||||
|
|
||||||
@@ -92,7 +92,7 @@ static inline void FillSignalInfo(DISPLAYCONFIG_VIDEO_SIGNAL_INFO & mode, DWORD
|
|||||||
|
|
||||||
mode.AdditionalSignalInfo.vSyncFreqDivider = monitorMode ? 0 : 1;
|
mode.AdditionalSignalInfo.vSyncFreqDivider = monitorMode ? 0 : 1;
|
||||||
mode.AdditionalSignalInfo.videoStandard = 255;
|
mode.AdditionalSignalInfo.videoStandard = 255;
|
||||||
|
|
||||||
mode.vSyncFreq.Numerator = vsync;
|
mode.vSyncFreq.Numerator = vsync;
|
||||||
mode.vSyncFreq.Denominator = 1;
|
mode.vSyncFreq.Denominator = 1;
|
||||||
mode.hSyncFreq.Numerator = vsync * height;
|
mode.hSyncFreq.Numerator = vsync * height;
|
||||||
|
|||||||
Reference in New Issue
Block a user