2018-01-13 03:53:33 +01:00
|
|
|
#pragma once
|
|
|
|
|
2018-04-17 09:20:18 +02:00
|
|
|
#include "dxvk_hud_renderer.h"
|
2018-01-13 03:53:33 +01:00
|
|
|
|
|
|
|
namespace dxvk::hud {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* \brief Device info display for the HUD
|
|
|
|
*
|
|
|
|
* Displays the name of the device, as well as
|
|
|
|
* the driver version and Vulkan API version.
|
|
|
|
*/
|
|
|
|
class HudDeviceInfo {
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
HudDeviceInfo(const Rc<DxvkDevice>& device);
|
|
|
|
~HudDeviceInfo();
|
|
|
|
|
2018-04-17 09:21:40 +02:00
|
|
|
HudPos render(
|
2018-01-13 03:53:33 +01:00
|
|
|
const Rc<DxvkContext>& context,
|
2018-04-17 09:20:18 +02:00
|
|
|
HudRenderer& renderer,
|
2018-01-13 03:53:33 +01:00
|
|
|
HudPos position);
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
std::string m_deviceName;
|
|
|
|
std::string m_driverVer;
|
|
|
|
std::string m_vulkanVer;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|