Created tool to display the names of the dxgi devices
This commit is contained in:
parent
8da7739728
commit
95f90501e4
4 changed files with 92 additions and 5 deletions
|
|
@ -439,10 +439,11 @@ public:
|
|||
return -1;
|
||||
}
|
||||
|
||||
|
||||
DXGI_ADAPTER_DESC adapter_desc;
|
||||
adapter->GetDesc(&adapter_desc);
|
||||
|
||||
BOOST_LOG(info)
|
||||
<< "Device Description : "sv << adapter_desc.Description << std::endl
|
||||
<< "Device Vendor ID : 0x"sv << util::hex(adapter_desc.VendorId).to_string_view() << std::endl
|
||||
<< "Device Device ID : 0x"sv << util::hex(adapter_desc.DeviceId).to_string_view() << std::endl
|
||||
<< "Device Video Mem : "sv << adapter_desc.DedicatedVideoMemory / 1048576 << " MiB"sv << std::endl
|
||||
|
|
@ -705,4 +706,4 @@ std::shared_ptr<display_t> display() {
|
|||
|
||||
return disp;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue