mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 03:45:45 -04:00
FrontendCommon: Add GPU enumeration methods to D3D11/Vulkan host displays
This commit is contained in:
@ -9,6 +9,8 @@
|
||||
#include <dxgi.h>
|
||||
#include <memory>
|
||||
#include <wrl/client.h>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
namespace FrontendCommon {
|
||||
|
||||
@ -60,6 +62,8 @@ public:
|
||||
void RenderSoftwareCursor(s32 left, s32 top, s32 width, s32 height, HostDisplayTexture* texture_handle);
|
||||
void EndRenderAndPresent();
|
||||
|
||||
static std::vector<std::string> EnumerateAdapterNames();
|
||||
|
||||
private:
|
||||
static constexpr u32 DISPLAY_UNIFORM_BUFFER_SIZE = 16;
|
||||
|
||||
|
Reference in New Issue
Block a user