49 mOutput =
object.mOutput;
65 std::vector<DXGI_MODE_DESC>& modeDescriptions)
67 modeDescriptions.clear();
77 HRESULT hr =
mOutput->GetDisplayModeList(format, flags, &numModes,
83 modeDescriptions.resize(numModes);
84 hr =
mOutput->GetDisplayModeList(format, flags, &numModes,
85 &modeDescriptions[0]);
98 return DXGI_ERROR_INVALID_CALL;
102 DXGI_MODE_DESC& closest)
106 HRESULT hr =
mOutput->FindClosestMatchingMode(&requested, &closest,
113 return DXGI_ERROR_INVALID_CALL;
DXGI_OUTPUT_DESC const & GetDescription() const
DXGIOutput & operator=(DXGIOutput const &object)
#define CHECK_HR_RETURN_NONE(msg)
HRESULT FindClosestMatchingMode(DXGI_MODE_DESC const &requested, DXGI_MODE_DESC &closest)
IDXGIOutput * GetOutput() const
#define LogError(message)
GLint GLint GLsizei GLint GLenum format
ULONG SafeRelease(T *&object)
HRESULT GetDisplayModes(DXGI_FORMAT format, std::vector< DXGI_MODE_DESC > &modeDescriptions)
typedef UINT(WINAPI *PFNWGLGETGPUIDSAMDPROC)(UINT maxCount
#define CHECK_HR_RETURN(msg, value)
DXGIOutput(DXGIOutput const &object)
DXGI_OUTPUT_DESC mDescription